summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--doc/APIchunk1.html9
-rw-r--r--doc/APIchunk2.html4
-rw-r--r--doc/APIchunk7.html1
-rw-r--r--doc/Makefile.am6
-rw-r--r--doc/html/libxslt-transform.html8
-rw-r--r--doc/libxslt-api.xml10
-rw-r--r--doc/libxslt-refs.xml12
8 files changed, 31 insertions, 26 deletions
diff --git a/ChangeLog b/ChangeLog
index 49f36ee1..1713fd68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sun Nov 30 23:25:22 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+ * doc/Makefile.am: small further enhancement to makefile
+ * doc/APIchunk[127].html, doc/libxslt-api.xml, doc/libxslt-refs.xml,
+ doc/html/libxslt-transform.html: updated to reflect last change
+ to transform.c
+
Sun Nov 30 22:44:07 HKT 2003 William Brack <wbrack@mmm.com.hk>
* doc/newapi.xsl, doc/api.xsl, doc/apibuild.py, doc/site.xsl,
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html
index 8ca9ce52..98e4613a 100644
--- a/doc/APIchunk1.html
+++ b/doc/APIchunk1.html
@@ -164,7 +164,8 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxslt-namespaces.html#xsltCopyNamespaceList">xsltCopyNamespaceList</a><br />
</dd><dt>adding</dt><dd><a href="html/libxslt-xsltInternals.html#xsltParseStylesheetProcess">xsltParseStylesheetProcess</a><br />
</dd><dt>address</dt><dd><a href="html/libxslt-xsltutils.html#xsltSetDebuggerCallbacks">xsltSetDebuggerCallbacks</a><br />
-</dd><dt>after</dt><dd><a href="html/libxslt-xsltutils.html#xsltGetProfileInformation">xsltGetProfileInformation</a><br />
+</dd><dt>after</dt><dd><a href="html/libxslt-transform.html#xsltApplyOneTemplate">xsltApplyOneTemplate</a><br />
+<a href="html/libxslt-xsltutils.html#xsltGetProfileInformation">xsltGetProfileInformation</a><br />
</dd><dt>aliases</dt><dd><a href="html/libxslt-xsltInternals.html#_xsltStylesheet">_xsltStylesheet</a><br />
<a href="html/libxslt-namespaces.html#xsltCopyNamespace">xsltCopyNamespace</a><br />
<a href="html/libxslt-namespaces.html#xsltCopyNamespaceList">xsltCopyNamespaceList</a><br />
@@ -259,19 +260,19 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxslt-functions.html#xsltSystemPropertyFunction">xsltSystemPropertyFunction</a><br />
<a href="html/libxslt-functions.html#xsltUnparsedEntityURIFunction">xsltUnparsedEntityURIFunction</a><br />
</dd><dt>array</dt><dd><a href="html/libxslt-xsltInternals.html#_xsltStylesheet">_xsltStylesheet</a><br />
+<a href="html/libxslt-transform.html#xsltApplyStylesheetUser">xsltApplyStylesheetUser</a><br />
<a href="html/libxslt-xsltutils.html#xsltComputeSortResult">xsltComputeSortResult</a><br />
<a href="html/libxslt-xsltutils.html#xsltDefaultSortFunction">xsltDefaultSortFunction</a><br />
<a href="html/libxslt-xsltutils.html#xsltDoSortFunction">xsltDoSortFunction</a><br />
<a href="html/libxslt-variables.html#xsltEvalUserParams">xsltEvalUserParams</a><br />
+<a href="html/libxslt-transform.html#xsltRunStylesheet">xsltRunStylesheet</a><br />
+<a href="html/libxslt-transform.html#xsltRunStylesheetUser">xsltRunStylesheetUser</a><br />
<a href="html/libxslt-variables.html#xsltVariableLookup">xsltVariableLookup</a><br />
</dd><dt>arry</dt><dd><a href="html/libxslt-transform.html#xsltApplyStylesheet">xsltApplyStylesheet</a><br />
-<a href="html/libxslt-transform.html#xsltApplyStylesheetUser">xsltApplyStylesheetUser</a><br />
<a href="html/libxslt-xsltutils.html#xsltDefaultSortFunction">xsltDefaultSortFunction</a><br />
<a href="html/libxslt-xsltutils.html#xsltDoSortFunction">xsltDoSortFunction</a><br />
<a href="html/libxslt-transform.html#xsltProfileStylesheet">xsltProfileStylesheet</a><br />
<a href="html/libxslt-variables.html#xsltQuoteUserParams">xsltQuoteUserParams</a><br />
-<a href="html/libxslt-transform.html#xsltRunStylesheet">xsltRunStylesheet</a><br />
-<a href="html/libxslt-transform.html#xsltRunStylesheetUser">xsltRunStylesheetUser</a><br />
</dd><dt>associated</dt><dd><a href="html/libxslt-xsltInternals.html#_xsltStylesheet">_xsltStylesheet</a><br />
<a href="html/libxslt-pattern.html#xsltAddTemplate">xsltAddTemplate</a><br />
<a href="html/libxslt-extensions.html#xsltExtShutdownFunction">xsltExtShutdownFunction</a><br />
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html
index 3951494f..c0eb83f3 100644
--- a/doc/APIchunk2.html
+++ b/doc/APIchunk2.html
@@ -16,8 +16,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="APIchunk6.html">o-p</a>
<a href="APIchunk7.html">q-s</a>
<a href="APIchunk8.html">t-w</a>
-</h2><h2>Letter b:</h2><dl><dt>back</dt><dd><a href="html/libxslt-transform.html#xsltApplyOneTemplate">xsltApplyOneTemplate</a><br />
-</dd><dt>based</dt><dd><a href="html/libxslt-xsltInternals.html#_xsltStylesheet">_xsltStylesheet</a><br />
+</h2><h2>Letter b:</h2><dl><dt>based</dt><dd><a href="html/libxslt-xsltInternals.html#_xsltStylesheet">_xsltStylesheet</a><br />
</dd><dt>been</dt><dd><a href="html/libxslt-xsltutils.html#xsltGetNsProp">xsltGetNsProp</a><br />
</dd><dt>before</dt><dd><a href="html/libxslt-variables.html#xsltEvalGlobalVariables">xsltEvalGlobalVariables</a><br />
<a href="html/libxslt-variables.html#xsltEvalUserParams">xsltEvalUserParams</a><br />
@@ -80,6 +79,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxslt-xsltutils.html#xsltSaveResultToFilename">xsltSaveResultToFilename</a><br />
<a href="html/libxslt-xsltutils.html#xsltSaveResultToString">xsltSaveResultToString</a><br />
</dd><dt>bytes</dt><dd><a href="html/libxslt-xsltutils.html#xsltGetUTF8Char">xsltGetUTF8Char</a><br />
+<a href="html/libxslt-transform.html#xsltRunStylesheet">xsltRunStylesheet</a><br />
<a href="html/libxslt-xsltutils.html#xsltSaveResultToFd">xsltSaveResultToFd</a><br />
<a href="html/libxslt-xsltutils.html#xsltSaveResultToFile">xsltSaveResultToFile</a><br />
</dd></dl><h2>Letter c:</h2><dl><dt>calibration</dt><dd><a href="html/libxslt-xsltutils.html#xsltCalibrateAdjust">xsltCalibrateAdjust</a><br />
diff --git a/doc/APIchunk7.html b/doc/APIchunk7.html
index 30bebb69..1c61f2d2 100644
--- a/doc/APIchunk7.html
+++ b/doc/APIchunk7.html
@@ -78,6 +78,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxslt-xsltInternals.html#CHECK_STOPPED0">CHECK_STOPPED0</a><br />
<a href="html/libxslt-xsltInternals.html#xsltAllocateExtra">xsltAllocateExtra</a><br />
<a href="html/libxslt-xsltInternals.html#xsltAllocateExtraCtxt">xsltAllocateExtraCtxt</a><br />
+<a href="html/libxslt-transform.html#xsltApplyOneTemplate">xsltApplyOneTemplate</a><br />
<a href="html/libxslt-templates.html#xsltAttrTemplateProcess">xsltAttrTemplateProcess</a><br />
<a href="html/libxslt-templates.html#xsltAttrTemplateValueProcess">xsltAttrTemplateValueProcess</a><br />
<a href="html/libxslt-templates.html#xsltAttrTemplateValueProcessNode">xsltAttrTemplateValueProcessNode</a><br />
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 881a6e7d..270ef010 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -23,7 +23,6 @@ APIPAGES=APIconstructors.html APIfiles.html APIfunctions.html \
EXTRA_DIST = \
libxslt-api.xml \
libexslt-api.xml \
- libxslt-decl.txt \
xsltproc.xml \
apibuild.py \
libxslt.xsa \
@@ -33,7 +32,7 @@ man_MANS = xsltproc.1
all: web $(top_srcdir)/NEWS libxslt.xsa $(man_MANS)
-api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxslt.def.src
+api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxslt.def.src $(WIN32_DIR)/libexslt.def.src
web: $(PAGES)
@@ -88,13 +87,10 @@ $(WIN32_DIR)/libexslt.def.src: libexslt-api.xml
$(bindir)/xsltproc -o $(WIN32_DIR)/libexslt.def.src \
--nonet $(WIN32_DIR)/defgen.xsl libexslt-api.xml ; fi )
-api: libxslt-api.xml libxslt-refs.xml $(WIN32_DIR)/libxslt.def.src $(WIN32_DIR)/libexslt.def.src
-
clean-local:
rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
maintainer-clean-local: clean
- rm -rf libxslt-decl-list.txt libxslt-decl.txt
rebuild: api all
diff --git a/doc/html/libxslt-transform.html b/doc/html/libxslt-transform.html
index 760dcbe7..f7c22762 100644
--- a/doc/html/libxslt-transform.html
+++ b/doc/html/libxslt-transform.html
@@ -47,14 +47,14 @@ A:link, A:visited, A:active { text-decoration: underline }
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>source node being executed</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>data node being processed</td></tr><tr><td><span class="term"><i><tt>templ</tt></i>:</span></td><td>temlate that applies to node</td></tr><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the xslt transform context</td></tr></tbody></table></div><h3><a name="xsltApplyImports" id="xsltApplyImports"></a>Function: xsltApplyImports</h3><pre class="programlisting">void xsltApplyImports (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node, <br /> xmlNodePtr inst, <br /> <a href="libxslt-xsltInternals.html#xsltStylePreCompPtr">xsltStylePreCompPtr</a> comp)<br />
</pre><p>Process the xslt apply-imports node on the source node</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XSLT process context</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node in the source tree.</td></tr><tr><td><span class="term"><i><tt>inst</tt></i>:</span></td><td>the xslt apply-imports node</td></tr><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>precomputed information</td></tr></tbody></table></div><h3><a name="xsltApplyOneTemplate" id="xsltApplyOneTemplate"></a>Function: xsltApplyOneTemplate</h3><pre class="programlisting">void xsltApplyOneTemplate (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node, <br /> xmlNodePtr list, <br /> <a href="libxslt-xsltInternals.html#xsltTemplatePtr">xsltTemplatePtr</a> templ, <br /> <a href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> params)<br />
-</pre><p>Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them back (they may be reused).</p>
+</pre><p>Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it's left to the caller to handle them after return (they may be reused).</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XSLT process context</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node in the source tree.</td></tr><tr><td><span class="term"><i><tt>list</tt></i>:</span></td><td>the template replacement nodelist</td></tr><tr><td><span class="term"><i><tt>templ</tt></i>:</span></td><td>if is this a real template processing, the template processed</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a set of parameters for the template or NULL</td></tr></tbody></table></div><h3><a name="xsltApplyStripSpaces" id="xsltApplyStripSpaces"></a>Function: xsltApplyStripSpaces</h3><pre class="programlisting">void xsltApplyStripSpaces (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node)<br />
</pre><p>Strip the unwanted ignorable spaces from the input tree</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XSLT process context</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the root of the XML tree</td></tr></tbody></table></div><h3><a name="xsltApplyStylesheet" id="xsltApplyStylesheet"></a>Function: xsltApplyStylesheet</h3><pre class="programlisting">xmlDocPtr xsltApplyStylesheet (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br /> xmlDocPtr doc, <br /> const char ** params)<br />
</pre><p>Apply the stylesheet to the document NOTE: This may lead to a non-wellformed output XML wise !</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated arry of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the result document or NULL in case of error</td></tr></tbody></table></div><h3><a name="xsltApplyStylesheetUser" id="xsltApplyStylesheetUser"></a>Function: xsltApplyStylesheetUser</h3><pre class="programlisting">xmlDocPtr xsltApplyStylesheetUser (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br /> xmlDocPtr doc, <br /> const char ** params, <br /> const char * output, <br /> FILE * profile, <br /> <a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> userCtxt)<br />
</pre><p>Apply the stylesheet to the document and allow the user to provide its own transformation context.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated arry of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the targetted output</td></tr><tr><td><span class="term"><i><tt>profile</tt></i>:</span></td><td>profile FILE * output or NULL</td></tr><tr><td><span class="term"><i><tt>userCtxt</tt></i>:</span></td><td>user provided transform context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the result document or NULL in case of error</td></tr></tbody></table></div><h3><a name="xsltApplyTemplates" id="xsltApplyTemplates"></a>Function: xsltApplyTemplates</h3><pre class="programlisting">void xsltApplyTemplates (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node, <br /> xmlNodePtr inst, <br /> <a href="libxslt-xsltInternals.html#xsltStylePreCompPtr">xsltStylePreCompPtr</a> comp)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated array of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the targetted output</td></tr><tr><td><span class="term"><i><tt>profile</tt></i>:</span></td><td>profile FILE * output or NULL</td></tr><tr><td><span class="term"><i><tt>userCtxt</tt></i>:</span></td><td>user provided transform context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the result document or NULL in case of error</td></tr></tbody></table></div><h3><a name="xsltApplyTemplates" id="xsltApplyTemplates"></a>Function: xsltApplyTemplates</h3><pre class="programlisting">void xsltApplyTemplates (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node, <br /> xmlNodePtr inst, <br /> <a href="libxslt-xsltInternals.html#xsltStylePreCompPtr">xsltStylePreCompPtr</a> comp)<br />
</pre><p>Process the apply-templates node on the source node</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XSLT process context</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node in the source tree.</td></tr><tr><td><span class="term"><i><tt>inst</tt></i>:</span></td><td>the apply-templates node</td></tr><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>precomputed information</td></tr></tbody></table></div><h3><a name="xsltAttribute" id="xsltAttribute"></a>Function: xsltAttribute</h3><pre class="programlisting">void xsltAttribute (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node, <br /> xmlNodePtr inst, <br /> <a href="libxslt-xsltInternals.html#xsltStylePreCompPtr">xsltStylePreCompPtr</a> comp)<br />
</pre><p>Process the xslt attribute node on the source node</p>
@@ -94,9 +94,9 @@ A:link, A:visited, A:active { text-decoration: underline }
</pre><p>Registers all default XSLT elements in this context</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr></tbody></table></div><h3><a name="xsltRunStylesheet" id="xsltRunStylesheet"></a>Function: xsltRunStylesheet</h3><pre class="programlisting">int xsltRunStylesheet (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br /> xmlDocPtr doc, <br /> const char ** params, <br /> const char * output, <br /> xmlSAXHandlerPtr SAX, <br /> xmlOutputBufferPtr IObuf)<br />
</pre><p>Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated arry of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the URL/filename ot the generated resource if available</td></tr><tr><td><span class="term"><i><tt>SAX</tt></i>:</span></td><td>a SAX handler for progressive callback output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>IObuf</tt></i>:</span></td><td>an output buffer for progressive output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of by written to the main resource or -1 in case of error.</td></tr></tbody></table></div><h3><a name="xsltRunStylesheetUser" id="xsltRunStylesheetUser"></a>Function: xsltRunStylesheetUser</h3><pre class="programlisting">int xsltRunStylesheetUser (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br /> xmlDocPtr doc, <br /> const char ** params, <br /> const char * output, <br /> xmlSAXHandlerPtr SAX, <br /> xmlOutputBufferPtr IObuf, <br /> FILE * profile, <br /> <a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> userCtxt)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated array of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the URL/filename ot the generated resource if available</td></tr><tr><td><span class="term"><i><tt>SAX</tt></i>:</span></td><td>a SAX handler for progressive callback output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>IObuf</tt></i>:</span></td><td>an output buffer for progressive output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of bytes written to the main resource or -1 in case of error.</td></tr></tbody></table></div><h3><a name="xsltRunStylesheetUser" id="xsltRunStylesheetUser"></a>Function: xsltRunStylesheetUser</h3><pre class="programlisting">int xsltRunStylesheetUser (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br /> xmlDocPtr doc, <br /> const char ** params, <br /> const char * output, <br /> xmlSAXHandlerPtr SAX, <br /> xmlOutputBufferPtr IObuf, <br /> FILE * profile, <br /> <a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> userCtxt)<br />
</pre><p>Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated arry of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the URL/filename ot the generated resource if available</td></tr><tr><td><span class="term"><i><tt>SAX</tt></i>:</span></td><td>a SAX handler for progressive callback output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>IObuf</tt></i>:</span></td><td>an output buffer for progressive output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>profile</tt></i>:</span></td><td>profile FILE * output or NULL</td></tr><tr><td><span class="term"><i><tt>userCtxt</tt></i>:</span></td><td>user provided transform context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of by written to the main resource or -1 in case of error.</td></tr></tbody></table></div><h3><a name="xsltSetXIncludeDefault" id="xsltSetXIncludeDefault"></a>Function: xsltSetXIncludeDefault</h3><pre class="programlisting">void xsltSetXIncludeDefault (int xinclude)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>a parsed XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed XML document</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>a NULL terminated array of parameters names/values tuples</td></tr><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the URL/filename ot the generated resource if available</td></tr><tr><td><span class="term"><i><tt>SAX</tt></i>:</span></td><td>a SAX handler for progressive callback output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>IObuf</tt></i>:</span></td><td>an output buffer for progressive output (not implemented yet)</td></tr><tr><td><span class="term"><i><tt>profile</tt></i>:</span></td><td>profile FILE * output or NULL</td></tr><tr><td><span class="term"><i><tt>userCtxt</tt></i>:</span></td><td>user provided transform context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of by written to the main resource or -1 in case of error.</td></tr></tbody></table></div><h3><a name="xsltSetXIncludeDefault" id="xsltSetXIncludeDefault"></a>Function: xsltSetXIncludeDefault</h3><pre class="programlisting">void xsltSetXIncludeDefault (int xinclude)<br />
</pre><p>Set whether XInclude should be processed on document being loaded by default</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>xinclude</tt></i>:</span></td><td>whether to do XInclude processing</td></tr></tbody></table></div><h3><a name="xsltSort" id="xsltSort"></a>Function: xsltSort</h3><pre class="programlisting">void xsltSort (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr node, <br /> xmlNodePtr inst, <br /> <a href="libxslt-xsltInternals.html#xsltStylePreCompPtr">xsltStylePreCompPtr</a> comp)<br />
</pre><p>function attached to xsl:sort nodes, but this should not be called directly</p>
diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml
index de35b70a..8ce2170b 100644
--- a/doc/libxslt-api.xml
+++ b/doc/libxslt-api.xml
@@ -919,7 +919,7 @@ informations are stored'/>
<arg name='comp' type='xsltStylePreCompPtr' info='precomputed information'/>
</function>
<function name='xsltApplyOneTemplate' file='transform'>
- <info>Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it&apos;s left to the caller to handle them back (they may be reused).</info>
+ <info>Process the apply-templates node on the source node, if params are passed they are pushed on the variable stack but not popped, it&apos;s left to the caller to handle them after return (they may be reused).</info>
<return type='void'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='a XSLT process context'/>
<arg name='node' type='xmlNodePtr' info='the node in the source tree.'/>
@@ -945,7 +945,7 @@ informations are stored'/>
<return type='xmlDocPtr' info='the result document or NULL in case of error'/>
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
- <arg name='params' type='const char **' info='a NULL terminated arry of parameters names/values tuples'/>
+ <arg name='params' type='const char **' info='a NULL terminated array of parameters names/values tuples'/>
<arg name='output' type='const char *' info='the targetted output'/>
<arg name='profile' type='FILE *' info='profile FILE * output or NULL'/>
<arg name='userCtxt' type='xsltTransformContextPtr' info='user provided transform context'/>
@@ -1930,10 +1930,10 @@ informations are stored'/>
</function>
<function name='xsltRunStylesheet' file='transform'>
<info>Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It&apos;s an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8</info>
- <return type='int' info='the number of by written to the main resource or -1 in case of error.'/>
+ <return type='int' info='the number of bytes written to the main resource or -1 in case of error.'/>
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
- <arg name='params' type='const char **' info='a NULL terminated arry of parameters names/values tuples'/>
+ <arg name='params' type='const char **' info='a NULL terminated array of parameters names/values tuples'/>
<arg name='output' type='const char *' info='the URL/filename ot the generated resource if available'/>
<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)'/>
@@ -1943,7 +1943,7 @@ informations are stored'/>
<return type='int' info='the number of by written to the main resource or -1 in case of error.'/>
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
- <arg name='params' type='const char **' info='a NULL terminated arry of parameters names/values tuples'/>
+ <arg name='params' type='const char **' info='a NULL terminated array of parameters names/values tuples'/>
<arg name='output' type='const char *' info='the URL/filename ot the generated resource if available'/>
<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)'/>
diff --git a/doc/libxslt-refs.xml b/doc/libxslt-refs.xml
index f3fd0d95..686597a6 100644
--- a/doc/libxslt-refs.xml
+++ b/doc/libxslt-refs.xml
@@ -2615,6 +2615,7 @@
<ref name='xsltSetDebuggerCallbacks'/>
</word>
<word name='after'>
+ <ref name='xsltApplyOneTemplate'/>
<ref name='xsltGetProfileInformation'/>
</word>
<word name='aliases'>
@@ -2764,21 +2765,21 @@
</word>
<word name='array'>
<ref name='_xsltStylesheet'/>
+ <ref name='xsltApplyStylesheetUser'/>
<ref name='xsltComputeSortResult'/>
<ref name='xsltDefaultSortFunction'/>
<ref name='xsltDoSortFunction'/>
<ref name='xsltEvalUserParams'/>
+ <ref name='xsltRunStylesheet'/>
+ <ref name='xsltRunStylesheetUser'/>
<ref name='xsltVariableLookup'/>
</word>
<word name='arry'>
<ref name='xsltApplyStylesheet'/>
- <ref name='xsltApplyStylesheetUser'/>
<ref name='xsltDefaultSortFunction'/>
<ref name='xsltDoSortFunction'/>
<ref name='xsltProfileStylesheet'/>
<ref name='xsltQuoteUserParams'/>
- <ref name='xsltRunStylesheet'/>
- <ref name='xsltRunStylesheetUser'/>
</word>
<word name='associated'>
<ref name='_xsltStylesheet'/>
@@ -2838,9 +2839,6 @@
</chunk>
<chunk name='chunk2'>
<letter name='b'>
- <word name='back'>
- <ref name='xsltApplyOneTemplate'/>
- </word>
<word name='based'>
<ref name='_xsltStylesheet'/>
</word>
@@ -2945,6 +2943,7 @@
</word>
<word name='bytes'>
<ref name='xsltGetUTF8Char'/>
+ <ref name='xsltRunStylesheet'/>
<ref name='xsltSaveResultToFd'/>
<ref name='xsltSaveResultToFile'/>
</word>
@@ -5135,6 +5134,7 @@
<ref name='CHECK_STOPPED0'/>
<ref name='xsltAllocateExtra'/>
<ref name='xsltAllocateExtraCtxt'/>
+ <ref name='xsltApplyOneTemplate'/>
<ref name='xsltAttrTemplateProcess'/>
<ref name='xsltAttrTemplateValueProcess'/>
<ref name='xsltAttrTemplateValueProcessNode'/>