This macro is used to flag unused function parameters to GCC, useless here Macro to check if the XSLT processing should be stopped. Will return from the function. Macro to check if the XSLT processing should be stopped. Will return from the function with a 0 value. Macro to check if the XSLT processing should be stopped. Will goto the error: label. should be activated only when debugging libxslt. It replaces the allocator with a collect and debug shell to the libc allocator. Use configure --with-mem-debug to activate it on both library should be activated only when debugging libxslt. DEBUG_MEMORY_LOCATION should be activated only when libxml has been configured with --with-debug-mem too Checks that the element pertains to XSLT namespace. Checks the value of an element in XSLT namespace. Check that a node is a 'real' one: document, element, text or attribute. the version string like "1.2.3" This macro is needed on Win32 when using MSVC. It enables the client code to access exported variables. It should expand to nothing when compiling this library itself, but must expand to __declspec(dllimport) when a client includes the library header and that only if it links dynamically against this library. the version number: 1.2.3 value is 1002003 the version number string, 1.2.3 value is "1002003" Activate the compilation of the debug reporting. Speed penalty is insignifiant and being able to run xsltpoc -v is useful. On by default Activate the compilation of the debugger support. Speed penalty is insignifiant. On by default unless --without-debugger is passed to configure The XSLT "vendor" URL for this processor. The XSLT "vendor" string for this processor. The default version of XSLT supported. A macro to import intergers from the stylesheet cascading order. A macro to import pointers from the stylesheet cascading order. This is the libxslt namespace for specific extensions. Max number of specified xsl:sort on an element. The XSLT specification namespace. This is Norm's namespace for SAXON extensions. Specific value for pattern without priority expressed. Registering macro, not general purpose at all but used in different modules. Registering macro, not general purpose at all but used in different modules. This is Michael Kay's Saxon processor namespace for extensions. This is the Apache project XALAN processor namespace for extensions. This is James Clark's XT processor namespace for extensions. Add template "call" to call stack Drop the topmost item off the call stack If either cur or node are a breakpoint, or xslDebugStatus in state where debugging must occcur at this time then transfer control to the xslDebugBreak function add a key definition to a stylesheet add the new element list at this level of the stack. Register the XSLT pattern associated to cur Allocate an extra runtime information slot statically while compiling the stylesheet and return its number 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 Apply the xsl:use-attribute-sets Process the xslt apply-imports node on the source node 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 back (they may be reused). Strip the unwanted ignorable spaces from the input tree Apply the stylesheet to the document NOTE: This may lead to a non-wellformed output XML wise ! Apply the stylesheet to the document and allow the user to provide its own transformation context. Process the apply-templates node on the source node Do a copy of an attribute list with attribute template processing Process the given attribute and return the new processed copy. Process the given node and return the new string value. Process the xslt attribute node on the source node Used for to correct the calibration for xsltTimestamp() Process the xslt call-template node on the source node Check if the given prefix is one of the declared extensions Process the xslt choose node on the source node Unregister all global variables set up by the XSLT library Cleanup the state of the templates used by the stylesheet and the ones it imports. Process the xslt comment node on the source node Compile the XSLT pattern and generates a list of precompiled form suitable for fast matching. Process the xslt copy node on the source node Do a copy of an namespace node. If node is non-NULL the new namespaces are added automatically. This handles namespaces aliases Do a copy of an namespace list. If node is non-NULL the new namespaces are added automatically. This handles namespaces aliases Process the xslt copy-of node on the source node Process an debug node Find decimal-format by name reorder the current node list accordingly to the set of sorting requirement provided by the arry of nodes. Pre process an XSLT-1.1 document element Process an XSLT-1.1 document element Implement the document() XSLT function node-set document(object, node-set?) reorder the current node list list accordingly to the document order Deallocates an xsltElemPreComp structure. Process the xslt element node on the source node Implement the element-available() XSLT function boolean element-available(string) Evaluate a attribute value template, i.e. the attribute value can contain expressions contained in curly braces ({}) and those are substituted by they computed value. Evaluate the global variables of a stylesheet. This need to be done on parsed stylesheets before starting to apply transformations ctxt: the XSLT transformation context name: a null terminated string giving the name of the parameter value a null terminated string giving the XPath expression to be evaluated Check if an attribute value template has a static value, i.e. the attribute value does not contain expressions contained in curly braces ({}) Evaluate a template string value, i.e. the parent list is interpreter as template content and the resulting tree string value is returned This is needed for example by xsl:comment and xsl:processing-instruction ctxt: the XSLT transformation context params: a NULL terminated array of parameters name/value tuples Process the expression using XPath and evaluate the result as an XPath predicate Process the expression using XPath and get a string Looks up an extension element. ctxt can be NULL to search only in module elements. A function called at initialization time of an XSLT extension module. Looks up an extension module element Looks up an extension module element pre-computation function Looks up an extension module function Looks up an extension module top-level element A function called at shutdown time of an XSLT extension module. Try to find a document within the XSLT transformation context Find strip-space or preserve-space informations for an element respect the import precedence or the wildcards Finds the named template, apply import precedence rule. Process the xslt for-each node on the source node format-number() uses the JDK 1.1 DecimalFormat class: Implement the format-number() XSLT function string format-number(number, string, string?) Free up the memory used by attribute sets Free up the memory allocated by all the elements of comp Free the XSLT extension data Free the keys associated to a document Free up all the space used by the loaded documents Free up the memory used by XSLT extensions in a stylesheet Free up the data associated to the global variables its value. Free up the memory used by XSLT keys in a stylesheet Free up the memory used by namespaces aliases Free up the memory allocated by elem Free up all the space used by the loaded documents Free up the memory allocated by all precomputed blocks Free up the memory allocated by sheet Free up the memory used by xsltAddTemplate/xsltGetTemplate mechanism Free up the memory allocated by ctxt Implement the function-available() XSLT function boolean function-available(string) Implement the node-set() XSLT function node-set node-set(result-tree) Implement the generate-id() XSLT function string generate-id(node-set?) Retrieve the data associated to the extension module in this given transformation. Lookup a key Find the right namespace value for this prefix, if needed create and add a new namespace decalaration on the node Handle namespace aliases Similar to xmlGetNsProp() but with a slightly different semantic This function analyzes name, if the name contains a prefix, the function seaches the associated namespace in scope for it. It will also replace name value with the NCName, the old value being freed. Errors in the prefix lookup are signalled by setting name to NULL. Find the right namespace value for this URI, if needed create and add a new namespace decalaration on the node Finds the template applying to this node, if style is non-NULL it means one needs to look for the next imported template in scope. return the default state for XInclude processing Process the xslt if node on the source node Initialize the set of modules with registered stylesheet data Computes all the keys tables for the current input document. Should be done before global varibales are initialized. Initializes an existing xsltElemPreComp structure. This is usefull when extending an xsltElemPreComp to store precomputed data. This function MUST be called on any extension element precomputed data struct. Check if a string is ignorable Implement the key() XSLT function node-set key(string, object) Try to load a document within the XSLT transformation context Try to load a document within the XSLT transformation context 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. Determine if a node matches a pattern. Process and xsl:message construct Read the stylesheet-prefix and result-prefix attributes, register them as well as the corresponding namespace. Returns whether that stylesheet requires white-space stripping Register a new document, apply key computations Creates and initializes an xsltElemPreComp Register a new document, apply key computations Create a new XSLT Stylesheet Create a new XSLT TransformContext Find the next stylesheet in import precedence. Process the xslt number node on the source node Convert one number. parse an XSLT transformation param declaration and record its value. parse an XSLT transformation variable declaration and record its value. parse an XSLT stylesheet preserve-space element and record elements needing preserving parse an XSLT transformation param declaration, compute its value but doesn't record it. parse an XSLT stylesheet building the associated structures Load and parse an XSLT stylesheet parse an XSLT stylesheet strip-space element and record elements needing stripping parse an XSLT stylesheet strip-space element and record elements needing stripping parse an XSLT stylesheet output element and record information related to the stylesheet output parse an XSLT transformation param declaration and record its value. parse an XSLT stylesheet adding the associated structures parse an XSLT transformation variable declaration and record its value. parse a template content-model Clean-up the template content from unwanted ignorable blank nodes and process xslt:text Precomputes an extension module element Display the context of an error. Process the xslt processing-instruction node on the source node Apply the stylesheet to the document and dump the profiling to the given output. ctxt: the XSLT transformation context name: a null terminated string giving the name of the parameter value a null terminated string giving the parameter value ctxt: the XSLT transformation context params: a NULL terminated arry of parameters names/values tuples Registers all default XSLT elements in this context Registers the built-in extensions Registers all default XSLT functions in this context Registers an extension element Registers an extension function Register an XSLT extension module to the library. Registers an extension module element. Register an XSLT extension module to the library. Registers an extension module function. Registers an extension module top-level element. Registers an extension namespace Registers the built-in extensions. This function is deprecated, use xsltRegisterAllExtras instead. Registers the test module resolve the references between attribute sets. 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. Save the profiling informations on output Save the result result obtained by applying the style stylesheet to an I/O output channel buf Save the result result obtained by applying the style stylesheet to an open file descriptor This does not close the descriptor. Save the result result obtained by applying the style stylesheet to an open FILE * I/O. This does not close the FILE file Save the result result obtained by applying the style stylesheet to a file or URL Function to reset the handler and the error context for out of context error messages. This simply means that handler will be called for subsequent error messages while not parsing or validating. And ctx will be passed as first argument to handler One can simply force messages to be emitted to another FILE * than stderr by setting ctx to this file handle and handler to NULL. Function to reset the handler and the error context for out of context error messages. This simply means that handler will be called for subsequent error messages while not parsing nor validating. And ctx will be passed as first argument to handler One can simply force messages to be emitted to another FILE * than stderr by setting ctx to this file handle and handler to NULL. Set whether XInclude should be processed on document being loaded by default Shutdown the set of modules loaded Shutdown the set of modules loaded function attached to xsl:sort nodes, but this should not be called directly A function called at initialization time of an XSLT extension module. A function called at shutdown time of an XSLT extension module. Retrieve the data associated to the extension module in this given stylesheet. Precompute an XSLT stylesheet element Implement the system-property() XSLT function object system-property(string) Process the given node and return the new string value. Test wether the node matches one of the patterns in the list Process the xslt text node on the source node Used for gathering profiling data Signature of the function associated to elements part of the stylesheet language like xsl:if or xsl:apply-templates. Implement the unparsed-entity-uri() XSLT function string unparsed-entity-uri(string) Unregister an XSLT extension module from the library. Unregisters an extension module element Unregisters an extension module function Unregisters an extension module top-level element Process the xslt value-of node on the source node Search in the Variable array of the context for the given variable value. This is the entry point when a function is needed by the XPath interpretor. Returns the XSLT transformation context from the XPath transformation context. This is useful when an XPath function in the extension module is called by the XPath interpreter and that the XSLT context is needed for example to retrieve the associated data pertaining to this XSLT transformation. This is the entry point when a varibale is needed by the XPath interpretor.