![]() | ![]() | ![]() | Gnome XSLT Library Reference Manual | ![]() |
---|
imports —
#define XSLT_GET_IMPORT_PTR (res, style, name) #define XSLT_GET_IMPORT_INT (res, style, name) int xsltParseStylesheetImport (xsltStylesheetPtr style,xmlNodePtr cur); int xsltParseStylesheetInclude (xsltStylesheetPtr style,xmlNodePtr cur); xsltStylesheetPtr xsltNextImport (xsltStylesheetPtr style); int xsltNeedElemSpaceHandling (xsltTransformContextPtr ctxt); int xsltFindElemSpaceHandling (xsltTransformContextPtr ctxt,xmlNodePtr node); xsltTemplatePtr xsltFindTemplate (xsltTransformContextPtr ctxt, constxmlChar *name, constxmlChar *nameURI);
#define XSLT_GET_IMPORT_PTR(res, style, name)
A macro to import pointers from the stylesheet cascading order.
res : | |
style : | |
name : |
#define XSLT_GET_IMPORT_INT(res, style, name)
A macro to import intergers from the stylesheet cascading order.
res : | |
style : | |
name : |
int xsltParseStylesheetImport (xsltStylesheetPtr style,xmlNodePtr cur);
parse an XSLT stylesheet import element
style : | the XSLT stylesheet |
cur : | the import element |
Returns : | 0 in case of success -1 in case of failure. |
int xsltParseStylesheetInclude (xsltStylesheetPtr style,xmlNodePtr cur);
parse an XSLT stylesheet include element
style : | the XSLT stylesheet |
cur : | the include node |
Returns : | 0 in case of success -1 in case of failure |
xsltStylesheetPtr xsltNextImport (xsltStylesheetPtr style);
Find the next stylesheet in import precedence.
style : | |
Returns : | the next stylesheet or NULL if it was the last one |
int xsltNeedElemSpaceHandling (xsltTransformContextPtr ctxt);
Checks whether that stylesheet requires white-space stripping
ctxt : | an XSLT transformation context |
Returns : | 1 if space should be stripped, 0 if not |
int xsltFindElemSpaceHandling (xsltTransformContextPtr ctxt,xmlNodePtr node);
Find strip-space or preserve-space informations for an element respect the import precedence or the wildcards
ctxt : | an XSLT transformation context |
node : | an XML node |
Returns : | 1 if space should be stripped, 0 if not, and 2 if everything should be CDTATA wrapped. |
xsltTemplatePtr xsltFindTemplate (xsltTransformContextPtr ctxt, constxmlChar *name, constxmlChar *nameURI);
Finds the named template, apply import precedence rule.
ctxt : | an XSLT transformation context |
name : | the template name |
nameURI : | the template name URI |
Returns : | the xsltTemplatePtr or NULL if not found |
<< attributes | extensions >> |