# The XSLT C library for Gnome ## Module documents from libxslt

API Menu
Main Menu Developer Menu API Menu
Related links
Mail archive XML libxml DOM gdome2 FTP Windows binaries Solaris binaries MacOsX binaries Pascal bindings Bug Tracker Xsldbg Debugger Apache module
API Indexes
Alphabetic Constructors Functions/Types Modules Symbols
implements document loading and cache (multiple document() reference for the same resources must be equal. ## Table of Contents
    xsltDocumentPtr	xsltFindDocument	(xsltTransformContextPtr ctxt,
    					 xmlDocPtr doc)
    void	xsltFreeDocuments		(xsltTransformContextPtr ctxt)
    void	xsltFreeStyleDocuments		(xsltStylesheetPtr style)
    xsltDocumentPtr	xsltLoadDocument	(xsltTransformContextPtr ctxt,
    					 const xmlChar * URI)
    xsltDocumentPtr	xsltLoadStyleDocument	(xsltStylesheetPtr style,
    					 const xmlChar * URI)
    xsltDocumentPtr	xsltNewDocument		(xsltTransformContextPtr ctxt,
    					 xmlDocPtr doc)
    xsltDocumentPtr	xsltNewStyleDocument	(xsltStylesheetPtr style,
    					 xmlDocPtr doc)
## Description ### Function: xsltFindDocument
    xsltDocumentPtr	xsltFindDocument	(xsltTransformContextPtr ctxt,
    					 xmlDocPtr doc)
Try to find a document within the XSLT transformation context
`ctxt`: | an XSLT transformation context
`doc`: | a parsed XML document
`Returns`: | the desired xsltDocumentPtr or NULL in case of error
### Function: xsltFreeDocuments
    void	xsltFreeDocuments		(xsltTransformContextPtr ctxt)
Free up all the space used by the loaded documents
`ctxt`: | an XSLT transformation context
### Function: xsltFreeStyleDocuments
    void	xsltFreeStyleDocuments		(xsltStylesheetPtr style)
Free up all the space used by the loaded documents
`style`: | an XSLT style sheet
### Function: xsltLoadDocument
    xsltDocumentPtr	xsltLoadDocument	(xsltTransformContextPtr ctxt,
    					 const xmlChar * URI)
Try to load a document (not a stylesheet) within the XSLT transformation context
`ctxt`: | an XSLT transformation context
`URI`: | the computed URI of the document
`Returns`: | the new xsltDocumentPtr or NULL in case of error
### Function: xsltLoadStyleDocument
    xsltDocumentPtr	xsltLoadStyleDocument	(xsltStylesheetPtr style,
    					 const xmlChar * URI)
Try to load a stylesheet document within the XSLT transformation context
`style`: | an XSLT style sheet
`URI`: | the computed URI of the document
`Returns`: | the new xsltDocumentPtr or NULL in case of error
### Function: xsltNewDocument
    xsltDocumentPtr	xsltNewDocument		(xsltTransformContextPtr ctxt,
    					 xmlDocPtr doc)
Register a new document, apply key computations
`ctxt`: | an XSLT transformation context (or NULL)
`doc`: | a parsed XML document
`Returns`: | a handler to the document
### Function: xsltNewStyleDocument
    xsltDocumentPtr	xsltNewStyleDocument	(xsltStylesheetPtr style,
    					 xmlDocPtr doc)
Register a new document, apply key computations
`style`: | an XSLT style sheet
`doc`: | a parsed XML document
`Returns`: | a handler to the document
Daniel Veillard