transform

Name

transform -- 

Synopsis



xmlDocPtr   xsltApplyStylesheet             (xsltStylesheetPtr style,
                                             xmlDocPtr doc);
void        xsltApplyOneTemplate            (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNodePtr list);

Description

Details

xsltApplyStylesheet ()

xmlDocPtr   xsltApplyStylesheet             (xsltStylesheetPtr style,
                                             xmlDocPtr doc);

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
Returns :the result document or NULL in case of error


xsltApplyOneTemplate ()

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

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