http://swpat.ffii.org/Action against software patents http://www.gnome.org/Gnome2 Logo http://www.w3.org/StatusW3C logo http://www.redhat.comRed Hat Logo http://xmlsoft.org/XSLT/Made with Libxslt Logo The XSLT C library for Gnome
Module documents from libxslt
API Menu ../index.htmlMain Menu ../docs.htmlDeveloper Menu index.htmlAPI Menu ../ChangeLog.htmlChangeLog Related links http://mail.gnome.org/archives/xslt/Mail archive http://xmlsoft.org/XML libxml2 ftp://xmlsoft.org/FTP http://www.zlatkovic.com/projects/libxml/Windows binaries http://garypennington.net/libxml2/Solaris binaries http://www.zveno.com/open_source/libxml2xslt.htmlMacOsX binaries http://bugzilla.gnome.org/buglist.cgi?product=libxsltBug Tracker http://www.zend.com/php5/articles/php5-xmlphp.php#Heading17XSLT with PHP http://www.mod-xslt2.com/Apache module http://sourceforge.net/projects/libxml2-pas/Pascal bindings http://xsldbg.sourceforge.net/Xsldbg Debugger API Indexes ../APIchunk0.htmlAlphabetic ../APIconstructors.htmlConstructors ../APIfunctions.htmlFunctions/Types ../APIfiles.htmlModules ../APIsymbols.htmlSymbols libxslt-attributes.htmlPrev libxslt-attributes.htmlattributes index.htmlUp index.htmlAPI documentation ../index.htmlHome ../index.htmlHome libxslt-extensions.htmlextensions libxslt-extensions.htmlNext implements document loading and cache (multiple document() reference for the same resources must be equal. 
Table of Contents
Enum #xsltLoadTypexsltLoadType Function type: #xsltDocLoaderFuncxsltDocLoaderFunc xmlDocPtr	
#xsltDocLoaderFuncxsltDocLoaderFunc 	(const xmlChar * URI, 					 xmlDictPtr dict, 					 int options, 					 void * ctxt, 					 libxslt-documents.html#xsltLoadTypexsltLoadType  type)
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	#xsltFindDocumentxsltFindDocument 	( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlDocPtr doc)void	#xsltFreeDocumentsxsltFreeDocuments 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)void	#xsltFreeStyleDocumentsxsltFreeStyleDocuments 		( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style) libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	#xsltLoadDocumentxsltLoadDocument 	( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 const xmlChar * URI) libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	#xsltLoadStyleDocumentxsltLoadStyleDocument 	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 const xmlChar * URI) libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	#xsltNewDocumentxsltNewDocument 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlDocPtr doc) libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	#xsltNewStyleDocumentxsltNewStyleDocument 	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlDocPtr doc)void	#xsltSetLoaderFuncxsltSetLoaderFunc 		( libxslt-documents.html#xsltDocLoaderFuncxsltDocLoaderFunc  f)Description
Enum xsltLoadType 
Enum xsltLoadType {
    
XSLT_LOAD_START  = 0 : loading for a top stylesheet
    
XSLT_LOAD_STYLESHEET  = 1 : loading for a stylesheet include/import
    
XSLT_LOAD_DOCUMENT  = 2 : loading document at transformation time
}
Function type: xsltDocLoaderFunc
Function type: xsltDocLoaderFunc
xmlDocPtr	xsltDocLoaderFunc	(const xmlChar * URI, 
					 xmlDictPtr dict, 					 int options, 					 void * ctxt, 					 libxslt-documents.html#xsltLoadTypexsltLoadType  type)
An libxslt-documents.html#xsltDocLoaderFuncxsltDocLoaderFunc  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.
URI: the URI of the document to load dict: the dictionnary 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 libxslt-documents.html#xsltLoadTypexsltLoadType  indicating the kind of loading required Returns: the pointer to the document (which will be modified and freed by the engine later), or NULL in case of error. Function: xsltFindDocument
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	xsltFindDocument	( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  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 libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr  or NULL in case of error Function: xsltFreeDocuments
void	xsltFreeDocuments		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)Free up all the space used by the loaded documents
ctxt: an XSLT transformation context Function: xsltFreeStyleDocuments
void	xsltFreeStyleDocuments		( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style)Free up all the space used by the loaded documents
style: an XSLT style sheet Function: xsltLoadDocument
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	xsltLoadDocument	( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  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 libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr  or NULL in case of error Function: xsltLoadStyleDocument
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	xsltLoadStyleDocument	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  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 libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr  or NULL in case of error Function: xsltNewDocument
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	xsltNewDocument		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  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
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	xsltNewStyleDocument	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  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 Function: xsltSetLoaderFunc
void	xsltSetLoaderFunc		( libxslt-documents.html#xsltDocLoaderFuncxsltDocLoaderFunc  f)Set the new function to load document, if NULL it resets it to the default function.
f: the new function to handle document loading. ../bugs.htmlDaniel Veillard 
