Gnome XSLT Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
int xsltAddTemplate (xsltStylesheetPtr style, xsltTemplatePtr cur); xsltTemplatePtr xsltGetTemplate (xsltStylesheetPtr style, |
int xsltAddTemplate (xsltStylesheetPtr style, xsltTemplatePtr cur); |
Register the XSLT pattern associated to cur
style : | an XSLT stylesheet |
cur : | an XSLT template |
Returns : | -1 in case of error, 0 otherwise |
xsltTemplatePtr xsltGetTemplate (xsltStylesheetPtr style, |
Finds the template applying to this node
style : | an XSLT stylesheet |
node : | an XML Node |
Returns : | the xsltTemplatePtr or NULL if not found |
void xsltFreeTemplateHashes (xsltStylesheetPtr style); |
Free up the memory used by xsltAddTemplate/xsltGetTemplate mechanism
style : | an XSLT stylesheet |
xsltTemplatePtr xsltFindTemplate (xsltStylesheetPtr style, const |
Finds the named template.
style : | an XSLT stylesheet |
name : | the template name |
nameURI : | the template name URI |
Returns : | the xsltTemplatePtr or NULL if not found |