ReactOS 0.4.16-dev-1025-gd3456f5
|
Go to the source code of this file.
Typedefs | |
typedef struct _xsltCompMatch | xsltCompMatch |
typedef xsltCompMatch * | xsltCompMatchPtr |
typedef struct _xsltCompMatch xsltCompMatch |
typedef xsltCompMatch* xsltCompMatchPtr |
XSLTPUBFUN int XSLTCALL xsltAddTemplate | ( | xsltStylesheetPtr | style, |
xsltTemplatePtr | cur, | ||
const xmlChar * | mode, | ||
const xmlChar * | modeURI | ||
) |
xsltAddTemplate: @style: an XSLT stylesheet @cur: an XSLT template @mode: the mode name or NULL @modeURI: the mode URI or NULL
Register the XSLT pattern associated to @cur
Returns -1 in case of error, 0 otherwise
Definition at line 2016 of file pattern.c.
Referenced by xsltParseStylesheetProcess(), and xsltParseStylesheetTemplate().
XSLTPUBFUN void XSLTCALL xsltCleanupTemplates | ( | xsltStylesheetPtr style | ATTRIBUTE_UNUSED | ) |
xsltCleanupTemplates: @style: an XSLT stylesheet
Cleanup the state of the templates used by the stylesheet and the ones it imports.
Definition at line 2517 of file pattern.c.
Referenced by xsltApplyStylesheetInternal().
XSLTPUBFUN xsltCompMatchPtr XSLTCALL xsltCompilePattern | ( | const xmlChar * | pattern, |
xmlDocPtr | doc, | ||
xmlNodePtr | node, | ||
xsltStylesheetPtr | style, | ||
xsltTransformContextPtr | runtime | ||
) |
xsltCompilePattern: @pattern: an XSLT pattern @doc: the containing document @node: the containing element @style: the stylesheet @runtime: the transformation context, if done at run-time
Compile the XSLT pattern and generates a list of precompiled form suitable for fast matching.
[1] Pattern ::= LocationPathPattern | Pattern '|' LocationPathPattern
Returns the generated pattern list or NULL in case of failure
Definition at line 1992 of file pattern.c.
Referenced by xsltNumberComp().
XSLTPUBFUN void XSLTCALL xsltCompMatchClearCache | ( | xsltTransformContextPtr | ctxt, |
xsltCompMatchPtr | comp | ||
) |
xsltCompMatchClearCache: @ctxt: a XSLT process context @comp: the precompiled pattern list
Clear pattern match cache.
Definition at line 1144 of file pattern.c.
Referenced by xsltNumberFormat().
XSLTPUBFUN void XSLTCALL xsltFreeCompMatchList | ( | xsltCompMatchPtr | comp | ) |
xsltFreeCompMatchList: @comp: an XSLT comp list
Free up the memory allocated by all the elements of @comp
Definition at line 192 of file pattern.c.
Referenced by xsltCompilePatternInternal(), xsltFreeCompMatchListEntry(), xsltFreeStylePreComp(), and xsltFreeTemplateHashes().
XSLTPUBFUN void XSLTCALL xsltFreeTemplateHashes | ( | xsltStylesheetPtr | style | ) |
xsltFreeTemplateHashes: @style: an XSLT stylesheet
Free up the memory used by xsltAddTemplate/xsltGetTemplate mechanism
Definition at line 2527 of file pattern.c.
Referenced by xsltFreeStylesheet().
XSLTPUBFUN xsltTemplatePtr XSLTCALL xsltGetTemplate | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | node, | ||
xsltStylesheetPtr | style | ||
) |
xsltGetTemplate: @ctxt: a XSLT process context @node: the node being processed @style: the current style
Finds the template applying to this node, if @style is non-NULL it means one needs to look for the next imported template in scope.
Returns the xsltTemplatePtr or NULL if not found
Definition at line 2259 of file pattern.c.
Referenced by xsltApplyImports(), xsltDefaultProcessOneNode(), and xsltProcessOneNode().
XSLTPUBFUN void XSLTCALL xsltNormalizeCompSteps | ( | void * | payload, |
void * | data, | ||
const xmlChar * | name | ||
) |
XSLTPUBFUN int XSLTCALL xsltTestCompMatchList | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | node, | ||
xsltCompMatchPtr | comp | ||
) |
xsltTestCompMatchList: @ctxt: a XSLT process context @node: a node @comp: the precompiled pattern list
Test whether the node matches one of the patterns in the list
Returns 1 if it matches, 0 if it doesn't and -1 in case of failure
Definition at line 1121 of file pattern.c.
Referenced by xsltNumberFormatGetAnyLevel(), xsltNumberFormatGetMultipleLevel(), and xsltTestCompMatchCount().