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 transform 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-templates.html
Prev
libxslt-templates.html
templates
index.html
Up
index.html
API documentation
../index.html
Home
../index.html
Home
libxslt-variables.html
variables
libxslt-variables.html
Next
This module implements the bulk of the actual
Table of Contents
void
#xslHandleDebugger
xslHandleDebugger
(xmlNodePtr cur,
xmlNodePtr node,
libxslt-xsltInternals.html#xsltTemplatePtr
xsltTemplatePtr
templ,
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
void
#xsltApplyImports
xsltApplyImports
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltApplyOneTemplate
xsltApplyOneTemplate
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr list,
libxslt-xsltInternals.html#xsltTemplatePtr
xsltTemplatePtr
templ,
libxslt-xsltInternals.html#xsltStackElemPtr
xsltStackElemPtr
params)
void
#xsltApplyStripSpaces
xsltApplyStripSpaces
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node)
xmlDocPtr
#xsltApplyStylesheet
xsltApplyStylesheet
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params)
xmlDocPtr
#xsltApplyStylesheetUser
xsltApplyStylesheetUser
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
const char * output,
FILE * profile,
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
userCtxt)
void
#xsltApplyTemplates
xsltApplyTemplates
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltAttribute
xsltAttribute
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltCallTemplate
xsltCallTemplate
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltChoose
xsltChoose
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltComment
xsltComment
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltCopy
xsltCopy
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltCopyOf
xsltCopyOf
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
xmlNodePtr
#xsltCopyTextString
xsltCopyTextString
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr target,
const xmlChar * string,
int noescape)
void
#xsltDocumentElem
xsltDocumentElem
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltElement
xsltElement
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltForEach
xsltForEach
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltFreeTransformContext
xsltFreeTransformContext
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
int
#xsltGetXIncludeDefault
xsltGetXIncludeDefault
(void)
void
#xsltIf
xsltIf
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
#xsltNewTransformContext
xsltNewTransformContext
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc)
void
#xsltNumber
xsltNumber
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltProcessingInstruction
xsltProcessingInstruction
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
xmlDocPtr
#xsltProfileStylesheet
xsltProfileStylesheet
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
FILE * output)
void
#xsltRegisterAllElement
xsltRegisterAllElement
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
int
#xsltRunStylesheet
xsltRunStylesheet
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf)
int
#xsltRunStylesheetUser
xsltRunStylesheetUser
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf,
FILE * profile,
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
userCtxt)
void
#xsltSetXIncludeDefault
xsltSetXIncludeDefault
(int xinclude)
void
#xsltSort
xsltSort
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltText
xsltText
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
void
#xsltValueOf
xsltValueOf
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Description
Function: xslHandleDebugger
void	xslHandleDebugger		(xmlNodePtr cur,
xmlNodePtr node,
libxslt-xsltInternals.html#xsltTemplatePtr
xsltTemplatePtr
templ,
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
If either cur or node are a breakpoint, or
libxslt-xsltutils.html#xslDebugStatus
xslDebugStatus
in state where debugging must occcur at this time then transfer control to the xslDebugBreak function
cur
:
source node being executed
node
:
data node being processed
templ
:
temlate that applies to node
ctxt
:
the xslt transform context
Function: xsltApplyImports
void	xsltApplyImports		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt apply-imports node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt apply-imports node
comp
:
precomputed information
Function: xsltApplyOneTemplate
void	xsltApplyOneTemplate		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr list,
libxslt-xsltInternals.html#xsltTemplatePtr
xsltTemplatePtr
templ,
libxslt-xsltInternals.html#xsltStackElemPtr
xsltStackElemPtr
params)
Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them after return (they may be reused).
ctxt
:
a XSLT process context
node
:
the node in the source tree.
list
:
the template replacement nodelist
templ
:
if is this a real template processing, the template processed
params
:
a set of parameters for the template or NULL
Function: xsltApplyStripSpaces
void	xsltApplyStripSpaces		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node)
Strip the unwanted ignorable spaces from the input tree
ctxt
:
a XSLT process context
node
:
the root of the XML tree
Function: xsltApplyStylesheet
xmlDocPtr	xsltApplyStylesheet	(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params)
Apply the stylesheet to the document NOTE: This may lead to a non-wellformed output XML wise !
style
:
a parsed XSLT stylesheet
doc
:
a parsed XML document
params
:
a NULL terminated arry of parameters names/values tuples
Returns
:
the result document or NULL in case of error
Function: xsltApplyStylesheetUser
xmlDocPtr	xsltApplyStylesheetUser	(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
const char * output,
FILE * profile,
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
userCtxt)
Apply the stylesheet to the document and allow the user to provide its own transformation context.
style
:
a parsed XSLT stylesheet
doc
:
a parsed XML document
params
:
a NULL terminated array of parameters names/values tuples
output
:
the targetted output
profile
:
profile FILE * output or NULL
userCtxt
:
user provided transform context
Returns
:
the result document or NULL in case of error
Function: xsltApplyTemplates
void	xsltApplyTemplates		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the apply-templates node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the apply-templates node
comp
:
precomputed information
Function: xsltAttribute
void	xsltAttribute			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt attribute node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt attribute node
comp
:
precomputed information
Function: xsltCallTemplate
void	xsltCallTemplate		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt call-template node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt call-template node
comp
:
precomputed information
Function: xsltChoose
void	xsltChoose			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt choose node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt choose node
comp
:
precomputed information
Function: xsltComment
void	xsltComment			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt comment node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt comment node
comp
:
precomputed information
Function: xsltCopy
void	xsltCopy			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt copy node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt copy node
comp
:
precomputed information
Function: xsltCopyOf
void	xsltCopyOf			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt copy-of node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt copy-of node
comp
:
precomputed information
Function: xsltCopyTextString
xmlNodePtr	xsltCopyTextString	(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr target,
const xmlChar * string,
int noescape)
Create a text node
ctxt
:
a XSLT process context
target
:
the element where the text will be attached
string
:
the text string
noescape
:
should disable-escaping be activated for this text node.
Returns
:
a new xmlNodePtr, or NULL in case of error.
Function: xsltDocumentElem
void	xsltDocumentElem		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process an EXSLT/XSLT-1.1 document element
ctxt
:
an XSLT processing context
node
:
The current node
inst
:
the instruction in the stylesheet
comp
:
precomputed information
Function: xsltElement
void	xsltElement			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt element node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt element node
comp
:
precomputed information
Function: xsltForEach
void	xsltForEach			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt for-each node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt for-each node
comp
:
precomputed information
Function: xsltFreeTransformContext
void	xsltFreeTransformContext	(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
Free up the memory allocated by @ctxt
ctxt
:
an XSLT parser context
Function: xsltGetXIncludeDefault
int	xsltGetXIncludeDefault		(void)
Provides the default state for XInclude processing
Returns
:
0 if there is no processing 1 otherwise
Function: xsltIf
void	xsltIf			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt if node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt if node
comp
:
precomputed information
Function: xsltNewTransformContext
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
xsltNewTransformContext	(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc)
Create a new XSLT TransformContext
style
:
a parsed XSLT stylesheet
doc
:
the input document
Returns
:
the newly allocated
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
or NULL in case of error
Function: xsltNumber
void	xsltNumber			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt number node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt number node
comp
:
precomputed information
Function: xsltProcessingInstruction
void	xsltProcessingInstruction	(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt processing-instruction node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt processing-instruction node
comp
:
precomputed information
Function: xsltProfileStylesheet
xmlDocPtr	xsltProfileStylesheet	(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
FILE * output)
Apply the stylesheet to the document and dump the profiling to the given output.
style
:
a parsed XSLT stylesheet
doc
:
a parsed XML document
params
:
a NULL terminated arry of parameters names/values tuples
output
:
a FILE * for the profiling output
Returns
:
the result document or NULL in case of error
Function: xsltRegisterAllElement
void	xsltRegisterAllElement		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt)
Registers all default XSLT elements in this context
ctxt
:
the XPath context
Function: xsltRunStylesheet
int	xsltRunStylesheet		(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf)
Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8
style
:
a parsed XSLT stylesheet
doc
:
a parsed XML document
params
:
a NULL terminated array of parameters names/values tuples
output
:
the URL/filename ot the generated resource if available
SAX
:
a SAX handler for progressive callback output (not implemented yet)
IObuf
:
an output buffer for progressive output (not implemented yet)
Returns
:
the number of bytes written to the main resource or -1 in case of error.
Function: xsltRunStylesheetUser
int	xsltRunStylesheetUser		(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
xmlDocPtr doc,
const char ** params,
const char * output,
xmlSAXHandlerPtr SAX,
xmlOutputBufferPtr IObuf,
FILE * profile,
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
userCtxt)
Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8
style
:
a parsed XSLT stylesheet
doc
:
a parsed XML document
params
:
a NULL terminated array of parameters names/values tuples
output
:
the URL/filename ot the generated resource if available
SAX
:
a SAX handler for progressive callback output (not implemented yet)
IObuf
:
an output buffer for progressive output (not implemented yet)
profile
:
profile FILE * output or NULL
userCtxt
:
user provided transform context
Returns
:
the number of by written to the main resource or -1 in case of error.
Function: xsltSetXIncludeDefault
void	xsltSetXIncludeDefault		(int xinclude)
Set whether XInclude should be processed on document being loaded by default
xinclude
:
whether to do XInclude processing
Function: xsltSort
void	xsltSort			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
function attached to xsl:sort nodes, but this should not be called directly
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt sort node
comp
:
precomputed information
Function: xsltText
void	xsltText			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt text node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt text node
comp
:
precomputed information
Function: xsltValueOf
void	xsltValueOf			(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
xmlNodePtr node,
xmlNodePtr inst,
libxslt-xsltInternals.html#xsltStylePreCompPtr
xsltStylePreCompPtr
comp)
Process the xslt value-of node on the source node
ctxt
:
a XSLT process context
node
:
the node in the source tree.
inst
:
the xslt value-of node
comp
:
precomputed information
../bugs.html
Daniel Veillard
