1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

applied another cleanup comment diff from Heiko W. Rupp, regenerated the

* libxslt/*.h doc/* python/*: applied another cleanup comment
  diff from Heiko W. Rupp, regenerated the API and python
Daniel
This commit is contained in:
Daniel Veillard
2002-03-13 14:23:40 +00:00
parent 9670da92df
commit 398d93b837
23 changed files with 199 additions and 187 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 13 15:17:51 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/*.h doc/* python/*: applied another cleanup comment
diff from Heiko W. Rupp, regenerated the API and python
Wed Mar 13 13:41:19 CET 2002 Daniel Veillard <daniel@veillard.com> Wed Mar 13 13:41:19 CET 2002 Daniel Veillard <daniel@veillard.com>
* tests/docs/Makefile.am tests/docs/bug-76.xml * tests/docs/Makefile.am tests/docs/bug-76.xml

View File

@ -670,7 +670,7 @@ HREF="XMLCHAR"
></TR ></TR
></TABLE ></TABLE
><P ><P
>A function called at initialization time of an XSLT extension module</P >A function called at initialization time of an XSLT extension module.</P
><P ><P
></P ></P
><DIV ><DIV
@ -760,7 +760,7 @@ HREF="XMLCHAR"
></TR ></TR
></TABLE ></TABLE
><P ><P
>A function called at shutdown time of an XSLT extension module</P >A function called at shutdown time of an XSLT extension module.</P
><P ><P
></P ></P
><DIV ><DIV
@ -866,7 +866,7 @@ HREF="XMLCHAR"
></TR ></TR
></TABLE ></TABLE
><P ><P
>A function called at initialization time of an XSLT extension module</P >A function called at initialization time of an XSLT extension module.</P
><P ><P
></P ></P
><DIV ><DIV
@ -956,7 +956,7 @@ HREF="XMLCHAR"
></TR ></TR
></TABLE ></TABLE
><P ><P
>A function called at shutdown time of an XSLT extension module</P >A function called at shutdown time of an XSLT extension module.</P
><P ><P
></P ></P
><DIV ><DIV

View File

@ -284,7 +284,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>registering macro, not general purpose at all but used in different modules</P >Registering macro, not general purpose at all but used in different modules.</P
><P ><P
></P ></P
><DIV ><DIV

View File

@ -267,7 +267,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>a macro to import pointers from the stylesheet cascading order</P >A macro to import pointers from the stylesheet cascading order.</P
><P ><P
></P ></P
><DIV ><DIV
@ -366,7 +366,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>a macro to import intergers from the stylesheet cascading order</P >A macro to import intergers from the stylesheet cascading order.</P
><P ><P
></P ></P
><DIV ><DIV

View File

@ -322,7 +322,7 @@ CLASS="PROGRAMLISTING"
></TABLE ></TABLE
><P ><P
>Data structure used for the implementation of patterns. >Data structure used for the implementation of patterns.
It is kept private (in pattern.c)</P It is kept private (in pattern.c).</P
><P ><P
></P ></P
></DIV ></DIV

View File

@ -358,7 +358,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>registering macro, not general purpose at all but used in different modules</P >Registering macro, not general purpose at all but used in different modules.</P
><P ><P
></P ></P
><DIV ><DIV

View File

@ -215,7 +215,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>The default version of XSLT supported</P >The default version of XSLT supported.</P
><P ><P
></P ></P
></DIV ></DIV
@ -243,7 +243,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>The XSLT "vendor" string for this processor</P >The XSLT "vendor" string for this processor.</P
><P ><P
></P ></P
></DIV ></DIV
@ -271,7 +271,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>The XSLT "vendor" URL for this processor</P >The XSLT "vendor" URL for this processor.</P
><P ><P
></P ></P
></DIV ></DIV
@ -299,7 +299,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>The XSLT specification namespace</P >The XSLT specification namespace.</P
><P ><P
></P ></P
></DIV ></DIV

View File

@ -478,7 +478,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Max number of specified xsl:sort on an element</P >Max number of specified xsl:sort on an element.</P
><P ><P
></P ></P
></DIV ></DIV
@ -506,7 +506,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>specific value for pattern without priority expressed</P >Specific value for pattern without priority expressed.</P
><P ><P
></P ></P
></DIV ></DIV
@ -537,7 +537,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Extra information added to the transformation context</P >Extra information added to the transformation context.</P
><P ><P
></P ></P
></DIV ></DIV
@ -769,7 +769,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>The in-memory structure corresponding to an XSLT Template</P >The in-memory structure corresponding to an XSLT Template.</P
><P ><P
></P ></P
></DIV ></DIV
@ -839,7 +839,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Data structure of decimal-format</P >Data structure of decimal-format.</P
><P ><P
></P ></P
></DIV ></DIV
@ -898,7 +898,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Data structure associated to a parsed document</P >Data structure associated to a parsed document.</P
><P ><P
></P ></P
></DIV ></DIV
@ -1142,7 +1142,7 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMPPTR"
></TR ></TR
></TABLE ></TABLE
><P ><P
>signature of the function associated to elements part of the >Signature of the function associated to elements part of the
stylesheet language like xsl:if or xsl:apply-templates.</P stylesheet language like xsl:if or xsl:apply-templates.</P
><P ><P
></P ></P
@ -1314,7 +1314,7 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMPPTR"
>Deallocates an <A >Deallocates an <A
HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP" HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
>xsltElemPreComp</A >xsltElemPreComp</A
> structure</P > structure.</P
><P ><P
></P ></P
><DIV ><DIV
@ -1384,7 +1384,7 @@ CLASS="PROGRAMLISTING"
xmlNodePtr inst; /* the instruction */ xmlNodePtr inst; /* the instruction */
/* /*
* Pre computed values * Pre computed values.
*/ */
xmlChar *stype; /* sort */ xmlChar *stype; /* sort */
@ -1540,7 +1540,7 @@ CELLPADDING="6"
CLASS="PROGRAMLISTING" CLASS="PROGRAMLISTING"
>struct xsltStylesheet { >struct xsltStylesheet {
/* /*
* The stylesheet import relation is kept as a tree * The stylesheet import relation is kept as a tree.
*/ */
struct _xsltStylesheet *parent; struct _xsltStylesheet *parent;
struct _xsltStylesheet *next; struct _xsltStylesheet *next;
@ -1549,7 +1549,7 @@ CLASS="PROGRAMLISTING"
xsltDocumentPtr docList; /* the include document list */ xsltDocumentPtr docList; /* the include document list */
/* /*
* General data on the style sheet document * General data on the style sheet document.
*/ */
xmlDocPtr doc; /* the parsed XML stylesheet */ xmlDocPtr doc; /* the parsed XML stylesheet */
xmlHashTablePtr stripSpaces;/* the hash table of the strip-space and xmlHashTablePtr stripSpaces;/* the hash table of the strip-space and
@ -1558,12 +1558,12 @@ CLASS="PROGRAMLISTING"
xmlHashTablePtr cdataSection;/* the hash table of the cdata-section */ xmlHashTablePtr cdataSection;/* the hash table of the cdata-section */
/* /*
* Global variable or parameters * Global variable or parameters.
*/ */
xsltStackElemPtr variables; /* linked list of param and variables */ xsltStackElemPtr variables; /* linked list of param and variables */
/* /*
* Template descriptions * Template descriptions.
*/ */
xsltTemplatePtr templates; /* the ordered list of templates */ xsltTemplatePtr templates; /* the ordered list of templates */
void *templatesHash; /* hash table or wherever compiled templates void *templatesHash; /* hash table or wherever compiled templates
@ -1578,23 +1578,23 @@ CLASS="PROGRAMLISTING"
void *commentMatch; /* template based on comment() */ void *commentMatch; /* template based on comment() */
/* /*
* Namespace aliases * Namespace aliases.
*/ */
xmlHashTablePtr nsAliases; /* the namespace alias hash tables */ xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
/* /*
* Attribute sets * Attribute sets.
*/ */
xmlHashTablePtr attributeSets;/* the attribute sets hash tables */ xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
/* /*
* Namespaces * Namespaces.
*/ */
xmlHashTablePtr nsHash; /* the set of namespaces in use */ xmlHashTablePtr nsHash; /* the set of namespaces in use */
void *nsDefs; /* the namespaces defined */ void *nsDefs; /* the namespaces defined */
/* /*
* Key definitions * Key definitions.
*/ */
void *keys; /* key definitions */ void *keys; /* key definitions */
@ -1607,7 +1607,9 @@ CLASS="PROGRAMLISTING"
xmlChar *encoding; /* encoding string */ xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */ int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
/* Number formatting */ /*
* Number formatting.
*/
xsltDecimalFormatPtr decimalFormat; xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */ int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */ xmlChar *doctypePublic; /* doctype-public string */
@ -1616,7 +1618,7 @@ CLASS="PROGRAMLISTING"
xmlChar *mediaType; /* media-type string */ xmlChar *mediaType; /* media-type string */
/* /*
* Precomputed blocks * Precomputed blocks.
*/ */
xsltElemPreCompPtr preComps;/* list of precomputed blocks */ xsltElemPreCompPtr preComps;/* list of precomputed blocks */
int warnings; /* number of warnings found at compilation */ int warnings; /* number of warnings found at compilation */
@ -1630,7 +1632,7 @@ CLASS="PROGRAMLISTING"
void *_private; /* user defined data */ void *_private; /* user defined data */
/* /*
* Extensions * Extensions.
*/ */
xmlHashTablePtr extInfos; /* the extension data */ xmlHashTablePtr extInfos; /* the extension data */
int extrasNr; /* the number of extras required */ int extrasNr; /* the number of extras required */
@ -1751,8 +1753,8 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Macro to check if the XSLT processing should be stopped >Macro to check if the XSLT processing should be stopped.
will return from the function</P Will return from the function.</P
><P ><P
></P ></P
></DIV ></DIV
@ -1780,8 +1782,8 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Macro to check if the XSLT processing should be stopped >Macro to check if the XSLT processing should be stopped.
will goto the error: label</P Will goto the error: label.</P
><P ><P
></P ></P
></DIV ></DIV
@ -1809,8 +1811,8 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Macro to check if the XSLT processing should be stopped >Macro to check if the XSLT processing should be stopped.
will return from the function with a 0 value</P Will return from the function with a 0 value.</P
><P ><P
></P ></P
></DIV ></DIV

View File

@ -502,7 +502,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Checks that the element pertains to XSLt namespace</P >Checks that the element pertains to XSLT namespace.</P
><P ><P
></P ></P
><DIV ><DIV
@ -567,7 +567,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>Checks the value of an element in XSLT namespace</P >Checks the value of an element in XSLT namespace.</P
><P ><P
></P ></P
><DIV ><DIV
@ -649,7 +649,7 @@ CLASS="PROGRAMLISTING"
></TR ></TR
></TABLE ></TABLE
><P ><P
>check that a node is a 'real' one: document, element, text or attribute</P >Check that a node is a 'real' one: document, element, text or attribute.</P
><P ><P
></P ></P
><DIV ><DIV

View File

@ -298,13 +298,13 @@
<info>This macro is used to flag unused function parameters to GCC, useless here</info> <info>This macro is used to flag unused function parameters to GCC, useless here</info>
</macro> </macro>
<macro name='CHECK_STOPPED' file='xsltInternals'> <macro name='CHECK_STOPPED' file='xsltInternals'>
<info>Macro to check if the XSLT processing should be stopped will return from the function</info> <info>Macro to check if the XSLT processing should be stopped. Will return from the function.</info>
</macro> </macro>
<macro name='CHECK_STOPPED0' file='xsltInternals'> <macro name='CHECK_STOPPED0' file='xsltInternals'>
<info>Macro to check if the XSLT processing should be stopped will return from the function with a 0 value</info> <info>Macro to check if the XSLT processing should be stopped. Will return from the function with a 0 value.</info>
</macro> </macro>
<macro name='CHECK_STOPPEDE' file='xsltInternals'> <macro name='CHECK_STOPPEDE' file='xsltInternals'>
<info>Macro to check if the XSLT processing should be stopped will goto the error: label</info> <info>Macro to check if the XSLT processing should be stopped. Will goto the error: label.</info>
</macro> </macro>
<macro name='DEBUG_MEMORY' file='xsltwin32config'> <macro name='DEBUG_MEMORY' file='xsltwin32config'>
<info>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</info> <info>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</info>
@ -315,13 +315,13 @@
<macro name='IN_LIBXSLT' file='libxslt'> <macro name='IN_LIBXSLT' file='libxslt'>
</macro> </macro>
<macro name='IS_XSLT_ELEM' file='xsltutils'> <macro name='IS_XSLT_ELEM' file='xsltutils'>
<info>Checks that the element pertains to XSLt namespace</info> <info>Checks that the element pertains to XSLT namespace.</info>
</macro> </macro>
<macro name='IS_XSLT_NAME' file='xsltutils'> <macro name='IS_XSLT_NAME' file='xsltutils'>
<info>Checks the value of an element in XSLT namespace</info> <info>Checks the value of an element in XSLT namespace.</info>
</macro> </macro>
<macro name='IS_XSLT_REAL_NODE' file='xsltutils'> <macro name='IS_XSLT_REAL_NODE' file='xsltutils'>
<info>check that a node is a &apos;real&apos; one: document, element, text or attribute</info> <info>Check that a node is a &apos;real&apos; one: document, element, text or attribute.</info>
</macro> </macro>
<macro name='LIBXSLT_DOTTED_VERSION' file='xsltwin32config'> <macro name='LIBXSLT_DOTTED_VERSION' file='xsltwin32config'>
<info>the version string like &quot;1.2.3&quot;</info> <info>the version string like &quot;1.2.3&quot;</info>
@ -352,13 +352,13 @@
<const name='XSLT_DEBUG_STEPOUT' file='xsltutils'/> <const name='XSLT_DEBUG_STEPOUT' file='xsltutils'/>
<const name='XSLT_DEBUG_STOP' file='xsltutils'/> <const name='XSLT_DEBUG_STOP' file='xsltutils'/>
<macro name='XSLT_DEFAULT_URL' file='xslt'> <macro name='XSLT_DEFAULT_URL' file='xslt'>
<info>The XSLT &quot;vendor&quot; URL for this processor</info> <info>The XSLT &quot;vendor&quot; URL for this processor.</info>
</macro> </macro>
<macro name='XSLT_DEFAULT_VENDOR' file='xslt'> <macro name='XSLT_DEFAULT_VENDOR' file='xslt'>
<info>The XSLT &quot;vendor&quot; string for this processor</info> <info>The XSLT &quot;vendor&quot; string for this processor.</info>
</macro> </macro>
<macro name='XSLT_DEFAULT_VERSION' file='xslt'> <macro name='XSLT_DEFAULT_VERSION' file='xslt'>
<info>The default version of XSLT supported</info> <info>The default version of XSLT supported.</info>
</macro> </macro>
<const name='XSLT_FUNC_APPLYIMPORTS' file='xsltInternals'/> <const name='XSLT_FUNC_APPLYIMPORTS' file='xsltInternals'/>
<const name='XSLT_FUNC_APPLYTEMPLATES' file='xsltInternals'/> <const name='XSLT_FUNC_APPLYTEMPLATES' file='xsltInternals'/>
@ -383,41 +383,41 @@
<const name='XSLT_FUNC_WHEN' file='xsltInternals'/> <const name='XSLT_FUNC_WHEN' file='xsltInternals'/>
<const name='XSLT_FUNC_WITHPARAM' file='xsltInternals'/> <const name='XSLT_FUNC_WITHPARAM' file='xsltInternals'/>
<macro name='XSLT_GET_IMPORT_INT' file='imports'> <macro name='XSLT_GET_IMPORT_INT' file='imports'>
<info>a macro to import intergers from the stylesheet cascading order</info> <info>A macro to import intergers from the stylesheet cascading order.</info>
</macro> </macro>
<macro name='XSLT_GET_IMPORT_PTR' file='imports'> <macro name='XSLT_GET_IMPORT_PTR' file='imports'>
<info>a macro to import pointers from the stylesheet cascading order</info> <info>A macro to import pointers from the stylesheet cascading order.</info>
</macro> </macro>
<macro name='XSLT_LIBXSLT_NAMESPACE' file='extra'> <macro name='XSLT_LIBXSLT_NAMESPACE' file='extra'>
<info>This is the libxslt namespace for specific extensions</info> <info>This is the libxslt namespace for specific extensions.</info>
</macro> </macro>
<macro name='XSLT_MAX_SORT' file='xsltInternals'> <macro name='XSLT_MAX_SORT' file='xsltInternals'>
<info>Max number of specified xsl:sort on an element</info> <info>Max number of specified xsl:sort on an element.</info>
</macro> </macro>
<macro name='XSLT_NAMESPACE' file='xslt'> <macro name='XSLT_NAMESPACE' file='xslt'>
<info>The XSLT specification namespace</info> <info>The XSLT specification namespace.</info>
</macro> </macro>
<macro name='XSLT_NORM_SAXON_NAMESPACE' file='extra'> <macro name='XSLT_NORM_SAXON_NAMESPACE' file='extra'>
<info>This is Nom&apos;s namespace for SAXON extensions</info> <info>This is Norm&apos;s namespace for SAXON extensions.</info>
</macro> </macro>
<const name='XSLT_OUTPUT_HTML' file='xsltInternals'/> <const name='XSLT_OUTPUT_HTML' file='xsltInternals'/>
<const name='XSLT_OUTPUT_TEXT' file='xsltInternals'/> <const name='XSLT_OUTPUT_TEXT' file='xsltInternals'/>
<const name='XSLT_OUTPUT_XML' file='xsltInternals'/> <const name='XSLT_OUTPUT_XML' file='xsltInternals'/>
<macro name='XSLT_PAT_NO_PRIORITY' file='xsltInternals'> <macro name='XSLT_PAT_NO_PRIORITY' file='xsltInternals'>
<info>specific value for pattern without priority expressed</info> <info>Specific value for pattern without priority expressed.</info>
</macro> </macro>
<macro name='XSLT_REGISTER_FUNCTION_LOOKUP' file='functions'> <macro name='XSLT_REGISTER_FUNCTION_LOOKUP' file='functions'>
<info>registering macro, not general purpose at all but used in different modules</info> <info>Registering macro, not general purpose at all but used in different modules.</info>
</macro> </macro>
<macro name='XSLT_REGISTER_VARIABLE_LOOKUP' file='variables'> <macro name='XSLT_REGISTER_VARIABLE_LOOKUP' file='variables'>
<info>registering macro, not general purpose at all but used in different modules</info> <info>Registering macro, not general purpose at all but used in different modules.</info>
</macro> </macro>
<macro name='XSLT_RUNTIME_EXTRA' file='xsltInternals'> <macro name='XSLT_RUNTIME_EXTRA' file='xsltInternals'>
</macro> </macro>
<macro name='XSLT_RUNTIME_EXTRA_FREE' file='xsltInternals'> <macro name='XSLT_RUNTIME_EXTRA_FREE' file='xsltInternals'>
</macro> </macro>
<macro name='XSLT_SAXON_NAMESPACE' file='extra'> <macro name='XSLT_SAXON_NAMESPACE' file='extra'>
<info>This is Michael Kay&apos;s Saxon processor namespace for extensions</info> <info>This is Michael Kay&apos;s Saxon processor namespace for extensions.</info>
</macro> </macro>
<const name='XSLT_STATE_ERROR' file='xsltInternals'/> <const name='XSLT_STATE_ERROR' file='xsltInternals'/>
<const name='XSLT_STATE_OK' file='xsltInternals'/> <const name='XSLT_STATE_OK' file='xsltInternals'/>
@ -429,10 +429,10 @@
<macro name='XSLT_TODO' file='xsltutils'> <macro name='XSLT_TODO' file='xsltutils'>
</macro> </macro>
<macro name='XSLT_XALAN_NAMESPACE' file='extra'> <macro name='XSLT_XALAN_NAMESPACE' file='extra'>
<info>This is the Apache project XALAN processor namespace for extensions</info> <info>This is the Apache project XALAN processor namespace for extensions.</info>
</macro> </macro>
<macro name='XSLT_XT_NAMESPACE' file='extra'> <macro name='XSLT_XT_NAMESPACE' file='extra'>
<info>This is James Clark&apos;s XT processor namespace for extensions</info> <info>This is James Clark&apos;s XT processor namespace for extensions.</info>
</macro> </macro>
<function name='xslAddCall' file='xsltutils'> <function name='xslAddCall' file='xsltutils'>
<info>Add template &quot;call&quot; to call stack</info> <info>Add template &quot;call&quot; to call stack</info>
@ -619,7 +619,7 @@
<arg name='inst' type='xmlNodePtr' info='the xslt comment node '/> <arg name='inst' type='xmlNodePtr' info='the xslt comment node '/>
<arg name='comp' type='xsltStylePreCompPtr' info='precomputed information '/> <arg name='comp' type='xsltStylePreCompPtr' info='precomputed information '/>
</function> </function>
<struct name='xsltCompMatch' file='pattern' info='Data structure used for the implementation of patterns. It is kept private (in pattern.c)'/> <struct name='xsltCompMatch' file='pattern' info='Data structure used for the implementation of patterns. It is kept private (in pattern.c).'/>
<typedef name='xsltCompMatchPtr' file='pattern'/> <typedef name='xsltCompMatchPtr' file='pattern'/>
<function name='xsltCompilePattern' file='pattern'> <function name='xsltCompilePattern' file='pattern'>
<info>Compile the XSLT pattern and generates a list of precompiled form suitable for fast matching. </info> <info>Compile the XSLT pattern and generates a list of precompiled form suitable for fast matching. </info>
@ -669,7 +669,7 @@
<arg name='comp' type='xsltStylePreCompPtr' info='precomputed informations '/> <arg name='comp' type='xsltStylePreCompPtr' info='precomputed informations '/>
</function> </function>
<enum name='xsltDebugStatusCodes' file='xsltutils'/> <enum name='xsltDebugStatusCodes' file='xsltutils'/>
<struct name='xsltDecimalFormat' file='xsltInternals' info='Data structure of decimal-format'/> <struct name='xsltDecimalFormat' file='xsltInternals' info='Data structure of decimal-format.'/>
<function name='xsltDecimalFormatGetByName' file='xsltInternals'> <function name='xsltDecimalFormatGetByName' file='xsltInternals'>
<info>Find decimal-format by name</info> <info>Find decimal-format by name</info>
<return type='xsltDecimalFormatPtr'/> <return type='xsltDecimalFormatPtr'/>
@ -684,7 +684,7 @@
<arg name='sorts' type='xmlNodePtr *' info='array of sort nodes '/> <arg name='sorts' type='xmlNodePtr *' info='array of sort nodes '/>
<arg name='nbsorts' type='int' info='the number of sorts in the array '/> <arg name='nbsorts' type='int' info='the number of sorts in the array '/>
</function> </function>
<struct name='xsltDocument' file='xsltInternals' info='Data structure associated to a parsed document'/> <struct name='xsltDocument' file='xsltInternals' info='Data structure associated to a parsed document.'/>
<function name='xsltDocumentComp' file='preproc'> <function name='xsltDocumentComp' file='preproc'>
<info>Pre process an XSLT-1.1 document element</info> <info>Pre process an XSLT-1.1 document element</info>
<return type='xsltElemPreCompPtr'/> <return type='xsltElemPreCompPtr'/>
@ -717,7 +717,7 @@
</functype> </functype>
<struct name='xsltElemPreComp' file='xsltInternals' info='The in-memory structure corresponding to element precomputed data, designed to be extended by extension implementors.'/> <struct name='xsltElemPreComp' file='xsltInternals' info='The in-memory structure corresponding to element precomputed data, designed to be extended by extension implementors.'/>
<functype name='xsltElemPreCompDeallocator' file='xsltInternals'> <functype name='xsltElemPreCompDeallocator' file='xsltInternals'>
<info>Deallocates an xsltElemPreComp structure</info> <info>Deallocates an xsltElemPreComp structure.</info>
<return type='void'/> <return type='void'/>
<arg name='comp' type='xsltElemPreCompPtr' info='the xsltElemPreComp to free up '/> <arg name='comp' type='xsltElemPreCompPtr' info='the xsltElemPreComp to free up '/>
</functype> </functype>
@ -806,7 +806,7 @@
<arg name='URI' type='const xmlChar *'/> <arg name='URI' type='const xmlChar *'/>
</function> </function>
<functype name='xsltExtInitFunction' file='extensions'> <functype name='xsltExtInitFunction' file='extensions'>
<info>A function called at initialization time of an XSLT extension module</info> <info>A function called at initialization time of an XSLT extension module.</info>
<return type='void *'/> <return type='void *'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='an XSLT transformation context '/> <arg name='ctxt' type='xsltTransformContextPtr' info='an XSLT transformation context '/>
<arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/> <arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/>
@ -836,7 +836,7 @@
<arg name='URI' type='const xmlChar *' info='the top-level element namespace URI '/> <arg name='URI' type='const xmlChar *' info='the top-level element namespace URI '/>
</function> </function>
<functype name='xsltExtShutdownFunction' file='extensions'> <functype name='xsltExtShutdownFunction' file='extensions'>
<info>A function called at shutdown time of an XSLT extension module</info> <info>A function called at shutdown time of an XSLT extension module.</info>
<return type='void'/> <return type='void'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='an XSLT transformation context '/> <arg name='ctxt' type='xsltTransformContextPtr' info='an XSLT transformation context '/>
<arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/> <arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/>
@ -1383,7 +1383,7 @@
<arg name='SAX' type='xmlSAXHandlerPtr' info='a SAX handler for progressive callback output (not implemented yet) '/> <arg name='SAX' type='xmlSAXHandlerPtr' info='a SAX handler for progressive callback output (not implemented yet) '/>
<arg name='IObuf' type='xmlOutputBufferPtr' info='an output buffer for progressive output (not implemented yet) '/> <arg name='IObuf' type='xmlOutputBufferPtr' info='an output buffer for progressive output (not implemented yet) '/>
</function> </function>
<struct name='xsltRuntimeExtra' file='xsltInternals' info='Extra information added to the transformation context'/> <struct name='xsltRuntimeExtra' file='xsltInternals' info='Extra information added to the transformation context.'/>
<typedef name='xsltRuntimeExtraPtr' file='xsltInternals'/> <typedef name='xsltRuntimeExtraPtr' file='xsltInternals'/>
<function name='xsltSaveProfiling' file='xsltutils'> <function name='xsltSaveProfiling' file='xsltutils'>
<info>Save the profiling informations on output</info> <info>Save the profiling informations on output</info>
@ -1463,13 +1463,13 @@
<struct name='xsltStackElem' file='xsltInternals'/> <struct name='xsltStackElem' file='xsltInternals'/>
<typedef name='xsltStackElemPtr' file='xsltInternals'/> <typedef name='xsltStackElemPtr' file='xsltInternals'/>
<functype name='xsltStyleExtInitFunction' file='extensions'> <functype name='xsltStyleExtInitFunction' file='extensions'>
<info>A function called at initialization time of an XSLT extension module</info> <info>A function called at initialization time of an XSLT extension module.</info>
<return type='void *'/> <return type='void *'/>
<arg name='style' type='xsltStylesheetPtr'/> <arg name='style' type='xsltStylesheetPtr'/>
<arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/> <arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/>
</functype> </functype>
<functype name='xsltStyleExtShutdownFunction' file='extensions'> <functype name='xsltStyleExtShutdownFunction' file='extensions'>
<info>A function called at shutdown time of an XSLT extension module</info> <info>A function called at shutdown time of an XSLT extension module.</info>
<return type='void'/> <return type='void'/>
<arg name='style' type='xsltStylesheetPtr'/> <arg name='style' type='xsltStylesheetPtr'/>
<arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/> <arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/>
@ -1498,7 +1498,7 @@
<arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/>
<arg name='nargs' type='int' info='the number of arguments '/> <arg name='nargs' type='int' info='the number of arguments '/>
</function> </function>
<struct name='xsltTemplate' file='xsltInternals' info='The in-memory structure corresponding to an XSLT Template'/> <struct name='xsltTemplate' file='xsltInternals' info='The in-memory structure corresponding to an XSLT Template.'/>
<function name='xsltTemplateProcess' file='templates'> <function name='xsltTemplateProcess' file='templates'>
<info>Process the given node and return the new string value.</info> <info>Process the given node and return the new string value.</info>
<return type='xmlNodePtr *' info='the computed tree replacement '/> <return type='xmlNodePtr *' info='the computed tree replacement '/>
@ -1533,7 +1533,7 @@
<struct name='xsltTransformContext' file='xsltInternals'/> <struct name='xsltTransformContext' file='xsltInternals'/>
<typedef name='xsltTransformContextPtr' file='xsltInternals'/> <typedef name='xsltTransformContextPtr' file='xsltInternals'/>
<functype name='xsltTransformFunction' file='xsltInternals'> <functype name='xsltTransformFunction' file='xsltInternals'>
<info>signature of the function associated to elements part of the stylesheet language like xsl:if or xsl:apply-templates.</info> <info>Signature of the function associated to elements part of the stylesheet language like xsl:if or xsl:apply-templates.</info>
<return type='void'/> <return type='void'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='the XSLT transformation context '/> <arg name='ctxt' type='xsltTransformContextPtr' info='the XSLT transformation context '/>
<arg name='node' type='xmlNodePtr' info='the input node '/> <arg name='node' type='xmlNodePtr' info='the input node '/>

View File

@ -29,15 +29,15 @@ void
</FUNCTION> </FUNCTION>
<MACRO> <MACRO>
<NAME>LIBXSLT_DOTTED_VERSION</NAME> <NAME>LIBXSLT_DOTTED_VERSION</NAME>
#define LIBXSLT_DOTTED_VERSION "1.0.12" #define LIBXSLT_DOTTED_VERSION "1.0.13"
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>LIBXSLT_VERSION</NAME> <NAME>LIBXSLT_VERSION</NAME>
#define LIBXSLT_VERSION 10012 #define LIBXSLT_VERSION 10013
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>LIBXSLT_VERSION_STRING</NAME> <NAME>LIBXSLT_VERSION_STRING</NAME>
#define LIBXSLT_VERSION_STRING "10012" #define LIBXSLT_VERSION_STRING "10013"
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>WITH_XSLT_DEBUG</NAME> <NAME>WITH_XSLT_DEBUG</NAME>
@ -73,15 +73,15 @@ void
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>LIBXSLT_DOTTED_VERSION</NAME> <NAME>LIBXSLT_DOTTED_VERSION</NAME>
#define LIBXSLT_DOTTED_VERSION "1.0.12" #define LIBXSLT_DOTTED_VERSION "1.0.13"
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>LIBXSLT_VERSION</NAME> <NAME>LIBXSLT_VERSION</NAME>
#define LIBXSLT_VERSION 10012 #define LIBXSLT_VERSION 10013
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>LIBXSLT_VERSION_STRING</NAME> <NAME>LIBXSLT_VERSION_STRING</NAME>
#define LIBXSLT_VERSION_STRING "10012" #define LIBXSLT_VERSION_STRING "10013"
</MACRO> </MACRO>
<MACRO> <MACRO>
<NAME>WITH_XSLT_DEBUG</NAME> <NAME>WITH_XSLT_DEBUG</NAME>
@ -1255,7 +1255,7 @@ struct xsltStylePreComp {
xmlNodePtr inst; /* the instruction */ xmlNodePtr inst; /* the instruction */
/* /*
* Pre computed values * Pre computed values.
*/ */
xmlChar *stype; /* sort */ xmlChar *stype; /* sort */
@ -1326,7 +1326,7 @@ typedef xsltStylesheet *xsltStylesheetPtr;
<NAME>xsltStylesheet</NAME> <NAME>xsltStylesheet</NAME>
struct xsltStylesheet { struct xsltStylesheet {
/* /*
* The stylesheet import relation is kept as a tree * The stylesheet import relation is kept as a tree.
*/ */
struct _xsltStylesheet *parent; struct _xsltStylesheet *parent;
struct _xsltStylesheet *next; struct _xsltStylesheet *next;
@ -1335,7 +1335,7 @@ struct xsltStylesheet {
xsltDocumentPtr docList; /* the include document list */ xsltDocumentPtr docList; /* the include document list */
/* /*
* General data on the style sheet document * General data on the style sheet document.
*/ */
xmlDocPtr doc; /* the parsed XML stylesheet */ xmlDocPtr doc; /* the parsed XML stylesheet */
xmlHashTablePtr stripSpaces;/* the hash table of the strip-space and xmlHashTablePtr stripSpaces;/* the hash table of the strip-space and
@ -1344,12 +1344,12 @@ struct xsltStylesheet {
xmlHashTablePtr cdataSection;/* the hash table of the cdata-section */ xmlHashTablePtr cdataSection;/* the hash table of the cdata-section */
/* /*
* Global variable or parameters * Global variable or parameters.
*/ */
xsltStackElemPtr variables; /* linked list of param and variables */ xsltStackElemPtr variables; /* linked list of param and variables */
/* /*
* Template descriptions * Template descriptions.
*/ */
xsltTemplatePtr templates; /* the ordered list of templates */ xsltTemplatePtr templates; /* the ordered list of templates */
void *templatesHash; /* hash table or wherever compiled templates void *templatesHash; /* hash table or wherever compiled templates
@ -1364,23 +1364,23 @@ struct xsltStylesheet {
void *commentMatch; /* template based on comment() */ void *commentMatch; /* template based on comment() */
/* /*
* Namespace aliases * Namespace aliases.
*/ */
xmlHashTablePtr nsAliases; /* the namespace alias hash tables */ xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
/* /*
* Attribute sets * Attribute sets.
*/ */
xmlHashTablePtr attributeSets;/* the attribute sets hash tables */ xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
/* /*
* Namespaces * Namespaces.
*/ */
xmlHashTablePtr nsHash; /* the set of namespaces in use */ xmlHashTablePtr nsHash; /* the set of namespaces in use */
void *nsDefs; /* the namespaces defined */ void *nsDefs; /* the namespaces defined */
/* /*
* Key definitions * Key definitions.
*/ */
void *keys; /* key definitions */ void *keys; /* key definitions */
@ -1393,7 +1393,9 @@ struct xsltStylesheet {
xmlChar *encoding; /* encoding string */ xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */ int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
/* Number formatting */ /*
* Number formatting.
*/
xsltDecimalFormatPtr decimalFormat; xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */ int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */ xmlChar *doctypePublic; /* doctype-public string */
@ -1402,7 +1404,7 @@ struct xsltStylesheet {
xmlChar *mediaType; /* media-type string */ xmlChar *mediaType; /* media-type string */
/* /*
* Precomputed blocks * Precomputed blocks.
*/ */
xsltElemPreCompPtr preComps;/* list of precomputed blocks */ xsltElemPreCompPtr preComps;/* list of precomputed blocks */
int warnings; /* number of warnings found at compilation */ int warnings; /* number of warnings found at compilation */
@ -1416,7 +1418,7 @@ struct xsltStylesheet {
void *_private; /* user defined data */ void *_private; /* user defined data */
/* /*
* Extensions * Extensions.
*/ */
xmlHashTablePtr extInfos; /* the extension data */ xmlHashTablePtr extInfos; /* the extension data */
int extrasNr; /* the number of extras required */ int extrasNr; /* the number of extras required */

View File

@ -1433,6 +1433,7 @@
<ref name='xsltFindElemSpaceHandling'/> <ref name='xsltFindElemSpaceHandling'/>
</word> </word>
<word name='Check'> <word name='Check'>
<ref name='IS_XSLT_REAL_NODE'/>
<ref name='xsltCheckExtPrefix'/> <ref name='xsltCheckExtPrefix'/>
<ref name='xsltEvalStaticAttrValueTemplate'/> <ref name='xsltEvalStaticAttrValueTemplate'/>
<ref name='xsltIsBlank'/> <ref name='xsltIsBlank'/>
@ -1636,7 +1637,7 @@
<word name='Name'> <word name='Name'>
<ref name='xsltEvalStaticAttrValueTemplate'/> <ref name='xsltEvalStaticAttrValueTemplate'/>
</word> </word>
<word name='Nom'> <word name='Norm'>
<ref name='XSLT_NORM_SAXON_NAMESPACE'/> <ref name='XSLT_NORM_SAXON_NAMESPACE'/>
</word> </word>
</letter> </letter>
@ -1711,6 +1712,10 @@
<ref name='xsltRegisterExtModule'/> <ref name='xsltRegisterExtModule'/>
<ref name='xsltRegisterExtModuleFull'/> <ref name='xsltRegisterExtModuleFull'/>
</word> </word>
<word name='Registering'>
<ref name='XSLT_REGISTER_FUNCTION_LOOKUP'/>
<ref name='XSLT_REGISTER_VARIABLE_LOOKUP'/>
</word>
<word name='Registers'> <word name='Registers'>
<ref name='xsltRegisterAllElement'/> <ref name='xsltRegisterAllElement'/>
<ref name='xsltRegisterAllExtras'/> <ref name='xsltRegisterAllExtras'/>
@ -1763,9 +1768,15 @@
<ref name='xsltShutdownCtxtExts'/> <ref name='xsltShutdownCtxtExts'/>
<ref name='xsltShutdownExts'/> <ref name='xsltShutdownExts'/>
</word> </word>
<word name='Signature'>
<ref name='xsltTransformFunction'/>
</word>
<word name='Similar'> <word name='Similar'>
<ref name='xsltGetNsProp'/> <ref name='xsltGetNsProp'/>
</word> </word>
<word name='Specific'>
<ref name='XSLT_PAT_NO_PRIORITY'/>
</word>
<word name='Speed'> <word name='Speed'>
<ref name='WITH_XSLT_DEBUG'/> <ref name='WITH_XSLT_DEBUG'/>
<ref name='WITH_XSLT_DEBUGGER'/> <ref name='WITH_XSLT_DEBUGGER'/>
@ -1854,6 +1865,11 @@
<word name='WITH_XSLT_DEBUG_BREAKPOINTS'> <word name='WITH_XSLT_DEBUG_BREAKPOINTS'>
<ref name='xslAddCall'/> <ref name='xslAddCall'/>
</word> </word>
<word name='Will'>
<ref name='CHECK_STOPPED'/>
<ref name='CHECK_STOPPED0'/>
<ref name='CHECK_STOPPEDE'/>
</word>
<word name='Win32'> <word name='Win32'>
<ref name='LIBXSLT_PUBLIC'/> <ref name='LIBXSLT_PUBLIC'/>
</word> </word>
@ -1900,9 +1916,6 @@
<ref name='xsltDocumentComp'/> <ref name='xsltDocumentComp'/>
<ref name='xsltDocumentElem'/> <ref name='xsltDocumentElem'/>
</word> </word>
<word name='XSLt'>
<ref name='IS_XSLT_ELEM'/>
</word>
</letter> </letter>
<letter name='a'> <letter name='a'>
<word name='able'> <word name='able'>
@ -2266,7 +2279,6 @@
<ref name='CHECK_STOPPED'/> <ref name='CHECK_STOPPED'/>
<ref name='CHECK_STOPPED0'/> <ref name='CHECK_STOPPED0'/>
<ref name='CHECK_STOPPEDE'/> <ref name='CHECK_STOPPEDE'/>
<ref name='IS_XSLT_REAL_NODE'/>
</word> </word>
<word name='choose'> <word name='choose'>
<ref name='xsltChoose'/> <ref name='xsltChoose'/>
@ -3763,10 +3775,6 @@
<word name='registered'> <word name='registered'>
<ref name='xsltInitCtxtExts'/> <ref name='xsltInitCtxtExts'/>
</word> </word>
<word name='registering'>
<ref name='XSLT_REGISTER_FUNCTION_LOOKUP'/>
<ref name='XSLT_REGISTER_VARIABLE_LOOKUP'/>
</word>
<word name='related'> <word name='related'>
<ref name='xsltParseStylesheetOutput'/> <ref name='xsltParseStylesheetOutput'/>
</word> </word>
@ -3939,9 +3947,6 @@
<word name='signalled'> <word name='signalled'>
<ref name='xsltGetQNameURI'/> <ref name='xsltGetQNameURI'/>
</word> </word>
<word name='signature'>
<ref name='xsltTransformFunction'/>
</word>
<word name='simply'> <word name='simply'>
<ref name='xsltSetGenericDebugFunc'/> <ref name='xsltSetGenericDebugFunc'/>
<ref name='xsltSetGenericErrorFunc'/> <ref name='xsltSetGenericErrorFunc'/>
@ -3977,7 +3982,6 @@
</word> </word>
<word name='specific'> <word name='specific'>
<ref name='XSLT_LIBXSLT_NAMESPACE'/> <ref name='XSLT_LIBXSLT_NAMESPACE'/>
<ref name='XSLT_PAT_NO_PRIORITY'/>
</word> </word>
<word name='specification'> <word name='specification'>
<ref name='XSLT_NAMESPACE'/> <ref name='XSLT_NAMESPACE'/>
@ -4462,9 +4466,6 @@
<ref name='xsltFindElemSpaceHandling'/> <ref name='xsltFindElemSpaceHandling'/>
</word> </word>
<word name='will'> <word name='will'>
<ref name='CHECK_STOPPED'/>
<ref name='CHECK_STOPPED0'/>
<ref name='CHECK_STOPPEDE'/>
<ref name='xsltAttrListTemplateProcess'/> <ref name='xsltAttrListTemplateProcess'/>
<ref name='xsltGetQNameURI'/> <ref name='xsltGetQNameURI'/>
<ref name='xsltLoadStylesheetPI'/> <ref name='xsltLoadStylesheetPI'/>

View File

@ -17,7 +17,7 @@ extern "C" {
#endif #endif
/** /**
* Extension Modules API * Extension Modules API.
*/ */
/** /**
@ -25,9 +25,9 @@ extern "C" {
* @ctxt: an XSLT stylesheet * @ctxt: an XSLT stylesheet
* @URI: the namespace URI for the extension * @URI: the namespace URI for the extension
* *
* A function called at initialization time of an XSLT extension module * A function called at initialization time of an XSLT extension module.
* *
* Returns a pointer to the module specific data for this transformation * Returns a pointer to the module specific data for this transformation.
*/ */
typedef void * (*xsltStyleExtInitFunction) (xsltStylesheetPtr style, typedef void * (*xsltStyleExtInitFunction) (xsltStylesheetPtr style,
const xmlChar *URI); const xmlChar *URI);
@ -38,7 +38,7 @@ typedef void * (*xsltStyleExtInitFunction) (xsltStylesheetPtr style,
* @URI: the namespace URI for the extension * @URI: the namespace URI for the extension
* @data: the data associated to this module * @data: the data associated to this module
* *
* A function called at shutdown time of an XSLT extension module * A function called at shutdown time of an XSLT extension module.
*/ */
typedef void (*xsltStyleExtShutdownFunction) (xsltStylesheetPtr style, typedef void (*xsltStyleExtShutdownFunction) (xsltStylesheetPtr style,
const xmlChar *URI, const xmlChar *URI,
@ -49,9 +49,9 @@ typedef void (*xsltStyleExtShutdownFunction) (xsltStylesheetPtr style,
* @ctxt: an XSLT transformation context * @ctxt: an XSLT transformation context
* @URI: the namespace URI for the extension * @URI: the namespace URI for the extension
* *
* A function called at initialization time of an XSLT extension module * A function called at initialization time of an XSLT extension module.
* *
* Returns a pointer to the module specific data for this transformation * Returns a pointer to the module specific data for this transformation.
*/ */
typedef void * (*xsltExtInitFunction) (xsltTransformContextPtr ctxt, typedef void * (*xsltExtInitFunction) (xsltTransformContextPtr ctxt,
const xmlChar *URI); const xmlChar *URI);
@ -62,7 +62,7 @@ typedef void * (*xsltExtInitFunction) (xsltTransformContextPtr ctxt,
* @URI: the namespace URI for the extension * @URI: the namespace URI for the extension
* @data: the data associated to this module * @data: the data associated to this module
* *
* A function called at shutdown time of an XSLT extension module * A function called at shutdown time of an XSLT extension module.
*/ */
typedef void (*xsltExtShutdownFunction) (xsltTransformContextPtr ctxt, typedef void (*xsltExtShutdownFunction) (xsltTransformContextPtr ctxt,
const xmlChar *URI, const xmlChar *URI,
@ -155,7 +155,7 @@ int xsltUnregisterExtModuleTopLevel (const xmlChar *name,
const xmlChar *URI); const xmlChar *URI);
/* These 2 functions are deprecated for use within modules */ /* These 2 functions are deprecated for use within modules. */
int xsltRegisterExtFunction (xsltTransformContextPtr ctxt, int xsltRegisterExtFunction (xsltTransformContextPtr ctxt,
const xmlChar *name, const xmlChar *name,
const xmlChar *URI, const xmlChar *URI,
@ -166,7 +166,7 @@ int xsltRegisterExtElement (xsltTransformContextPtr ctxt,
xsltTransformFunction function); xsltTransformFunction function);
/* /*
* Extension Prefix handling API * Extension Prefix handling API.
* Those are used by the XSLT (pre)processor. * Those are used by the XSLT (pre)processor.
*/ */

View File

@ -19,28 +19,28 @@ extern "C" {
/** /**
* XSLT_LIBXSLT_NAMESPACE: * XSLT_LIBXSLT_NAMESPACE:
* *
* This is the libxslt namespace for specific extensions * This is the libxslt namespace for specific extensions.
*/ */
#define XSLT_LIBXSLT_NAMESPACE ((xmlChar *) "http://xmlsoft.org/XSLT/namespace") #define XSLT_LIBXSLT_NAMESPACE ((xmlChar *) "http://xmlsoft.org/XSLT/namespace")
/** /**
* XSLT_SAXON_NAMESPACE: * XSLT_SAXON_NAMESPACE:
* *
* This is Michael Kay's Saxon processor namespace for extensions * This is Michael Kay's Saxon processor namespace for extensions.
*/ */
#define XSLT_SAXON_NAMESPACE ((xmlChar *) "http://icl.com/saxon") #define XSLT_SAXON_NAMESPACE ((xmlChar *) "http://icl.com/saxon")
/** /**
* XSLT_XT_NAMESPACE: * XSLT_XT_NAMESPACE:
* *
* This is James Clark's XT processor namespace for extensions * This is James Clark's XT processor namespace for extensions.
*/ */
#define XSLT_XT_NAMESPACE ((xmlChar *) "http://www.jclark.com/xt") #define XSLT_XT_NAMESPACE ((xmlChar *) "http://www.jclark.com/xt")
/** /**
* XSLT_XALAN_NAMESPACE: * XSLT_XALAN_NAMESPACE:
* *
* This is the Apache project XALAN processor namespace for extensions * This is the Apache project XALAN processor namespace for extensions.
*/ */
#define XSLT_XALAN_NAMESPACE ((xmlChar *) \ #define XSLT_XALAN_NAMESPACE ((xmlChar *) \
"org.apache.xalan.xslt.extensions.Redirect") "org.apache.xalan.xslt.extensions.Redirect")
@ -48,7 +48,7 @@ extern "C" {
/** /**
* XSLT_NORM_SAXON_NAMESPACE: * XSLT_NORM_SAXON_NAMESPACE:
* *
* This is Nom's namespace for SAXON extensions * This is Norm's namespace for SAXON extensions.
*/ */
#define XSLT_NORM_SAXON_NAMESPACE ((xmlChar *) \ #define XSLT_NORM_SAXON_NAMESPACE ((xmlChar *) \
"http://nwalsh.com/xslt/ext/com.nwalsh.saxon.CVS") "http://nwalsh.com/xslt/ext/com.nwalsh.saxon.CVS")

View File

@ -21,7 +21,7 @@ extern "C" {
/** /**
* XSLT_REGISTER_FUNCTION_LOOKUP: * XSLT_REGISTER_FUNCTION_LOOKUP:
* *
* registering macro, not general purpose at all but used in different modules * Registering macro, not general purpose at all but used in different modules.
*/ */
#define XSLT_REGISTER_FUNCTION_LOOKUP(ctxt) \ #define XSLT_REGISTER_FUNCTION_LOOKUP(ctxt) \
xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt, \ xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt, \
@ -34,7 +34,7 @@ xmlXPathFunction
const xmlChar *ns_uri); const xmlChar *ns_uri);
/* /*
* Interfaces for the functions implementations * Interfaces for the functions implementations.
*/ */
void xsltDocumentFunction (xmlXPathParserContextPtr ctxt, void xsltDocumentFunction (xmlXPathParserContextPtr ctxt,

View File

@ -19,7 +19,7 @@ extern "C" {
/** /**
* XSLT_GET_IMPORT_PTR: * XSLT_GET_IMPORT_PTR:
* *
* a macro to import pointers from the stylesheet cascading order * A macro to import pointers from the stylesheet cascading order.
*/ */
#define XSLT_GET_IMPORT_PTR(res, style, name) { \ #define XSLT_GET_IMPORT_PTR(res, style, name) { \
xsltStylesheetPtr st = style; \ xsltStylesheetPtr st = style; \
@ -32,7 +32,7 @@ extern "C" {
/** /**
* XSLT_GET_IMPORT_INT: * XSLT_GET_IMPORT_INT:
* *
* a macro to import intergers from the stylesheet cascading order * A macro to import intergers from the stylesheet cascading order.
*/ */
#define XSLT_GET_IMPORT_INT(res, style, name) { \ #define XSLT_GET_IMPORT_INT(res, style, name) { \
xsltStylesheetPtr st = style; \ xsltStylesheetPtr st = style; \

View File

@ -19,7 +19,7 @@ extern "C" {
/** /**
* xsltNumberData: * xsltNumberData:
* *
* This data structure is just a wrapper to pass xsl:number data in * This data structure is just a wrapper to pass xsl:number data in.
*/ */
typedef struct _xsltNumberData { typedef struct _xsltNumberData {
xmlChar *level; xmlChar *level;
@ -37,7 +37,7 @@ typedef struct _xsltNumberData {
/** /**
* xsltFormatNumberInfo,: * xsltFormatNumberInfo,:
* *
* This data structure lists the various parameters needed to format numbers * This data structure lists the various parameters needed to format numbers.
*/ */
typedef struct _xsltFormatNumberInfo { typedef struct _xsltFormatNumberInfo {
int integer_digits; /* Number of '0' in integer part */ int integer_digits; /* Number of '0' in integer part */

View File

@ -19,13 +19,13 @@ extern "C" {
* xsltCompMatch: * xsltCompMatch:
* *
* Data structure used for the implementation of patterns. * Data structure used for the implementation of patterns.
* It is kept private (in pattern.c) * It is kept private (in pattern.c).
*/ */
typedef struct _xsltCompMatch xsltCompMatch; typedef struct _xsltCompMatch xsltCompMatch;
typedef xsltCompMatch *xsltCompMatchPtr; typedef xsltCompMatch *xsltCompMatchPtr;
/* /*
* Pattern related interfaces * Pattern related interfaces.
*/ */
xsltCompMatchPtr xsltCompilePattern (const xmlChar *pattern, xsltCompMatchPtr xsltCompilePattern (const xmlChar *pattern,
@ -39,7 +39,7 @@ int xsltTestCompMatchList (xsltTransformContextPtr ctxt,
xsltCompMatchPtr comp); xsltCompMatchPtr comp);
/* /*
* Template related interfaces * Template related interfaces.
*/ */
int xsltAddTemplate (xsltStylesheetPtr style, int xsltAddTemplate (xsltStylesheetPtr style,
xsltTemplatePtr cur, xsltTemplatePtr cur,

View File

@ -18,7 +18,7 @@ extern "C" {
#endif #endif
/** /**
* XInclude default processing * XInclude default processing.
*/ */
void xsltSetXIncludeDefault (int xinclude); void xsltSetXIncludeDefault (int xinclude);
int xsltGetXIncludeDefault (void); int xsltGetXIncludeDefault (void);
@ -38,7 +38,7 @@ xmlDocPtr xsltApplyStylesheetUser (xsltStylesheetPtr style,
FILE * profile, FILE * profile,
xsltTransformContextPtr userCtxt); xsltTransformContextPtr userCtxt);
/** /**
* Private Interfaces * Private Interfaces.
*/ */
void xsltApplyStripSpaces (xsltTransformContextPtr ctxt, void xsltApplyStripSpaces (xsltTransformContextPtr ctxt,
xmlNodePtr node); xmlNodePtr node);

View File

@ -22,7 +22,7 @@ extern "C" {
/** /**
* XSLT_REGISTER_VARIABLE_LOOKUP: * XSLT_REGISTER_VARIABLE_LOOKUP:
* *
* registering macro, not general purpose at all but used in different modules * Registering macro, not general purpose at all but used in different modules.
*/ */
#define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt) \ #define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt) \

View File

@ -18,35 +18,35 @@ extern "C" {
/** /**
* XSLT_DEFAULT_VERSION: * XSLT_DEFAULT_VERSION:
* *
* The default version of XSLT supported * The default version of XSLT supported.
*/ */
#define XSLT_DEFAULT_VERSION "1.0" #define XSLT_DEFAULT_VERSION "1.0"
/** /**
* XSLT_DEFAULT_VENDOR: * XSLT_DEFAULT_VENDOR:
* *
* The XSLT "vendor" string for this processor * The XSLT "vendor" string for this processor.
*/ */
#define XSLT_DEFAULT_VENDOR "libxslt" #define XSLT_DEFAULT_VENDOR "libxslt"
/** /**
* XSLT_DEFAULT_URL: * XSLT_DEFAULT_URL:
* *
* The XSLT "vendor" URL for this processor * The XSLT "vendor" URL for this processor.
*/ */
#define XSLT_DEFAULT_URL "http://xmlsoft.org/XSLT/" #define XSLT_DEFAULT_URL "http://xmlsoft.org/XSLT/"
/** /**
* XSLT_NAMESPACE: * XSLT_NAMESPACE:
* *
* The XSLT specification namespace * The XSLT specification namespace.
*/ */
#define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform") #define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform")
/** /**
* LIBXSLT_PUBLIC: * LIBXSLT_PUBLIC:
* *
* Macro used on Windows to tag public identifiers from shared libraries * Macro used on Windows to tag public identifiers from shared libraries.
*/ */
#if !defined LIBXSLT_PUBLIC #if !defined LIBXSLT_PUBLIC
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC #if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
@ -59,33 +59,33 @@ extern "C" {
/** /**
* xsltMaxDepth: * xsltMaxDepth:
* *
* This value is used to detect templates loops * This value is used to detect templates loops.
*/ */
LIBXSLT_PUBLIC extern int xsltMaxDepth; LIBXSLT_PUBLIC extern int xsltMaxDepth;
/** /**
* xsltEngineVersion: * xsltEngineVersion:
* *
* The version string for libxslt * The version string for libxslt.
*/ */
LIBXSLT_PUBLIC extern const char *xsltEngineVersion; LIBXSLT_PUBLIC extern const char *xsltEngineVersion;
/** /**
* xsltLibxsltVersion: * xsltLibxsltVersion:
* *
* The version of libxslt compiled * The version of libxslt compiled.
*/ */
LIBXSLT_PUBLIC extern const int xsltLibxsltVersion; LIBXSLT_PUBLIC extern const int xsltLibxsltVersion;
/** /**
* xsltLibxmlVersion: * xsltLibxmlVersion:
* *
* The version of libxml libxslt was compiled against * The version of libxml libxslt was compiled against.
*/ */
LIBXSLT_PUBLIC extern const int xsltLibxmlVersion; LIBXSLT_PUBLIC extern const int xsltLibxmlVersion;
/* /*
* Global cleanup function * Global cleanup function.
*/ */
void xsltCleanupGlobals (void); void xsltCleanupGlobals (void);

View File

@ -1,6 +1,6 @@
/* /*
* xsltInternals.h: internal data structures, constants and functions used * xsltInternals.h: internal data structures, constants and functions used
* by the XSLT engine * by the XSLT engine.
* They are not part of the API or ABI, i.e. they can change * They are not part of the API or ABI, i.e. they can change
* without prior notice, use carefully. * without prior notice, use carefully.
* *
@ -25,21 +25,21 @@ extern "C" {
/** /**
* XSLT_MAX_SORT: * XSLT_MAX_SORT:
* *
* Max number of specified xsl:sort on an element * Max number of specified xsl:sort on an element.
*/ */
#define XSLT_MAX_SORT 5 #define XSLT_MAX_SORT 5
/** /**
* XSLT_PAT_NO_PRIORITY: * XSLT_PAT_NO_PRIORITY:
* *
* specific value for pattern without priority expressed * Specific value for pattern without priority expressed.
*/ */
#define XSLT_PAT_NO_PRIORITY -12345789 #define XSLT_PAT_NO_PRIORITY -12345789
/** /**
* xsltRuntimeExtra: * xsltRuntimeExtra:
* *
* Extra information added to the transformation context * Extra information added to the transformation context.
*/ */
typedef struct _xsltRuntimeExtra xsltRuntimeExtra; typedef struct _xsltRuntimeExtra xsltRuntimeExtra;
typedef xsltRuntimeExtra *xsltRuntimeExtraPtr; typedef xsltRuntimeExtra *xsltRuntimeExtraPtr;
@ -54,7 +54,7 @@ struct _xsltRuntimeExtra {
/** /**
* xsltTemplate: * xsltTemplate:
* *
* The in-memory structure corresponding to an XSLT Template * The in-memory structure corresponding to an XSLT Template.
*/ */
typedef struct _xsltTemplate xsltTemplate; typedef struct _xsltTemplate xsltTemplate;
typedef xsltTemplate *xsltTemplatePtr; typedef xsltTemplate *xsltTemplatePtr;
@ -81,7 +81,7 @@ struct _xsltTemplate {
/** /**
* xsltDecimalFormat: * xsltDecimalFormat:
* *
* Data structure of decimal-format * Data structure of decimal-format.
*/ */
typedef struct _xsltDecimalFormat xsltDecimalFormat; typedef struct _xsltDecimalFormat xsltDecimalFormat;
typedef xsltDecimalFormat *xsltDecimalFormatPtr; typedef xsltDecimalFormat *xsltDecimalFormatPtr;
@ -106,7 +106,7 @@ struct _xsltDecimalFormat {
/** /**
* xsltDocument: * xsltDocument:
* *
* Data structure associated to a parsed document * Data structure associated to a parsed document.
*/ */
typedef struct _xsltDocument xsltDocument; typedef struct _xsltDocument xsltDocument;
@ -137,7 +137,7 @@ typedef xsltElemPreComp *xsltElemPreCompPtr;
* @inst: the stylesheet node * @inst: the stylesheet node
* @comp: the compiled information from the stylesheet * @comp: the compiled information from the stylesheet
* *
* signature of the function associated to elements part of the * Signature of the function associated to elements part of the
* stylesheet language like xsl:if or xsl:apply-templates. * stylesheet language like xsl:if or xsl:apply-templates.
*/ */
typedef void (*xsltTransformFunction) (xsltTransformContextPtr ctxt, typedef void (*xsltTransformFunction) (xsltTransformContextPtr ctxt,
@ -174,7 +174,7 @@ typedef enum {
* xsltElemPreCompDeallocator: * xsltElemPreCompDeallocator:
* @comp: the #xsltElemPreComp to free up * @comp: the #xsltElemPreComp to free up
* *
* Deallocates an #xsltElemPreComp structure * Deallocates an #xsltElemPreComp structure.
*/ */
typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp); typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp);
@ -211,7 +211,7 @@ struct _xsltStylePreComp {
xmlNodePtr inst; /* the instruction */ xmlNodePtr inst; /* the instruction */
/* /*
* Pre computed values * Pre computed values.
*/ */
xmlChar *stype; /* sort */ xmlChar *stype; /* sort */
@ -253,7 +253,7 @@ struct _xsltStylePreComp {
/* /*
* The in-memory structure corresponding to an XSLT Variable * The in-memory structure corresponding to an XSLT Variable
* or Param * or Param.
*/ */
typedef struct _xsltStackElem xsltStackElem; typedef struct _xsltStackElem xsltStackElem;
@ -270,7 +270,7 @@ struct _xsltStackElem {
}; };
/* /*
* The in-memory structure corresponding to an XSLT Stylesheet * The in-memory structure corresponding to an XSLT Stylesheet.
* NOTE: most of the content is simply linked from the doc tree * NOTE: most of the content is simply linked from the doc tree
* structure, no specific allocation is made. * structure, no specific allocation is made.
*/ */
@ -278,7 +278,7 @@ typedef struct _xsltStylesheet xsltStylesheet;
typedef xsltStylesheet *xsltStylesheetPtr; typedef xsltStylesheet *xsltStylesheetPtr;
struct _xsltStylesheet { struct _xsltStylesheet {
/* /*
* The stylesheet import relation is kept as a tree * The stylesheet import relation is kept as a tree.
*/ */
struct _xsltStylesheet *parent; struct _xsltStylesheet *parent;
struct _xsltStylesheet *next; struct _xsltStylesheet *next;
@ -287,7 +287,7 @@ struct _xsltStylesheet {
xsltDocumentPtr docList; /* the include document list */ xsltDocumentPtr docList; /* the include document list */
/* /*
* General data on the style sheet document * General data on the style sheet document.
*/ */
xmlDocPtr doc; /* the parsed XML stylesheet */ xmlDocPtr doc; /* the parsed XML stylesheet */
xmlHashTablePtr stripSpaces;/* the hash table of the strip-space and xmlHashTablePtr stripSpaces;/* the hash table of the strip-space and
@ -296,12 +296,12 @@ struct _xsltStylesheet {
xmlHashTablePtr cdataSection;/* the hash table of the cdata-section */ xmlHashTablePtr cdataSection;/* the hash table of the cdata-section */
/* /*
* Global variable or parameters * Global variable or parameters.
*/ */
xsltStackElemPtr variables; /* linked list of param and variables */ xsltStackElemPtr variables; /* linked list of param and variables */
/* /*
* Template descriptions * Template descriptions.
*/ */
xsltTemplatePtr templates; /* the ordered list of templates */ xsltTemplatePtr templates; /* the ordered list of templates */
void *templatesHash; /* hash table or wherever compiled templates void *templatesHash; /* hash table or wherever compiled templates
@ -316,23 +316,23 @@ struct _xsltStylesheet {
void *commentMatch; /* template based on comment() */ void *commentMatch; /* template based on comment() */
/* /*
* Namespace aliases * Namespace aliases.
*/ */
xmlHashTablePtr nsAliases; /* the namespace alias hash tables */ xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
/* /*
* Attribute sets * Attribute sets.
*/ */
xmlHashTablePtr attributeSets;/* the attribute sets hash tables */ xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
/* /*
* Namespaces * Namespaces.
*/ */
xmlHashTablePtr nsHash; /* the set of namespaces in use */ xmlHashTablePtr nsHash; /* the set of namespaces in use */
void *nsDefs; /* the namespaces defined */ void *nsDefs; /* the namespaces defined */
/* /*
* Key definitions * Key definitions.
*/ */
void *keys; /* key definitions */ void *keys; /* key definitions */
@ -345,7 +345,9 @@ struct _xsltStylesheet {
xmlChar *encoding; /* encoding string */ xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */ int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
/* Number formatting */ /*
* Number formatting.
*/
xsltDecimalFormatPtr decimalFormat; xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */ int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */ xmlChar *doctypePublic; /* doctype-public string */
@ -354,7 +356,7 @@ struct _xsltStylesheet {
xmlChar *mediaType; /* media-type string */ xmlChar *mediaType; /* media-type string */
/* /*
* Precomputed blocks * Precomputed blocks.
*/ */
xsltElemPreCompPtr preComps;/* list of precomputed blocks */ xsltElemPreCompPtr preComps;/* list of precomputed blocks */
int warnings; /* number of warnings found at compilation */ int warnings; /* number of warnings found at compilation */
@ -368,14 +370,14 @@ struct _xsltStylesheet {
void *_private; /* user defined data */ void *_private; /* user defined data */
/* /*
* Extensions * Extensions.
*/ */
xmlHashTablePtr extInfos; /* the extension data */ xmlHashTablePtr extInfos; /* the extension data */
int extrasNr; /* the number of extras required */ int extrasNr; /* the number of extras required */
}; };
/* /*
* The in-memory structure corresponding to an XSLT Transformation * The in-memory structure corresponding to an XSLT Transformation.
*/ */
typedef enum { typedef enum {
XSLT_OUTPUT_XML = 0, XSLT_OUTPUT_XML = 0,
@ -454,24 +456,24 @@ struct _xsltTransformContext {
/** /**
* CHECK_STOPPED: * CHECK_STOPPED:
* *
* Macro to check if the XSLT processing should be stopped * Macro to check if the XSLT processing should be stopped.
* will return from the function * Will return from the function.
*/ */
#define CHECK_STOPPED if (ctxt->state == XSLT_STATE_STOPPED) return; #define CHECK_STOPPED if (ctxt->state == XSLT_STATE_STOPPED) return;
/** /**
* CHECK_STOPPEDE: * CHECK_STOPPEDE:
* *
* Macro to check if the XSLT processing should be stopped * Macro to check if the XSLT processing should be stopped.
* will goto the error: label * Will goto the error: label.
*/ */
#define CHECK_STOPPEDE if (ctxt->state == XSLT_STATE_STOPPED) goto error; #define CHECK_STOPPEDE if (ctxt->state == XSLT_STATE_STOPPED) goto error;
/** /**
* CHECK_STOPPED0: * CHECK_STOPPED0:
* *
* Macro to check if the XSLT processing should be stopped * Macro to check if the XSLT processing should be stopped.
* will return from the function with a 0 value * Will return from the function with a 0 value.
*/ */
#define CHECK_STOPPED0 if (ctxt->state == XSLT_STATE_STOPPED) return(0); #define CHECK_STOPPED0 if (ctxt->state == XSLT_STATE_STOPPED) return(0);

View File

@ -1,5 +1,5 @@
/* /*
* xsltutils.h: interfaces for the utilities module of the XSLT engine * xsltutils.h: interfaces for the utilities module of the XSLT engine.
* *
* See Copyright for the status of this software. * See Copyright for the status of this software.
* *
@ -26,7 +26,7 @@ extern "C" {
/** /**
* TODO: * TODO:
* *
* macro to flag unimplemented blocks * Macro to flag unimplemented blocks.
*/ */
#define XSLT_TODO \ #define XSLT_TODO \
xsltGenericError(xsltGenericErrorContext, \ xsltGenericError(xsltGenericErrorContext, \
@ -36,7 +36,7 @@ extern "C" {
/** /**
* STRANGE: * STRANGE:
* *
* macro to flag that a problem was detected internally * Macro to flag that a problem was detected internally.
*/ */
#define XSLT_STRANGE \ #define XSLT_STRANGE \
xsltGenericError(xsltGenericErrorContext, \ xsltGenericError(xsltGenericErrorContext, \
@ -46,7 +46,7 @@ extern "C" {
/** /**
* IS_XSLT_ELEM: * IS_XSLT_ELEM:
* *
* Checks that the element pertains to XSLt namespace * Checks that the element pertains to XSLT namespace.
*/ */
#define IS_XSLT_ELEM(n) \ #define IS_XSLT_ELEM(n) \
(((n) != NULL) && ((n)->ns != NULL) && \ (((n) != NULL) && ((n)->ns != NULL) && \
@ -55,7 +55,7 @@ extern "C" {
/** /**
* IS_XSLT_NAME: * IS_XSLT_NAME:
* *
* Checks the value of an element in XSLT namespace * Checks the value of an element in XSLT namespace.
*/ */
#define IS_XSLT_NAME(n, val) \ #define IS_XSLT_NAME(n, val) \
(xmlStrEqual((n)->name, (const xmlChar *) (val))) (xmlStrEqual((n)->name, (const xmlChar *) (val)))
@ -63,7 +63,7 @@ extern "C" {
/** /**
* IS_XSLT_REAL_NODE: * IS_XSLT_REAL_NODE:
* *
* check that a node is a 'real' one: document, element, text or attribute * Check that a node is a 'real' one: document, element, text or attribute.
*/ */
#ifdef LIBXML_DOCB_ENABLED #ifdef LIBXML_DOCB_ENABLED
#define IS_XSLT_REAL_NODE(n) \ #define IS_XSLT_REAL_NODE(n) \
@ -85,14 +85,14 @@ extern "C" {
#endif #endif
/* /*
* Our own version of namespaced atributes lookup * Our own version of namespaced atributes lookup.
*/ */
xmlChar * xsltGetNsProp (xmlNodePtr node, xmlChar * xsltGetNsProp (xmlNodePtr node,
const xmlChar *name, const xmlChar *name,
const xmlChar *nameSpace); const xmlChar *nameSpace);
/* /*
* XSLT specific error and debug reporting functions * XSLT specific error and debug reporting functions.
*/ */
LIBXSLT_PUBLIC extern xmlGenericErrorFunc xsltGenericError; LIBXSLT_PUBLIC extern xmlGenericErrorFunc xsltGenericError;
LIBXSLT_PUBLIC extern void *xsltGenericErrorContext; LIBXSLT_PUBLIC extern void *xsltGenericErrorContext;
@ -111,7 +111,7 @@ void xsltSetGenericDebugFunc (void *ctx,
xmlGenericErrorFunc handler); xmlGenericErrorFunc handler);
/* /*
* Sorting * Sorting.
*/ */
void xsltDocumentSortFunction (xmlNodeSetPtr list); void xsltDocumentSortFunction (xmlNodeSetPtr list);
@ -120,14 +120,14 @@ void xsltDoSortFunction (xsltTransformContextPtr ctxt,
int nbsorts); int nbsorts);
/* /*
* QNames handling * QNames handling.
*/ */
const xmlChar * xsltGetQNameURI (xmlNodePtr node, const xmlChar * xsltGetQNameURI (xmlNodePtr node,
xmlChar **name); xmlChar **name);
/* /*
* Output, reuse libxml I/O buffers * Output, reuse libxml I/O buffers.
*/ */
int xsltSaveResultTo (xmlOutputBufferPtr buf, int xsltSaveResultTo (xmlOutputBufferPtr buf,
xmlDocPtr result, xmlDocPtr result,
@ -144,7 +144,7 @@ int xsltSaveResultToFd (int fd,
xsltStylesheetPtr style); xsltStylesheetPtr style);
/* /*
* profiling * Profiling.
*/ */
void xsltSaveProfiling (xsltTransformContextPtr ctxt, void xsltSaveProfiling (xsltTransformContextPtr ctxt,
FILE *output); FILE *output);
@ -155,7 +155,7 @@ void xsltCalibrateAdjust (long delta);
#define XSLT_TIMESTAMP_TICS_PER_SEC 100000l #define XSLT_TIMESTAMP_TICS_PER_SEC 100000l
/* /*
* Hooks for the debugger * Hooks for the debugger.
*/ */
typedef enum { typedef enum {