ReactOS 0.4.16-dev-306-g647d351
|
#include "precomp.h"
Go to the source code of this file.
Functions | |
static void | xsltFixImportedCompSteps (xsltStylesheetPtr master, xsltStylesheetPtr style) |
int | xsltParseStylesheetImport (xsltStylesheetPtr style, xmlNodePtr cur) |
int | xsltParseStylesheetInclude (xsltStylesheetPtr style, xmlNodePtr cur) |
xsltStylesheetPtr | xsltNextImport (xsltStylesheetPtr cur) |
int | xsltNeedElemSpaceHandling (xsltTransformContextPtr ctxt) |
int | xsltFindElemSpaceHandling (xsltTransformContextPtr ctxt, xmlNodePtr node) |
: the template name | |
xsltFindTemplate: @ctxt: an XSLT transformation context @nameURI: the template name URI Finds the named template, apply import precedence rule. REVISIT TODO: We'll change the nameURI fields of templates to be in the string dict, so if the specified @nameURI is in the same dict, then use pointer comparison. Check if this can be done in a sane way. Maybe this function is not needed internally at transformation-time if we hard-wire the called templates to the caller. Returns the xsltTemplatePtr or NULL if not found | |
xsltTemplatePtr | xsltFindTemplate (xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *nameURI) |
int xsltFindElemSpaceHandling | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | node | ||
) |
xsltFindElemSpaceHandling: @ctxt: an XSLT transformation context @node: an XML node
Find strip-space or preserve-space information 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.
Definition at line 303 of file imports.c.
Referenced by xsltApplyStripSpaces().
xsltTemplatePtr xsltFindTemplate | ( | xsltTransformContextPtr | ctxt, |
const xmlChar * | name, | ||
const xmlChar * | nameURI | ||
) |
Definition at line 357 of file imports.c.
Referenced by xsltCallTemplate().
|
static |
xsltFixImportedCompSteps: @master: the "master" stylesheet @style: the stylesheet being imported by the master
normalize the comp steps for the stylesheet being imported by the master, together with any imports within that.
Definition at line 28 of file imports.c.
Referenced by xsltFixImportedCompSteps(), and xsltParseStylesheetImport().
int xsltNeedElemSpaceHandling | ( | xsltTransformContextPtr | ctxt | ) |
xsltNeedElemSpaceHandling: @ctxt: an XSLT transformation context
Checks whether that stylesheet requires white-space stripping
Returns 1 if space should be stripped, 0 if not
Definition at line 276 of file imports.c.
Referenced by xsltApplyStylesheetInternal(), and xsltLoadDocument().
xsltStylesheetPtr xsltNextImport | ( | xsltStylesheetPtr | cur | ) |
xsltNextImport: @cur: the current XSLT stylesheet
Find the next stylesheet in import precedence.
Returns the next stylesheet or NULL if it was the last one
Definition at line 251 of file imports.c.
Referenced by xsltApplySequenceConstructor(), xsltCountKeys(), xsltDecimalFormatGetByName(), xsltDecimalFormatGetByQName(), xsltEvalGlobalVariables(), xsltFindElemSpaceHandling(), xsltFindTemplate(), xsltGetNamespace(), xsltGetTemplate(), xsltInitAllDocKeys(), xsltInitCtxtExts(), xsltInitCtxtKeys(), xsltInitDocKeyTable(), xsltNeedElemSpaceHandling(), xsltProcessUserParamInternal(), xsltResolveAttrSet(), xsltResolveStylesheetAttributeSet(), xsltResolveUseAttrSets(), and xsltStyleGetExtData().
int xsltParseStylesheetImport | ( | xsltStylesheetPtr | style, |
xmlNodePtr | cur | ||
) |
xsltParseStylesheetImport: @style: the XSLT stylesheet @cur: the import element
parse an XSLT stylesheet import element
Returns 0 in case of success -1 in case of failure.
Definition at line 49 of file imports.c.
Referenced by xsltParseStylesheetTop().
int xsltParseStylesheetInclude | ( | xsltStylesheetPtr | style, |
xmlNodePtr | cur | ||
) |
xsltParseStylesheetInclude: @style: the XSLT stylesheet @cur: the include node
parse an XSLT stylesheet include element
Returns 0 in case of success -1 in case of failure
Definition at line 147 of file imports.c.
Referenced by xsltParseStylesheetTop().