ReactOS 0.4.16-dev-336-gb667d82
|
Go to the source code of this file.
Typedefs | |
typedef xmlDocPtr(* | xsltDocLoaderFunc) (const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt, xsltLoadType type) |
Enumerations | |
enum | xsltLoadType { XSLT_LOAD_START = 0 , XSLT_LOAD_STYLESHEET = 1 , XSLT_LOAD_DOCUMENT = 2 } |
Variables | |
XSLTPUBVAR xsltDocLoaderFunc | xsltDocDefaultLoader |
typedef xmlDocPtr(* xsltDocLoaderFunc) (const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt, xsltLoadType type) |
xsltDocLoaderFunc: @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
An xsltDocLoaderFunc is a signature for a function which can be registered 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 76 of file documents.h.
xsltLoadType:
Enum defining the kind of loader requirement.
Enumerator | |
---|---|
XSLT_LOAD_START | |
XSLT_LOAD_STYLESHEET | |
XSLT_LOAD_DOCUMENT |
Definition at line 53 of file documents.h.
XSLTPUBFUN xsltDocumentPtr XSLTCALL 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().
XSLTPUBFUN void XSLTCALL 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().
XSLTPUBFUN void XSLTCALL 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().
XSLTPUBFUN xsltDocumentPtr XSLTCALL 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().
XSLTPUBFUN xsltDocumentPtr XSLTCALL 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().
XSLTPUBFUN xsltDocumentPtr XSLTCALL 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().
XSLTPUBFUN xsltDocumentPtr XSLTCALL 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().
XSLTPUBFUN void XSLTCALL 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.
XSLTPUBVAR xsltDocLoaderFunc xsltDocDefaultLoader |
Definition at line 86 of file documents.h.