http://swpat.ffii.org/
Action against software patents
http://www.gnome.org/
Gnome2 Logo
http://www.w3.org/Status
W3C logo
http://www.redhat.com
Red Hat Logo
http://xmlsoft.org/XSLT/
Made with Libxslt Logo
The XSLT C library for Gnome
Module documents from libxslt
API Menu
../index.html
Main Menu
../docs.html
Developer Menu
index.html
API Menu
../ChangeLog.html
ChangeLog
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.html
MacOsX binaries
http://bugzilla.gnome.org/buglist.cgi?product=libxslt
Bug Tracker
http://www.zend.com/php5/articles/php5-xmlphp.php#Heading17
XSLT 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.html
Alphabetic
../APIconstructors.html
Constructors
../APIfunctions.html
Functions/Types
../APIfiles.html
Modules
../APIsymbols.html
Symbols
libxslt-attributes.html
Prev
libxslt-attributes.html
attributes
index.html
Up
index.html
API documentation
../index.html
Home
../index.html
Home
libxslt-extensions.html
extensions
libxslt-extensions.html
Next
implements document loading and cache (multiple document() reference for the same resources must be equal.
Table of Contents
Enum
#xsltLoadType
xsltLoadType
Function type:
#xsltDocLoaderFunc
xsltDocLoaderFunc
xmlDocPtr
#xsltDocLoaderFunc
xsltDocLoaderFunc
(const xmlChar * URI,
xmlDictPtr dict,
int options,
void * ctxt,
libxslt-documents.html#xsltLoadType
xsltLoadType
type)
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
#xsltFindDocument
xsltFindDocument
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlDocPtr doc)
void
#xsltFreeDocuments
xsltFreeDocuments
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
void
#xsltFreeStyleDocuments
xsltFreeStyleDocuments
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style)
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
#xsltLoadDocument
xsltLoadDocument
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
const xmlChar * URI)
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
#xsltLoadStyleDocument
xsltLoadStyleDocument
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
const xmlChar * URI)
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
#xsltNewDocument
xsltNewDocument
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlDocPtr doc)
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
#xsltNewStyleDocument
xsltNewStyleDocument
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc)
void
#xsltSetLoaderFunc
xsltSetLoaderFunc
(
libxslt-documents.html#xsltDocLoaderFunc
xsltDocLoaderFunc
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#xsltLoadType
xsltLoadType
type)
An
libxslt-documents.html#xsltDocLoaderFunc
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.
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#xsltLoadType
xsltLoadType
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#xsltDocumentPtr
xsltDocumentPtr
xsltFindDocument	(
libxslt-xsltInternals.html#xsltTransformContextPtr
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
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
or NULL in case of error
Function: xsltFreeDocuments
void	xsltFreeDocuments		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
Free up all the space used by the loaded documents
ctxt
:
an XSLT transformation context
Function: xsltFreeStyleDocuments
void	xsltFreeStyleDocuments		(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style)
Free up all the space used by the loaded documents
style
:
an XSLT style sheet
Function: xsltLoadDocument
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
xsltLoadDocument	(
libxslt-xsltInternals.html#xsltTransformContextPtr
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
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
or NULL in case of error
Function: xsltLoadStyleDocument
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
xsltLoadStyleDocument	(
libxslt-xsltInternals.html#xsltStylesheetPtr
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
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
or NULL in case of error
Function: xsltNewDocument
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
xsltNewDocument		(
libxslt-xsltInternals.html#xsltTransformContextPtr
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
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
xsltNewStyleDocument	(
libxslt-xsltInternals.html#xsltStylesheetPtr
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
Function: xsltSetLoaderFunc
void	xsltSetLoaderFunc		(
libxslt-documents.html#xsltDocLoaderFunc
xsltDocLoaderFunc
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.html
Daniel Veillard
