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 xsltInternals 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-xslt.htmlPrev libxslt-xslt.htmlxslt index.htmlUp index.htmlAPI documentation ../index.htmlHome ../index.htmlHome libxslt-xsltexports.htmlxsltexports libxslt-xsltexports.htmlNext Internal data structures, constants and functions used by the XSLT engine. They are not part of the API or ABI, i.e. they can change without prior notice, use carefully. 
Table of Contents
#define #CHECK_STOPPEDCHECK_STOPPED #define #CHECK_STOPPED0CHECK_STOPPED0 #define #CHECK_STOPPEDECHECK_STOPPEDE #define #XML_CAST_FPTRXML_CAST_FPTR #define #XSLT_MAX_SORTXSLT_MAX_SORT #define #XSLT_PAT_NO_PRIORITYXSLT_PAT_NO_PRIORITY #define #XSLT_RUNTIME_EXTRAXSLT_RUNTIME_EXTRA #define #XSLT_RUNTIME_EXTRA_FREEXSLT_RUNTIME_EXTRA_FREE #define #XSLT_RUNTIME_EXTRA_LSTXSLT_RUNTIME_EXTRA_LST Structure #xsltDecimalFormatxsltDecimalFormat struct _xsltDecimalFormat
Typedef libxslt-xsltInternals.html#xsltDecimalFormatxsltDecimalFormat  * xsltDecimalFormatPtr Structure #xsltDocumentxsltDocument struct _xsltDocument
Typedef libxslt-xsltInternals.html#xsltDocumentxsltDocument  * xsltDocumentPtr Structure #xsltElemPreCompxsltElemPreComp struct _xsltElemPreComp
Typedef libxslt-xsltInternals.html#xsltElemPreCompxsltElemPreComp  * xsltElemPreCompPtr Enum #xsltOutputTypexsltOutputType Structure #xsltRuntimeExtraxsltRuntimeExtra struct _xsltRuntimeExtra
Typedef libxslt-xsltInternals.html#xsltRuntimeExtraxsltRuntimeExtra  * xsltRuntimeExtraPtr Structure #xsltStackElemxsltStackElem struct _xsltStackElem
Typedef libxslt-xsltInternals.html#xsltStackElemxsltStackElem  * xsltStackElemPtr Structure #xsltStylePreCompxsltStylePreComp struct _xsltStylePreComp
Typedef libxslt-xsltInternals.html#xsltStylePreCompxsltStylePreComp  * xsltStylePreCompPtr Enum #xsltStyleTypexsltStyleType Structure #xsltStylesheetxsltStylesheet struct _xsltStylesheet
Typedef libxslt-xsltInternals.html#xsltStylesheetxsltStylesheet  * xsltStylesheetPtr Structure #xsltTemplatexsltTemplate struct _xsltTemplate
Typedef libxslt-xsltInternals.html#xsltTemplatexsltTemplate  * xsltTemplatePtr Structure #xsltTransformContextxsltTransformContext struct _xsltTransformContext
Typedef libxslt-xsltInternals.html#xsltTransformContextxsltTransformContext  * xsltTransformContextPtr Enum #xsltTransformStatexsltTransformState int	#xsltAllocateExtraxsltAllocateExtra 		( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style)int	#xsltAllocateExtraCtxtxsltAllocateExtraCtxt 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)void	#xsltCompileAttrxsltCompileAttr 			( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlAttrPtr attr)xmlDocPtr	#xsltCreateRVTxsltCreateRVT 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt) libxslt-xsltInternals.html#xsltDecimalFormatPtrxsltDecimalFormatPtr 	#xsltDecimalFormatGetByNamexsltDecimalFormatGetByName 	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  sheet, 							 xmlChar * name)Function type: #xsltElemPreCompDeallocatorxsltElemPreCompDeallocator void	
#xsltElemPreCompDeallocatorxsltElemPreCompDeallocator 	( libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr  comp)
xmlChar *	#xsltEvalAVTxsltEvalAVT 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 void * avt, 					 xmlNodePtr node)xmlXPathError	#xsltFormatNumberConversionxsltFormatNumberConversion 	( libxslt-xsltInternals.html#xsltDecimalFormatPtrxsltDecimalFormatPtr  self, 						 xmlChar * format, 						 double number, 						 xmlChar ** result)void	#xsltFreeAVTListxsltFreeAVTList 			(void * avt)void	#xsltFreeRVTsxsltFreeRVTs 			( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)void	#xsltFreeStackElemListxsltFreeStackElemList 		( libxslt-xsltInternals.html#xsltStackElemPtrxsltStackElemPtr  elem)void	#xsltFreeStylesheetxsltFreeStylesheet 		( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  sheet)int	#xsltIsBlankxsltIsBlank 			(xmlChar * str) libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	#xsltLoadStylesheetPIxsltLoadStylesheetPI 	(xmlDocPtr doc) libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	#xsltNewStylesheetxsltNewStylesheet 	(void)void	#xsltNumberFormatxsltNumberFormat 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 libxslt-numbersInternals.html#xsltNumberDataPtrxsltNumberDataPtr  data, 					 xmlNodePtr node) libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	#xsltParseStylesheetDocxsltParseStylesheetDoc 	(xmlDocPtr doc) libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	#xsltParseStylesheetFilexsltParseStylesheetFile 	(const xmlChar * filename) libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	#xsltParseStylesheetImportedDocxsltParseStylesheetImportedDoc 	(xmlDocPtr doc, 							 libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style)void	#xsltParseStylesheetOutputxsltParseStylesheetOutput 	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlNodePtr cur) libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	#xsltParseStylesheetProcessxsltParseStylesheetProcess 	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  ret, 							 xmlDocPtr doc)void	#xsltParseTemplateContentxsltParseTemplateContent 	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlNodePtr templ)int	#xsltRegisterPersistRVTxsltRegisterPersistRVT 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlDocPtr RVT)int	#xsltRegisterTmpRVTxsltRegisterTmpRVT 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlDocPtr RVT)Function type: #xsltSortFuncxsltSortFunc void	
#xsltSortFuncxsltSortFunc 			( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlNodePtr * sorts, 					 int nbsorts)
Function type: #xsltTransformFunctionxsltTransformFunction void	
#xsltTransformFunctionxsltTransformFunction 		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlNodePtr node, 					 xmlNodePtr inst, 					 libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr  comp)
Description
Macro: CHECK_STOPPED
#define CHECK_STOPPEDMacro to check if the XSLT processing should be stopped. Will return from the function.
Macro: CHECK_STOPPED0
#define CHECK_STOPPED0Macro to check if the XSLT processing should be stopped. Will return from the function with a 0 value.
Macro: CHECK_STOPPEDE
#define CHECK_STOPPEDEMacro to check if the XSLT processing should be stopped. Will goto the error: label.
Macro: XML_CAST_FPTR
#define XML_CAST_FPTRMacro to do a casting from an object pointer to a function pointer without encountering a warning from gcc #define XML_CAST_FPTR(fptr) (*(void **)(&fptr)) This macro violated ISO C aliasing rules (gcc4 on s390 broke) so it is disabled now
Macro: XSLT_MAX_SORT
#define XSLT_MAX_SORTMax number of specified xsl:sort on an element.
Macro: XSLT_PAT_NO_PRIORITY
#define XSLT_PAT_NO_PRIORITYSpecific value for pattern without priority expressed.
Macro: XSLT_RUNTIME_EXTRA
#define XSLT_RUNTIME_EXTRAMacro used to define extra information stored in the context
Macro: XSLT_RUNTIME_EXTRA_FREE
#define XSLT_RUNTIME_EXTRA_FREEMacro used to free extra information stored in the context
Macro: XSLT_RUNTIME_EXTRA_LST
#define XSLT_RUNTIME_EXTRA_LSTMacro used to access extra information stored in the context
Structure xsltDecimalFormat 
Structure xsltDecimalFormatstruct _xsltDecimalFormat {
    struct _xsltDecimalFormat *	next	: chained list
    xmlChar *	name	: Used for interpretation of pattern
    xmlChar *	digit
    xmlChar *	patternSeparator	: May appear in result
    xmlChar *	minusSign
    xmlChar *	infinity
    xmlChar *	noNumber	: Not-a-number Used for interpretation of
    xmlChar *	decimalPoint
    xmlChar *	grouping
    xmlChar *	percent
    xmlChar *	permille
    xmlChar *	zeroDigit
}
Structure xsltDocument 
Structure xsltDocumentstruct _xsltDocument {
    struct _xsltDocument *	next	: documents are kept in a chained list
    int	main	: is this the main document
    xmlDocPtr	doc	: the parsed document
    void *	keys	: key tables storage
    struct _xsltDocument *	includes	: subsidiary includes
    int	preproc	: pre-processing already done
}
Structure xsltElemPreComp 
Structure xsltElemPreCompstruct _xsltElemPreComp {
    
libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr 	next	: chained list
    
libxslt-xsltInternals.html#xsltStyleTypexsltStyleType 	type	: type of the element
    
libxslt-xsltInternals.html#xsltTransformFunctionxsltTransformFunction 	func	: handling function
    xmlNodePtr	inst	: the instruction end of common part
    
libxslt-xsltInternals.html#xsltElemPreCompDeallocatorxsltElemPreCompDeallocator 	free	: the deallocator
}
Enum xsltOutputType 
Enum xsltOutputType {
    
XSLT_OUTPUT_XML  = 0
    
XSLT_OUTPUT_HTML  = 1
    
XSLT_OUTPUT_TEXT  = 2
}
Structure xsltRuntimeExtra 
Structure xsltRuntimeExtrastruct _xsltRuntimeExtra {
    void *	info	: pointer to the extra data
    xmlFreeFunc	deallocate	: pointer to the deallocation routine
}
Structure xsltStackElem 
Structure xsltStackElemstruct _xsltStackElem {
    struct _xsltStackElem *	next	: chained list
    
libxslt-xsltInternals.html#xsltStylePreCompPtrxsltStylePreCompPtr 	comp	: the compiled form
    int	computed	: was the evaluation done
    const xmlChar *	name	: the local part of the name QName
    const xmlChar *	nameURI	: the URI part of the name QName
    const xmlChar *	select	: the eval string
    xmlNodePtr	tree	: the tree if no eval string or the locat
    xmlXPathObjectPtr	value	: The value if computed
}
Structure xsltStylePreComp 
Structure xsltStylePreCompstruct _xsltStylePreComp {
    
libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr 	next	: chained list
    
libxslt-xsltInternals.html#xsltStyleTypexsltStyleType 	type	: type of the element
    
libxslt-xsltInternals.html#xsltTransformFunctionxsltTransformFunction 	func	: handling function
    xmlNodePtr	inst	: * Pre computed values. *
    const xmlChar *	stype	: sort
    int	has_stype	: sort
    int	number	: sort
    const xmlChar *	order	: sort
    int	has_order	: sort
    int	descending	: sort
    const xmlChar *	lang	: sort
    int	has_lang	: sort
    const xmlChar *	case_order	: sort
    int	lower_first	: sort
    const xmlChar *	use	: copy, element
    int	has_use	: copy, element
    int	noescape	: text
    const xmlChar *	name	: element, attribute, pi
    int	has_name	: element, attribute, pi
    const xmlChar *	ns	: element
    int	has_ns	: element
    const xmlChar *	mode	: apply-templates
    const xmlChar *	modeURI	: apply-templates
    const xmlChar *	test	: if
    
libxslt-xsltInternals.html#xsltTemplatePtrxsltTemplatePtr 	templ	: call-template
    const xmlChar *	select	: sort, copy-of, value-of, apply-template
    int	ver11	: document
    const xmlChar *	filename	: document URL
    int	has_filename	: document
    
libxslt-numbersInternals.html#xsltNumberDataxsltNumberData 	numdata	: number
    xmlXPathCompExprPtr	comp	: a precompiled XPath expression
    xmlNsPtr *	nsList	: the namespaces in scope
    int	nsNr	: the number of namespaces in scope
}
Enum xsltStyleType 
Enum xsltStyleType {
    
XSLT_FUNC_COPY  = 1
    
XSLT_FUNC_SORT  = 2
    
XSLT_FUNC_TEXT  = 3
    
XSLT_FUNC_ELEMENT  = 4
    
XSLT_FUNC_ATTRIBUTE  = 5
    
XSLT_FUNC_COMMENT  = 6
    
XSLT_FUNC_PI  = 7
    
XSLT_FUNC_COPYOF  = 8
    
XSLT_FUNC_VALUEOF  = 9
    
XSLT_FUNC_NUMBER  = 10
    
XSLT_FUNC_APPLYIMPORTS  = 11
    
XSLT_FUNC_CALLTEMPLATE  = 12
    
XSLT_FUNC_APPLYTEMPLATES  = 13
    
XSLT_FUNC_CHOOSE  = 14
    
XSLT_FUNC_IF  = 15
    
XSLT_FUNC_FOREACH  = 16
    
XSLT_FUNC_DOCUMENT  = 17
    
XSLT_FUNC_WITHPARAM  = 18
    
XSLT_FUNC_PARAM  = 19
    
XSLT_FUNC_VARIABLE  = 20
    
XSLT_FUNC_WHEN  = 21
    
XSLT_FUNC_EXTENSION  = 22
}
Structure xsltStylesheet 
Structure xsltStylesheetstruct _xsltStylesheet {
    struct _xsltStylesheet *	parent
    struct _xsltStylesheet *	next
    struct _xsltStylesheet *	imports
    
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	docList	: * General data on the style sheet docume
    xmlDocPtr	doc	: the parsed XML stylesheet
    xmlHashTablePtr	stripSpaces	: the hash table of the strip-space and p
    int	stripAll	: strip-space * (1) preserve-space * (-1)
    xmlHashTablePtr	cdataSection	: * Global variable or parameters. *
    
libxslt-xsltInternals.html#xsltStackElemPtrxsltStackElemPtr 	variables	: * Template descriptions. *
    
libxslt-xsltInternals.html#xsltTemplatePtrxsltTemplatePtr 	templates	: the ordered list of templates
    void *	templatesHash	: hash table or wherever compiled templat
    void *	rootMatch	: template based on /
    void *	keyMatch	: template based on key()
    void *	elemMatch	: template based on *
    void *	attrMatch	: template based on @*
    void *	parentMatch	: template based on ..
    void *	textMatch	: template based on text()
    void *	piMatch	: template based on processing-instructio
    void *	commentMatch	: * Namespace aliases. *
    xmlHashTablePtr	nsAliases	: * Attribute sets. *
    xmlHashTablePtr	attributeSets	: * Namespaces. *
    xmlHashTablePtr	nsHash	: the set of namespaces in use
    void *	nsDefs	: * Key definitions. *
    void *	keys	: * Output related stuff. *
    xmlChar *	method	: the output method
    xmlChar *	methodURI	: associated namespace if any
    xmlChar *	version	: version string
    xmlChar *	encoding	: encoding string
    int	omitXmlDeclaration	: * Number formatting. *
    
libxslt-xsltInternals.html#xsltDecimalFormatPtrxsltDecimalFormatPtr 	decimalFormat
    int	standalone	: standalone = "yes" | "no"
    xmlChar *	doctypePublic	: doctype-public string
    xmlChar *	doctypeSystem	: doctype-system string
    int	indent	: should output being indented
    xmlChar *	mediaType	: * Precomputed blocks. *
    
libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr 	preComps	: list of precomputed blocks
    int	warnings	: number of warnings found at compilation
    int	errors	: number of errors found at compilation
    xmlChar *	exclPrefix	: last excluded prefixes
    xmlChar **	exclPrefixTab	: array of excluded prefixes
    int	exclPrefixNr	: number of excluded prefixes in scope
    int	exclPrefixMax	: size of the array
    void *	_private	: * Extensions. *
    xmlHashTablePtr	extInfos	: the extension data
    int	extrasNr	: * For keeping track of nested includes *
    
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	includes	: * dictionnary: shared between stylesheet
    xmlDictPtr	dict	: * precompiled attribute value templates.
    void *	attVTs	: * if namespace-alias has an alias for th
    const xmlChar *	defaultAlias	: * bypass pre-processing (already done) (
    int	nopreproc	: * all document text strings were interna
    int	internalized	: * Literal Result Element as Stylesheet c
    int	literal_result
}
Structure xsltTemplate 
Structure xsltTemplatestruct _xsltTemplate {
    struct _xsltTemplate *	next	: chained list sorted by priority
    struct _xsltStylesheet *	style	: the containing stylesheet
    xmlChar *	match	: the matching string
    float	priority	: as given from the stylesheet, not compu
    xmlChar *	name	: the local part of the name QName
    xmlChar *	nameURI	: the URI part of the name QName
    const xmlChar *	mode	: the local part of the mode QName
    const xmlChar *	modeURI	: the URI part of the mode QName
    xmlNodePtr	content	: the template replacement value
    xmlNodePtr	elem	: the source element
    int	inheritedNsNr	: number of inherited namespaces
    xmlNsPtr *	inheritedNs	: inherited non-excluded namespaces Profi
    int	nbCalls	: the number of time the template was cal
    unsigned long	time	: the time spent in this template
}
Structure xsltTransformContext 
Structure xsltTransformContextstruct _xsltTransformContext {
    
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	style	: the stylesheet used
    
libxslt-xsltInternals.html#xsltOutputTypexsltOutputType 	type	: the type of output
    
libxslt-xsltInternals.html#xsltTemplatePtrxsltTemplatePtr 	templ	: the current template
    int	templNr	: Nb of templates in the stack
    int	templMax	: Size of the templtes stack
    
libxslt-xsltInternals.html#xsltTemplatePtrxsltTemplatePtr  *	templTab	: the template stack
    
libxslt-xsltInternals.html#xsltStackElemPtrxsltStackElemPtr 	vars	: the current variable list
    int	varsNr	: Nb of variable list in the stack
    int	varsMax	: Size of the variable list stack
    
libxslt-xsltInternals.html#xsltStackElemPtrxsltStackElemPtr  *	varsTab	: the variable list stack
    int	varsBase	: * Extensions *
    xmlHashTablePtr	extFunctions	: the extension functions
    xmlHashTablePtr	extElements	: the extension elements
    xmlHashTablePtr	extInfos	: the extension data
    const xmlChar *	mode	: the current mode
    const xmlChar *	modeURI	: the current mode URI
    
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	docList	: the document list
    
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	document	: the current document
    xmlNodePtr	node	: the current node being processed
    xmlNodeSetPtr	nodeList	: the current node list xmlNodePtr curren
    xmlDocPtr	output	: the resulting document
    xmlNodePtr	insert	: the insertion node
    xmlXPathContextPtr	xpathCtxt	: the XPath context
    
libxslt-xsltInternals.html#xsltTransformStatexsltTransformState 	state	: * Global variables *
    xmlHashTablePtr	globalVars	: the global variables and params
    xmlNodePtr	inst	: the instruction in the stylesheet
    int	xinclude	: should XInclude be processed
    const char *	outputFile	: the output URI if known
    int	profile	: is this run profiled
    long	prof	: the current profiled value
    int	profNr	: Nb of templates in the stack
    int	profMax	: Size of the templtaes stack
    long *	profTab	: the profile template stack
    void *	_private	: user defined data
    int	extrasNr	: the number of extras used
    int	extrasMax	: the number of extras allocated
    
libxslt-xsltInternals.html#xsltRuntimeExtraPtrxsltRuntimeExtraPtr 	extras	: extra per runtime informations
    
libxslt-xsltInternals.html#xsltDocumentPtrxsltDocumentPtr 	styleList	: the stylesheet docs list
    void *	sec	: the security preferences if any
    xmlGenericErrorFunc	error	: a specific error handler
    void *	errctx	: context for the error handler
    
libxslt-xsltInternals.html#xsltSortFuncxsltSortFunc 	sortfunc	: * handling of temporary Result Value Tre
    xmlDocPtr	tmpRVT	: list of RVT without persistance
    xmlDocPtr	persistRVT	: list of persistant RVTs
    int	ctxtflags	: * Speed optimization when coalescing tex
    const xmlChar *	lasttext	: last text node content
    unsigned int	lasttsize	: last text node size
    unsigned int	lasttuse	: * Per Context Debugging *
    int	debugStatus	: the context level debug status
    unsigned long *	traceCode	: pointer to the variable holding the mas
    int	parserOptions	: * dictionnary: shared between stylesheet
    xmlDictPtr	dict	: * temporary storage for doc ptr, current
    xmlDocPtr	tmpDoc	: * all document text strings are internal
    int	internalized
}
Enum xsltTransformState 
Enum xsltTransformState {
    
XSLT_STATE_OK  = 0
    
XSLT_STATE_ERROR  = 1
    
XSLT_STATE_STOPPED  = 2
}
Function: xsltAllocateExtra
int	xsltAllocateExtra		( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style)Allocate an extra runtime information slot statically while compiling the stylesheet and return its number
style: an XSLT stylesheet Returns: the number of the slot Function: xsltAllocateExtraCtxt
int	xsltAllocateExtraCtxt		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)Allocate an extra runtime information slot at run-time and return its number This make sure there is a slot ready in the transformation context
ctxt: an XSLT transformation context Returns: the number of the slot Function: xsltCompileAttr
void	xsltCompileAttr			( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlAttrPtr attr)Precompile an attribute in a stylesheet, basically it checks if it is an attrubute value template, and if yes establish some structures needed to process it at transformation time.
style: a XSLT process context attr: the attribute coming from the stylesheet. Function: xsltCreateRVT
xmlDocPtr	xsltCreateRVT		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)Create a result value tree
ctxt: an XSLT transformation context Returns: the result value tree or NULL in case of error Function: xsltDecimalFormatGetByName
libxslt-xsltInternals.html#xsltDecimalFormatPtrxsltDecimalFormatPtr 	xsltDecimalFormatGetByName	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  sheet, 							 xmlChar * name)Find decimal-format by name
sheet: the XSLT stylesheet name: the decimal-format name to find Returns: the libxslt-xsltInternals.html#xsltDecimalFormatPtrxsltDecimalFormatPtr Function type: xsltElemPreCompDeallocator
Function type: xsltElemPreCompDeallocator
void	xsltElemPreCompDeallocator	(
libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr  comp)
Deallocates an #xsltElemPreComp structure.
comp: the #xsltElemPreComp to free up Function: xsltEvalAVT
xmlChar *	xsltEvalAVT		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 void * avt, 					 xmlNodePtr node)Process the given AVT, and return the new string value.
ctxt: the XSLT transformation context avt: the prevompiled attribute value template info node: the node hosting the attribute Returns: the computed string value or NULL, must be deallocated by the caller. Function: xsltFormatNumberConversion
xmlXPathError	xsltFormatNumberConversion	( libxslt-xsltInternals.html#xsltDecimalFormatPtrxsltDecimalFormatPtr  self, 						 xmlChar * format, 						 double number, 						 xmlChar ** result)format-number() uses the JDK 1.1 DecimalFormat class: http://java.sun.com/products/jdk/1.1/docs/api/java.text.DecimalFormat.html Structure: pattern := subpattern{;subpattern} subpattern := {prefix}integer{.fraction}{suffix} prefix := '\\u0000'..'\\uFFFD' - specialCharacters suffix := '\\u0000'..'\\uFFFD' - specialCharacters integer := '#'* '0'* '0' fraction := '0'* '#'* Notation: X* 0 or more instances of X (X | Y) either X or Y. X..Y any character from X up to Y, inclusive. S - T characters in S, except those in T Special Characters: Symbol Meaning 0 a digit # a digit, zero shows as absent . placeholder for decimal separator , placeholder for grouping separator. ; separates formats. - default negative prefix. % multiply by 100 and show as percentage ? multiply by 1000 and show as per mille X any other characters can be used in the prefix or suffix ' used to quote special characters in a prefix or suffix.
self: the decimal format format: the format requested number: the value to format result: the place to ouput the result Returns: a possible XPath error Function: xsltFreeAVTList
void	xsltFreeAVTList			(void * avt)Free up the memory associated to the attribute value templates
avt: pointer to an list of AVT structures Function: xsltFreeRVTs
void	xsltFreeRVTs			( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt)Free all the registered result value tree of the transformation
ctxt: an XSLT transformation context Function: xsltFreeStackElemList
void	xsltFreeStackElemList		( libxslt-xsltInternals.html#xsltStackElemPtrxsltStackElemPtr  elem)Free up the memory allocated by @elem
elem: an XSLT stack element Function: xsltFreeStylesheet
void	xsltFreeStylesheet		( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  sheet)Free up the memory allocated by @sheet
sheet: an XSLT stylesheet Function: xsltIsBlank
int	xsltIsBlank			(xmlChar * str)Check if a string is ignorable
str: a string Returns: 1 if the string is NULL or made of blanks chars, 0 otherwise Function: xsltLoadStylesheetPI
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	xsltLoadStylesheetPI	(xmlDocPtr doc)This function tries to locate the stylesheet PI in the given document If found, and if contained within the document, it will extract that subtree to build the stylesheet to process @doc (doc itself will be modified). If found but referencing an external document it will attempt to load it and generate a stylesheet from it. In both cases, the resulting stylesheet and the document need to be freed once the transformation is done.
doc: a document to process Returns: a new XSLT stylesheet structure or NULL if not found. Function: xsltNewStylesheet
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	xsltNewStylesheet	(void)Create a new XSLT Stylesheet
Returns: the newly allocated libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  or NULL in case of error Function: xsltNumberFormat
void	xsltNumberFormat		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 libxslt-numbersInternals.html#xsltNumberDataPtrxsltNumberDataPtr  data, 					 xmlNodePtr node)Convert one number.
ctxt: the XSLT transformation context data: the formatting informations node: the data to format Function: xsltParseStylesheetDoc
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	xsltParseStylesheetDoc	(xmlDocPtr doc)parse an XSLT stylesheet building the associated structures
doc: and xmlDoc parsed XML Returns: a new XSLT stylesheet structure. Function: xsltParseStylesheetFile
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	xsltParseStylesheetFile	(const xmlChar * filename)Load and parse an XSLT stylesheet
filename: the filename/URL to the stylesheet Returns: a new XSLT stylesheet structure. Function: xsltParseStylesheetImportedDoc
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	xsltParseStylesheetImportedDoc	(xmlDocPtr doc, 							 libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style)parse an XSLT stylesheet building the associated structures except the processing not needed for imported documents.
doc: an xmlDoc parsed XML style: pointer to parent stylesheet Returns: a new XSLT stylesheet structure. Function: xsltParseStylesheetOutput
void	xsltParseStylesheetOutput	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlNodePtr cur)parse an XSLT stylesheet output element and record information related to the stylesheet output
style: the XSLT stylesheet cur: the "output" element Function: xsltParseStylesheetProcess
libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr 	xsltParseStylesheetProcess	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  ret, 							 xmlDocPtr doc)parse an XSLT stylesheet adding the associated structures
ret: the XSLT stylesheet doc: and xmlDoc parsed XML Returns: the value of the 'ret' parameter if everything went right, NULL if something went amiss. Function: xsltParseTemplateContent
void	xsltParseTemplateContent	( libxslt-xsltInternals.html#xsltStylesheetPtrxsltStylesheetPtr  style, 					 xmlNodePtr templ)parse a template content-model Clean-up the template content from unwanted ignorable blank nodes and process xslt:text
style: the XSLT stylesheet templ: the container node (can be a document for literal results) Function: xsltRegisterPersistRVT
int	xsltRegisterPersistRVT		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlDocPtr RVT)Register the result value tree for destruction at the end of the processing
ctxt: an XSLT transformation context RVT: a result value tree Returns: 0 in case of success and -1 in case of error. Function: xsltRegisterTmpRVT
int	xsltRegisterTmpRVT		( libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlDocPtr RVT)Register the result value tree for destruction at the end of the context
ctxt: an XSLT transformation context RVT: a result value tree Returns: 0 in case of success and -1 in case of error. Function type: xsltSortFunc
Function type: xsltSortFunc
void	xsltSortFunc			(
libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlNodePtr * sorts, 					 int nbsorts)
Signature of the function to use during sorting
ctxt: a transformation context sorts: the node-set to sort nbsorts: the number of sorts Function type: xsltTransformFunction
Function type: xsltTransformFunction
void	xsltTransformFunction		(
libxslt-xsltInternals.html#xsltTransformContextPtrxsltTransformContextPtr  ctxt, 					 xmlNodePtr node, 					 xmlNodePtr inst, 					 libxslt-xsltInternals.html#xsltElemPreCompPtrxsltElemPreCompPtr  comp)
Signature of the function associated to elements part of the stylesheet language like xsl:if or xsl:apply-templates.
ctxt: the XSLT transformation context node: the input node inst: the stylesheet node comp: the compiled information from the stylesheet ../bugs.htmlDaniel Veillard 
