Go to the source code of this file.
◆ XSLT_GET_IMPORT_INT
Value:{ \
xsltStylesheetPtr st =
style; \
res = -1; \
if (st->name != -1) {
res = st->name;
break; } \
}}
XSLTPUBFUN xsltStylesheetPtr XSLTCALL xsltNextImport(xsltStylesheetPtr style)
XSLT_GET_IMPORT_INT:
A macro to import intergers from the stylesheet cascading order.
Definition at line 40 of file imports.h.
◆ XSLT_GET_IMPORT_PTR
Value:{ \
xsltStylesheetPtr st =
style; \
}}
XSLTPUBFUN xsltStylesheetPtr XSLTCALL xsltNextImport(xsltStylesheetPtr style)
XSLT_GET_IMPORT_PTR:
A macro to import pointers from the stylesheet cascading order.
Definition at line 27 of file imports.h.
◆ xsltFindElemSpaceHandling()
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.
329 if (
style->stripAll == 1)
331 if (
style->stripAll == -1)
xsltStylesheetPtr xsltNextImport(xsltStylesheetPtr cur)
XMLPUBFUN void *XMLCALL xmlHashLookup2(xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2)
XMLPUBFUN int XMLCALL xmlStrEqual(const xmlChar *str1, const xmlChar *str2)
Referenced by xsltApplyStripSpaces().
◆ xsltFindTemplate()
Definition at line 357 of file imports.c.
xsltStylesheetPtr xsltNextImport(xsltStylesheetPtr cur)
XMLPUBFUN void *XMLCALL xmlHashLookup2(xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2)
xsltTemplate * xsltTemplatePtr
Referenced by xsltCallTemplate().
◆ xsltNeedElemSpaceHandling()
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.
xsltStylesheetPtr xsltNextImport(xsltStylesheetPtr cur)
Referenced by xsltApplyStylesheetInternal(), and xsltLoadDocument().
◆ xsltNextImport()
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.
255 return(
cur->imports);
Referenced by xsltApplySequenceConstructor(), xsltCountKeys(), xsltDecimalFormatGetByName(), xsltDecimalFormatGetByQName(), xsltEvalGlobalVariables(), xsltFindElemSpaceHandling(), xsltFindTemplate(), xsltGetNamespace(), xsltGetTemplate(), xsltInitAllDocKeys(), xsltInitCtxtExts(), xsltInitCtxtKeys(), xsltInitDocKeyTable(), xsltNeedElemSpaceHandling(), xsltProcessUserParamInternal(), xsltResolveAttrSet(), xsltResolveStylesheetAttributeSet(), xsltResolveUseAttrSets(), and xsltStyleGetExtData().
◆ xsltParseStylesheetImport()
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.
64 "xsl:import : missing href attribute\n");
72 "xsl:import : invalid URI reference %s\n", uriRef);
82 "xsl:import : recursion detected on imported URL %s\n", URI);
99 "xsl:import: read rights for %s denied\n",
107 if (
import ==
NULL) {
109 "xsl:import : unable to load %s\n", URI);
xsltStylesheetPtr xsltParseStylesheetImportedDoc(xmlDocPtr doc, xsltStylesheetPtr parentStyle)
static void xsltFixImportedCompSteps(xsltStylesheetPtr master, xsltStylesheetPtr style)
xsltDocLoaderFunc xsltDocDefaultLoader
int xsltCheckRead(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const xmlChar *URL)
XMLPUBFUN xmlChar *XMLCALL xmlNodeGetBase(const xmlDoc *doc, const xmlNode *cur)
#define XSLT_PARSE_OPTIONS
XMLPUBFUN xmlChar *XMLCALL xmlBuildURI(const xmlChar *URI, const xmlChar *base)
XMLPUBFUN void XMLCALL xmlFreeDoc(xmlDocPtr cur)
XMLPUBVAR xmlFreeFunc xmlFree
XMLPUBFUN xmlChar *XMLCALL xmlGetNsProp(const xmlNode *node, const xmlChar *name, const xmlChar *nameSpace)
xsltSecurityPrefsPtr xsltGetDefaultSecurityPrefs(void)
XMLPUBFUN int XMLCALL xmlStrEqual(const xmlChar *str1, const xmlChar *str2)
void xsltTransformError(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, const char *msg,...)
Referenced by xsltParseStylesheetTop().
◆ xsltParseStylesheetInclude()
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.
162 if (uriRef ==
NULL) {
164 "xsl:include : missing href attribute\n");
172 "xsl:include : invalid URI reference %s\n", uriRef);
180 docptr =
style->includes;
181 while (docptr !=
NULL) {
184 "xsl:include : recursion detected on included URL %s\n", URI);
193 "xsl:include : unable to load %s\n", URI);
196 #ifdef XSLT_REFACTORED 197 if (IS_XSLT_ELEM_FAST(
cur) && (
cur->psvi !=
NULL)) {
198 ((xsltStyleItemIncludePtr)
cur->psvi)->include =
include;
201 "Internal error: (xsltParseStylesheetInclude) " 202 "The xsl:include element was not compiled.\n", URI);
211 oldNopreproc =
style->nopreproc;
220 style->nopreproc = oldNopreproc;
XMLPUBFUN xmlChar *XMLCALL xmlNodeGetBase(const xmlDoc *doc, const xmlNode *cur)
struct _xsltDocument * includes
XMLPUBFUN xmlChar *XMLCALL xmlBuildURI(const xmlChar *URI, const xmlChar *base)
static SIZE_T const char const D3D_SHADER_MACRO ID3DInclude * include
XMLPUBVAR xmlFreeFunc xmlFree
XMLPUBFUN xmlChar *XMLCALL xmlGetNsProp(const xmlNode *node, const xmlChar *name, const xmlChar *nameSpace)
xsltDocumentPtr xsltLoadStyleDocument(xsltStylesheetPtr style, const xmlChar *URI)
XMLPUBFUN int XMLCALL xmlStrEqual(const xmlChar *str1, const xmlChar *str2)
void xsltTransformError(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, const char *msg,...)
xsltStylesheetPtr xsltParseStylesheetProcess(xsltStylesheetPtr ret, xmlDocPtr doc)
Referenced by xsltParseStylesheetTop().