Eneboo - Documentación para desarrolladores
|
Ir al código fuente de este archivo.
typedef xmlDocPtr(* xsltDocLoaderFunc)(const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt, xsltLoadType type) |
xsltDocLoaderFunc: : the URI of the document to load : the dictionary to use when parsing that document : parsing options, a set of xmlParserOption : the context, either a stylesheet or a transformation context : 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.
enum xsltLoadType |
xsltLoadType:
Enum defining the kind of loader requirement.
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltFindDocument | ( | xsltTransformContextPtr | ctxt, |
xmlDocPtr | doc | ||
) |
xsltFindDocument: : an XSLT transformation context : 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
XSLTPUBFUN void XSLTCALL xsltFreeDocuments | ( | xsltTransformContextPtr | ctxt | ) |
xsltFreeDocuments: : an XSLT transformation context
Free up all the space used by the loaded documents
XSLTPUBFUN void XSLTCALL xsltFreeStyleDocuments | ( | xsltStylesheetPtr | style | ) |
xsltFreeStyleDocuments: : 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 .
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltLoadDocument | ( | xsltTransformContextPtr | ctxt, |
const xmlChar * | URI | ||
) |
xsltLoadDocument: : an XSLT transformation context : 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
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltLoadStyleDocument | ( | xsltStylesheetPtr | style, |
const xmlChar * | URI | ||
) |
xsltLoadStyleDocument: : an XSLT style sheet : 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
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltNewDocument | ( | xsltTransformContextPtr | ctxt, |
xmlDocPtr | doc | ||
) |
xsltNewDocument: : an XSLT transformation context (or NULL) : a parsed XML document
Register a new document, apply key computations
Returns a handler to the document
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltNewStyleDocument | ( | xsltStylesheetPtr | style, |
xmlDocPtr | doc | ||
) |
xsltNewStyleDocument: : an XSLT style sheet : a parsed XML document
Register a new document, apply key computations
Returns a handler to the document
XSLTPUBFUN void XSLTCALL xsltSetLoaderFunc | ( | xsltDocLoaderFunc | f | ) |
xsltSetLoaderFunc: : the new function to handle document loading.
Set the new function to load document, if NULL it resets it to the default function.
XSLTPUBVAR xsltDocLoaderFunc xsltDocDefaultLoader |