|
Eneboo - Documentación para desarrolladores
|
Ir al código fuente de este archivo.
'defines' | |
| #define | XSLT_GET_IMPORT_PTR(res, style, name) |
| #define | XSLT_GET_IMPORT_INT(res, style, name) |
Funciones | |
| XSLTPUBFUN int XSLTCALL | xsltParseStylesheetImport (xsltStylesheetPtr style, xmlNodePtr cur) |
| XSLTPUBFUN int XSLTCALL | xsltParseStylesheetInclude (xsltStylesheetPtr style, xmlNodePtr cur) |
| XSLTPUBFUN xsltStylesheetPtr XSLTCALL | xsltNextImport (xsltStylesheetPtr style) |
| XSLTPUBFUN int XSLTCALL | xsltNeedElemSpaceHandling (xsltTransformContextPtr ctxt) |
| XSLTPUBFUN int XSLTCALL | xsltFindElemSpaceHandling (xsltTransformContextPtr ctxt, xmlNodePtr node) |
| XSLTPUBFUN xsltTemplatePtr XSLTCALL | xsltFindTemplate (xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *nameURI) |
| #define XSLT_GET_IMPORT_INT | ( | res, | |
| style, | |||
| name | |||
| ) |
{ \
xsltStylesheetPtr st = style; \
res = -1; \
while (st != NULL) { \
if (st->name != -1) { res = st->name; break; } \
st = xsltNextImport(st); \
}}
XSLT_GET_IMPORT_INT:
A macro to import intergers from the stylesheet cascading order.
| #define XSLT_GET_IMPORT_PTR | ( | res, | |
| style, | |||
| name | |||
| ) |
{ \
xsltStylesheetPtr st = style; \
res = NULL; \
while (st != NULL) { \
if (st->name != NULL) { res = st->name; break; } \
st = xsltNextImport(st); \
}}
XSLT_GET_IMPORT_PTR:
A macro to import pointers from the stylesheet cascading order.
| XSLTPUBFUN int XSLTCALL xsltFindElemSpaceHandling | ( | xsltTransformContextPtr | ctxt, |
| xmlNodePtr | node | ||
| ) |
xsltFindElemSpaceHandling: : an XSLT transformation context : an XML node
Find strip-space or preserve-space informations for an element respect the import precedence or the wildcards
Returns 1 if space should be stripped, 0 if not, and 2 if everything should be CDTATA wrapped.
| XSLTPUBFUN xsltTemplatePtr XSLTCALL xsltFindTemplate | ( | xsltTransformContextPtr | ctxt, |
| const xmlChar * | name, | ||
| const xmlChar * | nameURI | ||
| ) |
| XSLTPUBFUN int XSLTCALL xsltNeedElemSpaceHandling | ( | xsltTransformContextPtr | ctxt | ) |
xsltNeedElemSpaceHandling: : an XSLT transformation context
Checks whether that stylesheet requires white-space stripping
Returns 1 if space should be stripped, 0 if not
| XSLTPUBFUN xsltStylesheetPtr XSLTCALL xsltNextImport | ( | xsltStylesheetPtr | cur | ) |
xsltNextImport: : the current XSLT stylesheet
Find the next stylesheet in import precedence.
Returns the next stylesheet or NULL if it was the last one
| XSLTPUBFUN int XSLTCALL xsltParseStylesheetImport | ( | xsltStylesheetPtr | style, |
| xmlNodePtr | cur | ||
| ) |
xsltParseStylesheetImport: : the XSLT stylesheet : the import element
parse an XSLT stylesheet import element
Returns 0 in case of success -1 in case of failure.
| XSLTPUBFUN int XSLTCALL xsltParseStylesheetInclude | ( | xsltStylesheetPtr | style, |
| xmlNodePtr | cur | ||
| ) |
xsltParseStylesheetInclude: : the XSLT stylesheet : the include node
parse an XSLT stylesheet include element
Returns 0 in case of success -1 in case of failure
1.7.4