ReactOS 0.4.16-dev-306-g647d351
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
#define | WITH_XSLT_DEBUG_DOCUMENTS |
Functions | |
static xmlDocPtr | xsltDocDefaultLoaderFunc (const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt ATTRIBUTE_UNUSED, xsltLoadType type ATTRIBUTE_UNUSED) |
void | xsltSetLoaderFunc (xsltDocLoaderFunc f) |
xsltDocumentPtr | xsltNewDocument (xsltTransformContextPtr ctxt, xmlDocPtr doc) |
xsltDocumentPtr | xsltNewStyleDocument (xsltStylesheetPtr style, xmlDocPtr doc) |
void | xsltFreeStyleDocuments (xsltStylesheetPtr style) |
void | xsltFreeDocuments (xsltTransformContextPtr ctxt) |
xsltDocumentPtr | xsltLoadDocument (xsltTransformContextPtr ctxt, const xmlChar *URI) |
xsltDocumentPtr | xsltLoadStyleDocument (xsltStylesheetPtr style, const xmlChar *URI) |
xsltDocumentPtr | xsltFindDocument (xsltTransformContextPtr ctxt, xmlDocPtr doc) |
Variables | |
xsltDocLoaderFunc | xsltDocDefaultLoader = xsltDocDefaultLoaderFunc |
#define WITH_XSLT_DEBUG_DOCUMENTS |
Definition at line 15 of file documents.c.
|
static |
xsltDocDefaultLoaderFunc: @URI: the URI of the document to load @dict: the dictionary to use when parsing that document @options: parsing options, a set of xmlParserOption @ctxt: the context, either a stylesheet or a transformation context @type: the xsltLoadType indicating the kind of loading required
Default function to load document not provided by the compilation or transformation API themselve, for example when an xsl:import, xsl:include is found at compilation time or when a document() call is made at runtime.
Returns the pointer to the document (which will be modified and freed by the engine later), or NULL in case of error.
Definition at line 44 of file documents.c.
Referenced by xsltSetLoaderFunc().
xsltDocumentPtr xsltFindDocument | ( | xsltTransformContextPtr | ctxt, |
xmlDocPtr | doc | ||
) |
xsltFindDocument: @ctxt: an XSLT transformation context @doc: a parsed XML document
Try to find a document within the XSLT transformation context. This will not find document infos for temporary Result Tree Fragments.
Returns the desired xsltDocumentPtr or NULL in case of error
Definition at line 400 of file documents.c.
Referenced by xsltKeyFunction().
void xsltFreeDocuments | ( | xsltTransformContextPtr | ctxt | ) |
xsltFreeDocuments: @ctxt: an XSLT transformation context
Free up all the space used by the loaded documents
Definition at line 234 of file documents.c.
Referenced by xsltFreeTransformContext().
void xsltFreeStyleDocuments | ( | xsltStylesheetPtr | style | ) |
xsltFreeStyleDocuments: @style: an XSLT stylesheet (representing a stylesheet-level)
Frees the node-trees (and xsltDocument structures) of all stylesheet-modules of the stylesheet-level represented by the given @style.
Definition at line 193 of file documents.c.
Referenced by xsltFreeStylesheet().
xsltDocumentPtr xsltLoadDocument | ( | xsltTransformContextPtr | ctxt, |
const xmlChar * | URI | ||
) |
xsltLoadDocument: @ctxt: an XSLT transformation context @URI: the computed URI of the document
Try to load a document (not a stylesheet) within the XSLT transformation context
Returns the new xsltDocumentPtr or NULL in case of error
Definition at line 268 of file documents.c.
Referenced by xsltDocumentFunctionLoadDocument().
xsltDocumentPtr xsltLoadStyleDocument | ( | xsltStylesheetPtr | style, |
const xmlChar * | URI | ||
) |
xsltLoadStyleDocument: @style: an XSLT style sheet @URI: the computed URI of the document
Try to load a stylesheet document within the XSLT transformation context
Returns the new xsltDocumentPtr or NULL in case of error
Definition at line 343 of file documents.c.
Referenced by xsltParseStylesheetInclude().
xsltDocumentPtr xsltNewDocument | ( | xsltTransformContextPtr | ctxt, |
xmlDocPtr | doc | ||
) |
xsltNewDocument: @ctxt: an XSLT transformation context (or NULL) @doc: a parsed XML document
Register a new document, apply key computations
Returns a handler to the document
Definition at line 127 of file documents.c.
Referenced by xsltComputeAllKeys(), xsltKeyFunction(), xsltLoadDocument(), and xsltNewTransformContext().
xsltDocumentPtr xsltNewStyleDocument | ( | xsltStylesheetPtr | style, |
xmlDocPtr | doc | ||
) |
xsltNewStyleDocument: @style: an XSLT style sheet @doc: a parsed XML document
Register a new document, apply key computations
Returns a handler to the document
Definition at line 166 of file documents.c.
Referenced by xsltLoadStyleDocument().
void xsltSetLoaderFunc | ( | xsltDocLoaderFunc | f | ) |
xsltSetLoaderFunc: @f: the new function to handle document loading.
Set the new function to load document, if NULL it resets it to the default function.
Definition at line 104 of file documents.c.
xsltDocLoaderFunc xsltDocDefaultLoader = xsltDocDefaultLoaderFunc |
Definition at line 93 of file documents.c.
Referenced by xsltLoadDocument(), xsltLoadStyleDocument(), xsltParseStylesheetFile(), xsltParseStylesheetImport(), and xsltSetLoaderFunc().