summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--doc/html/libxslt-extensions.html8
-rw-r--r--doc/html/libxslt-functions.html2
-rw-r--r--doc/html/libxslt-imports.html4
-rw-r--r--doc/html/libxslt-pattern.html2
-rw-r--r--doc/html/libxslt-variables.html2
-rw-r--r--doc/html/libxslt-xslt.html8
-rw-r--r--doc/html/libxslt-xsltinternals.html54
-rw-r--r--doc/html/libxslt-xsltutils.html6
-rw-r--r--doc/libxslt-api.xml64
-rw-r--r--doc/libxslt-decl.txt38
-rw-r--r--doc/libxslt-refs.xml33
-rw-r--r--libxslt/extensions.h18
-rw-r--r--libxslt/extra.h10
-rw-r--r--libxslt/functions.h4
-rw-r--r--libxslt/imports.h4
-rw-r--r--libxslt/numbersInternals.h4
-rw-r--r--libxslt/pattern.h6
-rw-r--r--libxslt/transform.h4
-rw-r--r--libxslt/variables.h2
-rw-r--r--libxslt/xslt.h20
-rw-r--r--libxslt/xsltInternals.h62
-rw-r--r--libxslt/xsltutils.h26
23 files changed, 199 insertions, 187 deletions
diff --git a/ChangeLog b/ChangeLog
index cc620f2d..ef4a0e8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* tests/docs/Makefile.am tests/docs/bug-76.xml
diff --git a/doc/html/libxslt-extensions.html b/doc/html/libxslt-extensions.html
index 34fb3a82..630e9dfc 100644
--- a/doc/html/libxslt-extensions.html
+++ b/doc/html/libxslt-extensions.html
@@ -670,7 +670,7 @@ HREF="XMLCHAR"
></TR
></TABLE
><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
><DIV
@@ -760,7 +760,7 @@ HREF="XMLCHAR"
></TR
></TABLE
><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
><DIV
@@ -866,7 +866,7 @@ HREF="XMLCHAR"
></TR
></TABLE
><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
><DIV
@@ -956,7 +956,7 @@ HREF="XMLCHAR"
></TR
></TABLE
><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
><DIV
diff --git a/doc/html/libxslt-functions.html b/doc/html/libxslt-functions.html
index 9df48256..3e56311a 100644
--- a/doc/html/libxslt-functions.html
+++ b/doc/html/libxslt-functions.html
@@ -284,7 +284,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><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
><DIV
diff --git a/doc/html/libxslt-imports.html b/doc/html/libxslt-imports.html
index 6884b089..15b6de1d 100644
--- a/doc/html/libxslt-imports.html
+++ b/doc/html/libxslt-imports.html
@@ -267,7 +267,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><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
><DIV
@@ -366,7 +366,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><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
><DIV
diff --git a/doc/html/libxslt-pattern.html b/doc/html/libxslt-pattern.html
index 642ceba9..ce567266 100644
--- a/doc/html/libxslt-pattern.html
+++ b/doc/html/libxslt-pattern.html
@@ -322,7 +322,7 @@ CLASS="PROGRAMLISTING"
></TABLE
><P
>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
></DIV
diff --git a/doc/html/libxslt-variables.html b/doc/html/libxslt-variables.html
index bf3cb970..2cd2fa4e 100644
--- a/doc/html/libxslt-variables.html
+++ b/doc/html/libxslt-variables.html
@@ -358,7 +358,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><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
><DIV
diff --git a/doc/html/libxslt-xslt.html b/doc/html/libxslt-xslt.html
index a6d07756..d00445cc 100644
--- a/doc/html/libxslt-xslt.html
+++ b/doc/html/libxslt-xslt.html
@@ -215,7 +215,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->The default version of XSLT supported</P
+>The default version of XSLT supported.</P
><P
></P
></DIV
@@ -243,7 +243,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->The XSLT "vendor" string for this processor</P
+>The XSLT "vendor" string for this processor.</P
><P
></P
></DIV
@@ -271,7 +271,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->The XSLT "vendor" URL for this processor</P
+>The XSLT "vendor" URL for this processor.</P
><P
></P
></DIV
@@ -299,7 +299,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->The XSLT specification namespace</P
+>The XSLT specification namespace.</P
><P
></P
></DIV
diff --git a/doc/html/libxslt-xsltinternals.html b/doc/html/libxslt-xsltinternals.html
index 58753c86..9f5c64cc 100644
--- a/doc/html/libxslt-xsltinternals.html
+++ b/doc/html/libxslt-xsltinternals.html
@@ -478,7 +478,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Max number of specified xsl:sort on an element</P
+>Max number of specified xsl:sort on an element.</P
><P
></P
></DIV
@@ -506,7 +506,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->specific value for pattern without priority expressed</P
+>Specific value for pattern without priority expressed.</P
><P
></P
></DIV
@@ -537,7 +537,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Extra information added to the transformation context</P
+>Extra information added to the transformation context.</P
><P
></P
></DIV
@@ -769,7 +769,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->The in-memory structure corresponding to an XSLT Template</P
+>The in-memory structure corresponding to an XSLT Template.</P
><P
></P
></DIV
@@ -839,7 +839,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Data structure of decimal-format</P
+>Data structure of decimal-format.</P
><P
></P
></DIV
@@ -898,7 +898,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Data structure associated to a parsed document</P
+>Data structure associated to a parsed document.</P
><P
></P
></DIV
@@ -1142,7 +1142,7 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMPPTR"
></TR
></TABLE
><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
><P
></P
@@ -1314,7 +1314,7 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMPPTR"
>Deallocates an <A
HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
>xsltElemPreComp</A
-> structure</P
+> structure.</P
><P
></P
><DIV
@@ -1384,7 +1384,7 @@ CLASS="PROGRAMLISTING"
xmlNodePtr inst; /* the instruction */
/*
- * Pre computed values
+ * Pre computed values.
*/
xmlChar *stype; /* sort */
@@ -1540,7 +1540,7 @@ CELLPADDING="6"
CLASS="PROGRAMLISTING"
>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 *next;
@@ -1549,7 +1549,7 @@ CLASS="PROGRAMLISTING"
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 */
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 */
/*
- * Global variable or parameters
+ * Global variable or parameters.
*/
xsltStackElemPtr variables; /* linked list of param and variables */
/*
- * Template descriptions
+ * Template descriptions.
*/
xsltTemplatePtr templates; /* the ordered list of templates */
void *templatesHash; /* hash table or wherever compiled templates
@@ -1578,23 +1578,23 @@ CLASS="PROGRAMLISTING"
void *commentMatch; /* template based on comment() */
/*
- * Namespace aliases
+ * Namespace aliases.
*/
xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
/*
- * Attribute sets
+ * Attribute sets.
*/
xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
/*
- * Namespaces
+ * Namespaces.
*/
xmlHashTablePtr nsHash; /* the set of namespaces in use */
void *nsDefs; /* the namespaces defined */
/*
- * Key definitions
+ * Key definitions.
*/
void *keys; /* key definitions */
@@ -1607,7 +1607,9 @@ CLASS="PROGRAMLISTING"
xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
- /* Number formatting */
+ /*
+ * Number formatting.
+ */
xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */
@@ -1616,7 +1618,7 @@ CLASS="PROGRAMLISTING"
xmlChar *mediaType; /* media-type string */
/*
- * Precomputed blocks
+ * Precomputed blocks.
*/
xsltElemPreCompPtr preComps;/* list of precomputed blocks */
int warnings; /* number of warnings found at compilation */
@@ -1630,7 +1632,7 @@ CLASS="PROGRAMLISTING"
void *_private; /* user defined data */
/*
- * Extensions
+ * Extensions.
*/
xmlHashTablePtr extInfos; /* the extension data */
int extrasNr; /* the number of extras required */
@@ -1751,8 +1753,8 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Macro to check if the XSLT processing should be stopped
-will return from the function</P
+>Macro to check if the XSLT processing should be stopped.
+Will return from the function.</P
><P
></P
></DIV
@@ -1780,8 +1782,8 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Macro to check if the XSLT processing should be stopped
-will goto the error: label</P
+>Macro to check if the XSLT processing should be stopped.
+Will goto the error: label.</P
><P
></P
></DIV
@@ -1809,8 +1811,8 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Macro to check if the XSLT processing should be stopped
-will return from the function with a 0 value</P
+>Macro to check if the XSLT processing should be stopped.
+Will return from the function with a 0 value.</P
><P
></P
></DIV
diff --git a/doc/html/libxslt-xsltutils.html b/doc/html/libxslt-xsltutils.html
index 30c81e5b..1d53f681 100644
--- a/doc/html/libxslt-xsltutils.html
+++ b/doc/html/libxslt-xsltutils.html
@@ -502,7 +502,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Checks that the element pertains to XSLt namespace</P
+>Checks that the element pertains to XSLT namespace.</P
><P
></P
><DIV
@@ -567,7 +567,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
->Checks the value of an element in XSLT namespace</P
+>Checks the value of an element in XSLT namespace.</P
><P
></P
><DIV
@@ -649,7 +649,7 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><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
><DIV
diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml
index 8798e57d..3eb421f0 100644
--- a/doc/libxslt-api.xml
+++ b/doc/libxslt-api.xml
@@ -298,13 +298,13 @@
<info>This macro is used to flag unused function parameters to GCC, useless here</info>
</macro>
<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 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 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 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>
@@ -315,13 +315,13 @@
<macro name='IN_LIBXSLT' file='libxslt'>
</macro>
<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 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 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 name='LIBXSLT_DOTTED_VERSION' file='xsltwin32config'>
<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_STOP' file='xsltutils'/>
<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 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 name='XSLT_DEFAULT_VERSION' file='xslt'>
- <info>The default version of XSLT supported</info>
+ <info>The default version of XSLT supported.</info>
</macro>
<const name='XSLT_FUNC_APPLYIMPORTS' file='xsltInternals'/>
<const name='XSLT_FUNC_APPLYTEMPLATES' file='xsltInternals'/>
@@ -383,41 +383,41 @@
<const name='XSLT_FUNC_WHEN' file='xsltInternals'/>
<const name='XSLT_FUNC_WITHPARAM' file='xsltInternals'/>
<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 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 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 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 name='XSLT_NAMESPACE' file='xslt'>
- <info>The XSLT specification namespace</info>
+ <info>The XSLT specification namespace.</info>
</macro>
<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>
<const name='XSLT_OUTPUT_HTML' file='xsltInternals'/>
<const name='XSLT_OUTPUT_TEXT' file='xsltInternals'/>
<const name='XSLT_OUTPUT_XML' 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 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 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 name='XSLT_RUNTIME_EXTRA' file='xsltInternals'>
</macro>
<macro name='XSLT_RUNTIME_EXTRA_FREE' file='xsltInternals'>
</macro>
<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>
<const name='XSLT_STATE_ERROR' file='xsltInternals'/>
<const name='XSLT_STATE_OK' file='xsltInternals'/>
@@ -429,10 +429,10 @@
<macro name='XSLT_TODO' file='xsltutils'>
</macro>
<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 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>
<function name='xslAddCall' file='xsltutils'>
<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='comp' type='xsltStylePreCompPtr' info='precomputed information '/>
</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'/>
<function name='xsltCompilePattern' file='pattern'>
<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 '/>
</function>
<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'>
<info>Find decimal-format by name</info>
<return type='xsltDecimalFormatPtr'/>
@@ -684,7 +684,7 @@
<arg name='sorts' type='xmlNodePtr *' info='array of sort nodes '/>
<arg name='nbsorts' type='int' info='the number of sorts in the array '/>
</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'>
<info>Pre process an XSLT-1.1 document element</info>
<return type='xsltElemPreCompPtr'/>
@@ -717,7 +717,7 @@
</functype>
<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'>
- <info>Deallocates an xsltElemPreComp structure</info>
+ <info>Deallocates an xsltElemPreComp structure.</info>
<return type='void'/>
<arg name='comp' type='xsltElemPreCompPtr' info='the xsltElemPreComp to free up '/>
</functype>
@@ -806,7 +806,7 @@
<arg name='URI' type='const xmlChar *'/>
</function>
<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 *'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='an XSLT transformation context '/>
<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 '/>
</function>
<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'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='an XSLT transformation context '/>
<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='IObuf' type='xmlOutputBufferPtr' info='an output buffer for progressive output (not implemented yet) '/>
</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'/>
<function name='xsltSaveProfiling' file='xsltutils'>
<info>Save the profiling informations on output</info>
@@ -1463,13 +1463,13 @@
<struct name='xsltStackElem' file='xsltInternals'/>
<typedef name='xsltStackElemPtr' file='xsltInternals'/>
<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 *'/>
<arg name='style' type='xsltStylesheetPtr'/>
<arg name='URI' type='const xmlChar *' info='the namespace URI for the extension '/>
</functype>
<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'/>
<arg name='style' type='xsltStylesheetPtr'/>
<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='nargs' type='int' info='the number of arguments '/>
</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'>
<info>Process the given node and return the new string value.</info>
<return type='xmlNodePtr *' info='the computed tree replacement '/>
@@ -1533,7 +1533,7 @@
<struct name='xsltTransformContext' file='xsltInternals'/>
<typedef name='xsltTransformContextPtr' 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'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='the XSLT transformation context '/>
<arg name='node' type='xmlNodePtr' info='the input node '/>
diff --git a/doc/libxslt-decl.txt b/doc/libxslt-decl.txt
index eb1147c8..dca8a50c 100644
--- a/doc/libxslt-decl.txt
+++ b/doc/libxslt-decl.txt
@@ -29,15 +29,15 @@ void
</FUNCTION>
<MACRO>
<NAME>LIBXSLT_DOTTED_VERSION</NAME>
-#define LIBXSLT_DOTTED_VERSION "1.0.12"
+#define LIBXSLT_DOTTED_VERSION "1.0.13"
</MACRO>
<MACRO>
<NAME>LIBXSLT_VERSION</NAME>
-#define LIBXSLT_VERSION 10012
+#define LIBXSLT_VERSION 10013
</MACRO>
<MACRO>
<NAME>LIBXSLT_VERSION_STRING</NAME>
-#define LIBXSLT_VERSION_STRING "10012"
+#define LIBXSLT_VERSION_STRING "10013"
</MACRO>
<MACRO>
<NAME>WITH_XSLT_DEBUG</NAME>
@@ -73,15 +73,15 @@ void
</MACRO>
<MACRO>
<NAME>LIBXSLT_DOTTED_VERSION</NAME>
-#define LIBXSLT_DOTTED_VERSION "1.0.12"
+#define LIBXSLT_DOTTED_VERSION "1.0.13"
</MACRO>
<MACRO>
<NAME>LIBXSLT_VERSION</NAME>
-#define LIBXSLT_VERSION 10012
+#define LIBXSLT_VERSION 10013
</MACRO>
<MACRO>
<NAME>LIBXSLT_VERSION_STRING</NAME>
-#define LIBXSLT_VERSION_STRING "10012"
+#define LIBXSLT_VERSION_STRING "10013"
</MACRO>
<MACRO>
<NAME>WITH_XSLT_DEBUG</NAME>
@@ -1255,7 +1255,7 @@ struct xsltStylePreComp {
xmlNodePtr inst; /* the instruction */
/*
- * Pre computed values
+ * Pre computed values.
*/
xmlChar *stype; /* sort */
@@ -1326,7 +1326,7 @@ typedef xsltStylesheet *xsltStylesheetPtr;
<NAME>xsltStylesheet</NAME>
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 *next;
@@ -1335,7 +1335,7 @@ struct xsltStylesheet {
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 */
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 */
/*
- * Global variable or parameters
+ * Global variable or parameters.
*/
xsltStackElemPtr variables; /* linked list of param and variables */
/*
- * Template descriptions
+ * Template descriptions.
*/
xsltTemplatePtr templates; /* the ordered list of templates */
void *templatesHash; /* hash table or wherever compiled templates
@@ -1364,23 +1364,23 @@ struct xsltStylesheet {
void *commentMatch; /* template based on comment() */
/*
- * Namespace aliases
+ * Namespace aliases.
*/
xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
/*
- * Attribute sets
+ * Attribute sets.
*/
xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
/*
- * Namespaces
+ * Namespaces.
*/
xmlHashTablePtr nsHash; /* the set of namespaces in use */
void *nsDefs; /* the namespaces defined */
/*
- * Key definitions
+ * Key definitions.
*/
void *keys; /* key definitions */
@@ -1393,7 +1393,9 @@ struct xsltStylesheet {
xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
- /* Number formatting */
+ /*
+ * Number formatting.
+ */
xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */
@@ -1402,7 +1404,7 @@ struct xsltStylesheet {
xmlChar *mediaType; /* media-type string */
/*
- * Precomputed blocks
+ * Precomputed blocks.
*/
xsltElemPreCompPtr preComps;/* list of precomputed blocks */
int warnings; /* number of warnings found at compilation */
@@ -1416,7 +1418,7 @@ struct xsltStylesheet {
void *_private; /* user defined data */
/*
- * Extensions
+ * Extensions.
*/
xmlHashTablePtr extInfos; /* the extension data */
int extrasNr; /* the number of extras required */
diff --git a/doc/libxslt-refs.xml b/doc/libxslt-refs.xml
index 97f00128..54775f07 100644
--- a/doc/libxslt-refs.xml
+++ b/doc/libxslt-refs.xml
@@ -1433,6 +1433,7 @@
<ref name='xsltFindElemSpaceHandling'/>
</word>
<word name='Check'>
+ <ref name='IS_XSLT_REAL_NODE'/>
<ref name='xsltCheckExtPrefix'/>
<ref name='xsltEvalStaticAttrValueTemplate'/>
<ref name='xsltIsBlank'/>
@@ -1636,7 +1637,7 @@
<word name='Name'>
<ref name='xsltEvalStaticAttrValueTemplate'/>
</word>
- <word name='Nom'>
+ <word name='Norm'>
<ref name='XSLT_NORM_SAXON_NAMESPACE'/>
</word>
</letter>
@@ -1711,6 +1712,10 @@
<ref name='xsltRegisterExtModule'/>
<ref name='xsltRegisterExtModuleFull'/>
</word>
+ <word name='Registering'>
+ <ref name='XSLT_REGISTER_FUNCTION_LOOKUP'/>
+ <ref name='XSLT_REGISTER_VARIABLE_LOOKUP'/>
+ </word>
<word name='Registers'>
<ref name='xsltRegisterAllElement'/>
<ref name='xsltRegisterAllExtras'/>
@@ -1763,9 +1768,15 @@
<ref name='xsltShutdownCtxtExts'/>
<ref name='xsltShutdownExts'/>
</word>
+ <word name='Signature'>
+ <ref name='xsltTransformFunction'/>
+ </word>
<word name='Similar'>
<ref name='xsltGetNsProp'/>
</word>
+ <word name='Specific'>
+ <ref name='XSLT_PAT_NO_PRIORITY'/>
+ </word>
<word name='Speed'>
<ref name='WITH_XSLT_DEBUG'/>
<ref name='WITH_XSLT_DEBUGGER'/>
@@ -1854,6 +1865,11 @@
<word name='WITH_XSLT_DEBUG_BREAKPOINTS'>
<ref name='xslAddCall'/>
</word>
+ <word name='Will'>
+ <ref name='CHECK_STOPPED'/>
+ <ref name='CHECK_STOPPED0'/>
+ <ref name='CHECK_STOPPEDE'/>
+ </word>
<word name='Win32'>
<ref name='LIBXSLT_PUBLIC'/>
</word>
@@ -1900,9 +1916,6 @@
<ref name='xsltDocumentComp'/>
<ref name='xsltDocumentElem'/>
</word>
- <word name='XSLt'>
- <ref name='IS_XSLT_ELEM'/>
- </word>
</letter>
<letter name='a'>
<word name='able'>
@@ -2266,7 +2279,6 @@
<ref name='CHECK_STOPPED'/>
<ref name='CHECK_STOPPED0'/>
<ref name='CHECK_STOPPEDE'/>
- <ref name='IS_XSLT_REAL_NODE'/>
</word>
<word name='choose'>
<ref name='xsltChoose'/>
@@ -3763,10 +3775,6 @@
<word name='registered'>
<ref name='xsltInitCtxtExts'/>
</word>
- <word name='registering'>
- <ref name='XSLT_REGISTER_FUNCTION_LOOKUP'/>
- <ref name='XSLT_REGISTER_VARIABLE_LOOKUP'/>
- </word>
<word name='related'>
<ref name='xsltParseStylesheetOutput'/>
</word>
@@ -3939,9 +3947,6 @@
<word name='signalled'>
<ref name='xsltGetQNameURI'/>
</word>
- <word name='signature'>
- <ref name='xsltTransformFunction'/>
- </word>
<word name='simply'>
<ref name='xsltSetGenericDebugFunc'/>
<ref name='xsltSetGenericErrorFunc'/>
@@ -3977,7 +3982,6 @@
</word>
<word name='specific'>
<ref name='XSLT_LIBXSLT_NAMESPACE'/>
- <ref name='XSLT_PAT_NO_PRIORITY'/>
</word>
<word name='specification'>
<ref name='XSLT_NAMESPACE'/>
@@ -4462,9 +4466,6 @@
<ref name='xsltFindElemSpaceHandling'/>
</word>
<word name='will'>
- <ref name='CHECK_STOPPED'/>
- <ref name='CHECK_STOPPED0'/>
- <ref name='CHECK_STOPPEDE'/>
<ref name='xsltAttrListTemplateProcess'/>
<ref name='xsltGetQNameURI'/>
<ref name='xsltLoadStylesheetPI'/>
diff --git a/libxslt/extensions.h b/libxslt/extensions.h
index 71bd719b..bad3bff7 100644
--- a/libxslt/extensions.h
+++ b/libxslt/extensions.h
@@ -17,7 +17,7 @@ extern "C" {
#endif
/**
- * Extension Modules API
+ * Extension Modules API.
*/
/**
@@ -25,9 +25,9 @@ extern "C" {
* @ctxt: an XSLT stylesheet
* @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,
const xmlChar *URI);
@@ -38,7 +38,7 @@ typedef void * (*xsltStyleExtInitFunction) (xsltStylesheetPtr style,
* @URI: the namespace URI for the extension
* @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,
const xmlChar *URI,
@@ -49,9 +49,9 @@ typedef void (*xsltStyleExtShutdownFunction) (xsltStylesheetPtr style,
* @ctxt: an XSLT transformation context
* @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,
const xmlChar *URI);
@@ -62,7 +62,7 @@ typedef void * (*xsltExtInitFunction) (xsltTransformContextPtr ctxt,
* @URI: the namespace URI for the extension
* @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,
const xmlChar *URI,
@@ -155,7 +155,7 @@ int xsltUnregisterExtModuleTopLevel (const xmlChar *name,
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,
const xmlChar *name,
const xmlChar *URI,
@@ -166,7 +166,7 @@ int xsltRegisterExtElement (xsltTransformContextPtr ctxt,
xsltTransformFunction function);
/*
- * Extension Prefix handling API
+ * Extension Prefix handling API.
* Those are used by the XSLT (pre)processor.
*/
diff --git a/libxslt/extra.h b/libxslt/extra.h
index 6db0f651..309108f6 100644
--- a/libxslt/extra.h
+++ b/libxslt/extra.h
@@ -19,28 +19,28 @@ extern "C" {
/**
* 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")
/**
* 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")
/**
* 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")
/**
* 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 *) \
"org.apache.xalan.xslt.extensions.Redirect")
@@ -48,7 +48,7 @@ extern "C" {
/**
* 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 *) \
"http://nwalsh.com/xslt/ext/com.nwalsh.saxon.CVS")
diff --git a/libxslt/functions.h b/libxslt/functions.h
index 98e13e6e..bfd049ea 100644
--- a/libxslt/functions.h
+++ b/libxslt/functions.h
@@ -21,7 +21,7 @@ extern "C" {
/**
* 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) \
xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt, \
@@ -34,7 +34,7 @@ xmlXPathFunction
const xmlChar *ns_uri);
/*
- * Interfaces for the functions implementations
+ * Interfaces for the functions implementations.
*/
void xsltDocumentFunction (xmlXPathParserContextPtr ctxt,
diff --git a/libxslt/imports.h b/libxslt/imports.h
index b8a3bbb6..b002a097 100644
--- a/libxslt/imports.h
+++ b/libxslt/imports.h
@@ -19,7 +19,7 @@ extern "C" {
/**
* 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) { \
xsltStylesheetPtr st = style; \
@@ -32,7 +32,7 @@ extern "C" {
/**
* 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) { \
xsltStylesheetPtr st = style; \
diff --git a/libxslt/numbersInternals.h b/libxslt/numbersInternals.h
index 0cb7df4c..b4d9359e 100644
--- a/libxslt/numbersInternals.h
+++ b/libxslt/numbersInternals.h
@@ -19,7 +19,7 @@ extern "C" {
/**
* 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 {
xmlChar *level;
@@ -37,7 +37,7 @@ typedef struct _xsltNumberData {
/**
* 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 {
int integer_digits; /* Number of '0' in integer part */
diff --git a/libxslt/pattern.h b/libxslt/pattern.h
index 57b7482c..52e8a17d 100644
--- a/libxslt/pattern.h
+++ b/libxslt/pattern.h
@@ -19,13 +19,13 @@ extern "C" {
* xsltCompMatch:
*
* 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 xsltCompMatch *xsltCompMatchPtr;
/*
- * Pattern related interfaces
+ * Pattern related interfaces.
*/
xsltCompMatchPtr xsltCompilePattern (const xmlChar *pattern,
@@ -39,7 +39,7 @@ int xsltTestCompMatchList (xsltTransformContextPtr ctxt,
xsltCompMatchPtr comp);
/*
- * Template related interfaces
+ * Template related interfaces.
*/
int xsltAddTemplate (xsltStylesheetPtr style,
xsltTemplatePtr cur,
diff --git a/libxslt/transform.h b/libxslt/transform.h
index 9aa7386a..7223bd6d 100644
--- a/libxslt/transform.h
+++ b/libxslt/transform.h
@@ -18,7 +18,7 @@ extern "C" {
#endif
/**
- * XInclude default processing
+ * XInclude default processing.
*/
void xsltSetXIncludeDefault (int xinclude);
int xsltGetXIncludeDefault (void);
@@ -38,7 +38,7 @@ xmlDocPtr xsltApplyStylesheetUser (xsltStylesheetPtr style,
FILE * profile,
xsltTransformContextPtr userCtxt);
/**
- * Private Interfaces
+ * Private Interfaces.
*/
void xsltApplyStripSpaces (xsltTransformContextPtr ctxt,
xmlNodePtr node);
diff --git a/libxslt/variables.h b/libxslt/variables.h
index d118f230..1d809f82 100644
--- a/libxslt/variables.h
+++ b/libxslt/variables.h
@@ -22,7 +22,7 @@ extern "C" {
/**
* 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) \
diff --git a/libxslt/xslt.h b/libxslt/xslt.h
index 0dfb6606..2d96491e 100644
--- a/libxslt/xslt.h
+++ b/libxslt/xslt.h
@@ -18,35 +18,35 @@ extern "C" {
/**
* XSLT_DEFAULT_VERSION:
*
- * The default version of XSLT supported
+ * The default version of XSLT supported.
*/
#define XSLT_DEFAULT_VERSION "1.0"
/**
* XSLT_DEFAULT_VENDOR:
*
- * The XSLT "vendor" string for this processor
+ * The XSLT "vendor" string for this processor.
*/
#define XSLT_DEFAULT_VENDOR "libxslt"
/**
* 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/"
/**
* XSLT_NAMESPACE:
*
- * The XSLT specification namespace
+ * The XSLT specification namespace.
*/
#define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform")
/**
* 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 (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
@@ -59,33 +59,33 @@ extern "C" {
/**
* xsltMaxDepth:
*
- * This value is used to detect templates loops
+ * This value is used to detect templates loops.
*/
LIBXSLT_PUBLIC extern int xsltMaxDepth;
/**
* xsltEngineVersion:
*
- * The version string for libxslt
+ * The version string for libxslt.
*/
LIBXSLT_PUBLIC extern const char *xsltEngineVersion;
/**
* xsltLibxsltVersion:
*
- * The version of libxslt compiled
+ * The version of libxslt compiled.
*/
LIBXSLT_PUBLIC extern const int xsltLibxsltVersion;
/**
* xsltLibxmlVersion:
*
- * The version of libxml libxslt was compiled against
+ * The version of libxml libxslt was compiled against.
*/
LIBXSLT_PUBLIC extern const int xsltLibxmlVersion;
/*
- * Global cleanup function
+ * Global cleanup function.
*/
void xsltCleanupGlobals (void);
diff --git a/libxslt/xsltInternals.h b/libxslt/xsltInternals.h
index 7458578b..5a05570a 100644
--- a/libxslt/xsltInternals.h
+++ b/libxslt/xsltInternals.h
@@ -1,6 +1,6 @@
/*
* 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
* without prior notice, use carefully.
*
@@ -25,21 +25,21 @@ extern "C" {
/**
* 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
/**
* XSLT_PAT_NO_PRIORITY:
*
- * specific value for pattern without priority expressed
+ * Specific value for pattern without priority expressed.
*/
#define XSLT_PAT_NO_PRIORITY -12345789
/**
* xsltRuntimeExtra:
*
- * Extra information added to the transformation context
+ * Extra information added to the transformation context.
*/
typedef struct _xsltRuntimeExtra xsltRuntimeExtra;
typedef xsltRuntimeExtra *xsltRuntimeExtraPtr;
@@ -54,7 +54,7 @@ struct _xsltRuntimeExtra {
/**
* xsltTemplate:
*
- * The in-memory structure corresponding to an XSLT Template
+ * The in-memory structure corresponding to an XSLT Template.
*/
typedef struct _xsltTemplate xsltTemplate;
typedef xsltTemplate *xsltTemplatePtr;
@@ -81,7 +81,7 @@ struct _xsltTemplate {
/**
* xsltDecimalFormat:
*
- * Data structure of decimal-format
+ * Data structure of decimal-format.
*/
typedef struct _xsltDecimalFormat xsltDecimalFormat;
typedef xsltDecimalFormat *xsltDecimalFormatPtr;
@@ -106,7 +106,7 @@ struct _xsltDecimalFormat {
/**
* xsltDocument:
*
- * Data structure associated to a parsed document
+ * Data structure associated to a parsed document.
*/
typedef struct _xsltDocument xsltDocument;
@@ -137,7 +137,7 @@ typedef xsltElemPreComp *xsltElemPreCompPtr;
* @inst: the stylesheet node
* @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.
*/
typedef void (*xsltTransformFunction) (xsltTransformContextPtr ctxt,
@@ -174,7 +174,7 @@ typedef enum {
* xsltElemPreCompDeallocator:
* @comp: the #xsltElemPreComp to free up
*
- * Deallocates an #xsltElemPreComp structure
+ * Deallocates an #xsltElemPreComp structure.
*/
typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp);
@@ -211,7 +211,7 @@ struct _xsltStylePreComp {
xmlNodePtr inst; /* the instruction */
/*
- * Pre computed values
+ * Pre computed values.
*/
xmlChar *stype; /* sort */
@@ -253,7 +253,7 @@ struct _xsltStylePreComp {
/*
* The in-memory structure corresponding to an XSLT Variable
- * or Param
+ * or Param.
*/
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
* structure, no specific allocation is made.
*/
@@ -278,7 +278,7 @@ typedef struct _xsltStylesheet xsltStylesheet;
typedef xsltStylesheet *xsltStylesheetPtr;
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 *next;
@@ -287,7 +287,7 @@ struct _xsltStylesheet {
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 */
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 */
/*
- * Global variable or parameters
+ * Global variable or parameters.
*/
xsltStackElemPtr variables; /* linked list of param and variables */
/*
- * Template descriptions
+ * Template descriptions.
*/
xsltTemplatePtr templates; /* the ordered list of templates */
void *templatesHash; /* hash table or wherever compiled templates
@@ -316,23 +316,23 @@ struct _xsltStylesheet {
void *commentMatch; /* template based on comment() */
/*
- * Namespace aliases
+ * Namespace aliases.
*/
xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
/*
- * Attribute sets
+ * Attribute sets.
*/
xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
/*
- * Namespaces
+ * Namespaces.
*/
xmlHashTablePtr nsHash; /* the set of namespaces in use */
void *nsDefs; /* the namespaces defined */
/*
- * Key definitions
+ * Key definitions.
*/
void *keys; /* key definitions */
@@ -345,7 +345,9 @@ struct _xsltStylesheet {
xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
- /* Number formatting */
+ /*
+ * Number formatting.
+ */
xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */
@@ -354,7 +356,7 @@ struct _xsltStylesheet {
xmlChar *mediaType; /* media-type string */
/*
- * Precomputed blocks
+ * Precomputed blocks.
*/
xsltElemPreCompPtr preComps;/* list of precomputed blocks */
int warnings; /* number of warnings found at compilation */
@@ -368,14 +370,14 @@ struct _xsltStylesheet {
void *_private; /* user defined data */
/*
- * Extensions
+ * Extensions.
*/
xmlHashTablePtr extInfos; /* the extension data */
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 {
XSLT_OUTPUT_XML = 0,
@@ -454,24 +456,24 @@ struct _xsltTransformContext {
/**
* CHECK_STOPPED:
*
- * 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.
*/
#define CHECK_STOPPED if (ctxt->state == XSLT_STATE_STOPPED) return;
/**
* CHECK_STOPPEDE:
*
- * Macro to check if the XSLT processing should be stopped
- * will goto the error: label
+ * Macro to check if the XSLT processing should be stopped.
+ * Will goto the error: label.
*/
#define CHECK_STOPPEDE if (ctxt->state == XSLT_STATE_STOPPED) goto error;
/**
* CHECK_STOPPED0:
*
- * 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 return from the function with a 0 value.
*/
#define CHECK_STOPPED0 if (ctxt->state == XSLT_STATE_STOPPED) return(0);
diff --git a/libxslt/xsltutils.h b/libxslt/xsltutils.h
index 4513f4f6..178d0cb3 100644
--- a/libxslt/xsltutils.h
+++ b/libxslt/xsltutils.h
@@ -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.
*
@@ -26,7 +26,7 @@ extern "C" {
/**
* TODO:
*
- * macro to flag unimplemented blocks
+ * Macro to flag unimplemented blocks.
*/
#define XSLT_TODO \
xsltGenericError(xsltGenericErrorContext, \
@@ -36,7 +36,7 @@ extern "C" {
/**
* STRANGE:
*
- * macro to flag that a problem was detected internally
+ * Macro to flag that a problem was detected internally.
*/
#define XSLT_STRANGE \
xsltGenericError(xsltGenericErrorContext, \
@@ -46,7 +46,7 @@ extern "C" {
/**
* IS_XSLT_ELEM:
*
- * Checks that the element pertains to XSLt namespace
+ * Checks that the element pertains to XSLT namespace.
*/
#define IS_XSLT_ELEM(n) \
(((n) != NULL) && ((n)->ns != NULL) && \
@@ -55,7 +55,7 @@ extern "C" {
/**
* 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) \
(xmlStrEqual((n)->name, (const xmlChar *) (val)))
@@ -63,7 +63,7 @@ extern "C" {
/**
* 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
#define IS_XSLT_REAL_NODE(n) \
@@ -85,14 +85,14 @@ extern "C" {
#endif
/*
- * Our own version of namespaced atributes lookup
+ * Our own version of namespaced atributes lookup.
*/
xmlChar * xsltGetNsProp (xmlNodePtr node,
const xmlChar *name,
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 void *xsltGenericErrorContext;
@@ -111,7 +111,7 @@ void xsltSetGenericDebugFunc (void *ctx,
xmlGenericErrorFunc handler);
/*
- * Sorting
+ * Sorting.
*/
void xsltDocumentSortFunction (xmlNodeSetPtr list);
@@ -120,14 +120,14 @@ void xsltDoSortFunction (xsltTransformContextPtr ctxt,
int nbsorts);
/*
- * QNames handling
+ * QNames handling.
*/
const xmlChar * xsltGetQNameURI (xmlNodePtr node,
xmlChar **name);
/*
- * Output, reuse libxml I/O buffers
+ * Output, reuse libxml I/O buffers.
*/
int xsltSaveResultTo (xmlOutputBufferPtr buf,
xmlDocPtr result,
@@ -144,7 +144,7 @@ int xsltSaveResultToFd (int fd,
xsltStylesheetPtr style);
/*
- * profiling
+ * Profiling.
*/
void xsltSaveProfiling (xsltTransformContextPtr ctxt,
FILE *output);
@@ -155,7 +155,7 @@ void xsltCalibrateAdjust (long delta);
#define XSLT_TIMESTAMP_TICS_PER_SEC 100000l
/*
- * Hooks for the debugger
+ * Hooks for the debugger.
*/
typedef enum {