transform

Name

transform -- 

Synopsis



xmlDocPtr   xsltApplyStylesheet             (xsltStylesheetPtr style,
                                             xmlDocPtr doc,
                                             const char **params);
void        xsltApplyOneTemplate            (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr list,
                                             int real);
void        xsltDocumentElem                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltSort                        (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltCopy                        (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltText                        (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltElement                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltComment                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltAttribute                   (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltProcessingInstruction       (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltCopyOf                      (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltValueOf                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltNumber                      (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltApplyImports                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltCallTemplate                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltApplyTemplates              (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltChoose                      (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltIf                          (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);
void        xsltForEach                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Description

Details

xsltApplyStylesheet ()

xmlDocPtr   xsltApplyStylesheet             (xsltStylesheetPtr style,
                                             xmlDocPtr doc,
                                             const char **params);

Apply the stylesheet to the document NOTE: This may lead to a non-wellformed output XML wise !

style : a parsed XSLT stylesheet
doc : a parsed XML document
params : a NULL terminated arry of parameters names/values tuples
Returns :the result document or NULL in case of error


xsltApplyOneTemplate ()

void        xsltApplyOneTemplate            (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr list,
                                             int real);

Process the apply-templates node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
list : the template replacement nodelist
real : is this a real template processing


xsltDocumentElem ()

void        xsltDocumentElem                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process an XSLT-1.1 document element

ctxt : an XSLT processing context
node : The current node
inst : the instruction in the stylesheet
comp : precomputed informations


xsltSort ()

void        xsltSort                        (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

function attached to xslt:sort nodes, but this should not be called directly

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt sort node
comp : precomputed informations


xsltCopy ()

void        xsltCopy                        (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt copy node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt copy node
comp : precomputed informations


xsltText ()

void        xsltText                        (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt text node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt text node
comp : precomputed informations


xsltElement ()

void        xsltElement                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt element node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt element node
comp : precomputed informations


xsltComment ()

void        xsltComment                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt comment node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt comment node
comp : precomputed informations


xsltAttribute ()

void        xsltAttribute                   (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt attribute node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt attribute node
comp : precomputed informations


xsltProcessingInstruction ()

void        xsltProcessingInstruction       (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt processing-instruction node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt processing-instruction node
comp : precomputed informations


xsltCopyOf ()

void        xsltCopyOf                      (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt copy-of node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt copy-of node
comp : precomputed informations


xsltValueOf ()

void        xsltValueOf                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt value-of node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt value-of node
comp : precomputed informations


xsltNumber ()

void        xsltNumber                      (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt number node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt number node
comp : precomputed informations


xsltApplyImports ()

void        xsltApplyImports                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt apply-imports node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt apply-imports node
comp : precomputed informations


xsltCallTemplate ()

void        xsltCallTemplate                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt call-template node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt call-template node
comp : precomputed informations


xsltApplyTemplates ()

void        xsltApplyTemplates              (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the apply-templates node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the apply-templates node
comp : precomputed informations


xsltChoose ()

void        xsltChoose                      (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt choose node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt choose node
comp : precomputed informations


xsltIf ()

void        xsltIf                          (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt if node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt if node
comp : precomputed informations


xsltForEach ()

void        xsltForEach                     (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr inst,
                                             xsltStylePreCompPtr comp);

Process the xslt for-each node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt for-each node
comp : precomputed informations