mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +03:00
John Fleck <jfleck@inkstain.net> rebuild docs directory with xsltutils.h
John Fleck <jfleck@inkstain.net> rebuild docs directory with xsltutils.h fix
This commit is contained in:
@ -59,7 +59,7 @@ void <a href="#xsltHandleDebuggerCallback">xsltHandleDebuggerCallback</a> (xmlNo
|
||||
<h3><a name="XSLT_STRANGE" id="XSLT_STRANGE"></a>Macro: XSLT_STRANGE</h3><pre>#define XSLT_STRANGE</pre><p>Macro to flag that a problem was detected internally.</p>
|
||||
<h3><a name="XSLT_TIMESTAMP_TICS_PER_SEC" id="XSLT_TIMESTAMP_TICS_PER_SEC"></a>Macro: XSLT_TIMESTAMP_TICS_PER_SEC</h3><pre>#define XSLT_TIMESTAMP_TICS_PER_SEC</pre><p>Sampling precision for profiling</p>
|
||||
<h3><a name="XSLT_TODO" id="XSLT_TODO"></a>Macro: XSLT_TODO</h3><pre>#define XSLT_TODO</pre><p>Macro to flag unimplemented blocks.</p>
|
||||
<h3><a name="XSLT_TRACE" id="XSLT_TRACE"></a>Macro: XSLT_TRACE</h3><pre>#define XSLT_TRACE</pre><p></p>
|
||||
<h3><a name="XSLT_TRACE" id="XSLT_TRACE"></a>Macro: XSLT_TRACE</h3><pre>#define XSLT_TRACE</pre><p>Control the type of xsl debugtrace messages emitted.</p>
|
||||
<h3>Enum <a name="xsltDebugStatusCodes" id="xsltDebugStatusCodes">xsltDebugStatusCodes</a></h3><pre class="programlisting">Enum xsltDebugStatusCodes {
|
||||
<a name="XSLT_DEBUG_NONE" id="XSLT_DEBUG_NONE">XSLT_DEBUG_NONE</a> = 0 : no debugging allowed
|
||||
<a name="XSLT_DEBUG_INIT" id="XSLT_DEBUG_INIT">XSLT_DEBUG_INIT</a> = 1
|
||||
@ -94,7 +94,7 @@ void <a href="#xsltHandleDebuggerCallback">xsltHandleDebuggerCallback</a> (xmlNo
|
||||
<a name="XSLT_TRACE_VARIABLES" id="XSLT_TRACE_VARIABLES">XSLT_TRACE_VARIABLES</a> = 65536
|
||||
}
|
||||
</pre><h3><a name="xslAddCall" id="xslAddCall"></a>Function: xslAddCall</h3><pre class="programlisting">int xslAddCall (<a href="libxslt-xsltInternals.html#xsltTemplatePtr">xsltTemplatePtr</a> templ, <br /> xmlNodePtr source)<br />
|
||||
</pre><p>Add template "call" to call stack</p>
|
||||
</pre><p>Add template "call" to call stack</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>templ</tt></i>:</span></td><td>current template being applied</td></tr><tr><td><span class="term"><i><tt>source</tt></i>:</span></td><td>the source node being processed</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>: 1 on sucess 0 otherwise an error may be printed if WITH_XSLT_DEBUG_BREAKPOINTS is defined</td></tr></tbody></table></div><h3><a name="xslDropCall" id="xslDropCall"></a>Function: xslDropCall</h3><pre class="programlisting">void xslDropCall (void)<br />
|
||||
</pre><p>Drop the topmost item off the call stack</p>
|
||||
<h3><a name="xsltAddCallCallback" id="xsltAddCallCallback"></a>Function type: xsltAddCallCallback</h3><pre class="programlisting">Function type: xsltAddCallCallback
|
||||
@ -106,9 +106,9 @@ int xsltAddCallCallback (<a href="libxslt-xsltInternals.html#xsltTemplatePtr">x
|
||||
</pre><p>reorder the current node list accordingly to the set of sorting requirement provided by the array of nodes.</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>sort</tt></i>:</span></td><td>node list</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a ordered XPath nodeset or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xsltDebugGetDefaultTrace" id="xsltDebugGetDefaultTrace"></a>Function: xsltDebugGetDefaultTrace</h3><pre class="programlisting"><a href="libxslt-xsltutils.html#xsltDebugTraceCodes">xsltDebugTraceCodes</a> xsltDebugGetDefaultTrace (void)<br />
|
||||
</pre><p></p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xsltDebugSetDefaultTrace" id="xsltDebugSetDefaultTrace"></a>Function: xsltDebugSetDefaultTrace</h3><pre class="programlisting">void xsltDebugSetDefaultTrace (<a href="libxslt-xsltutils.html#xsltDebugTraceCodes">xsltDebugTraceCodes</a> val)<br />
|
||||
</pre><p></p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xsltDefaultSortFunction" id="xsltDefaultSortFunction"></a>Function: xsltDefaultSortFunction</h3><pre class="programlisting">void xsltDefaultSortFunction (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr * sorts, <br /> int nbsorts)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the current default debug tracing level mask</td></tr></tbody></table></div><h3><a name="xsltDebugSetDefaultTrace" id="xsltDebugSetDefaultTrace"></a>Function: xsltDebugSetDefaultTrace</h3><pre class="programlisting">void xsltDebugSetDefaultTrace (<a href="libxslt-xsltutils.html#xsltDebugTraceCodes">xsltDebugTraceCodes</a> val)<br />
|
||||
</pre><p>Set the default debug tracing level mask</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an <a href="libxslt-xsltutils.html#xsltDebugTraceCodes">xsltDebugTraceCodes</a> value</td></tr></tbody></table></div><h3><a name="xsltDefaultSortFunction" id="xsltDefaultSortFunction"></a>Function: xsltDefaultSortFunction</h3><pre class="programlisting">void xsltDefaultSortFunction (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr * sorts, <br /> int nbsorts)<br />
|
||||
</pre><p>reorder the current node list accordingly to the set of sorting requirement provided by the arry of nodes.</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>sorts</tt></i>:</span></td><td>array of sort nodes</td></tr><tr><td><span class="term"><i><tt>nbsorts</tt></i>:</span></td><td>the number of sorts in the array</td></tr></tbody></table></div><h3><a name="xsltDoSortFunction" id="xsltDoSortFunction"></a>Function: xsltDoSortFunction</h3><pre class="programlisting">void xsltDoSortFunction (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br /> xmlNodePtr * sorts, <br /> int nbsorts)<br />
|
||||
</pre><p>reorder the current node list accordingly to the set of sorting requirement provided by the arry of nodes. This is a wrapper function, the actual function used is specified using xsltSetCtxtSortFunc() to set the context specific sort function, or xsltSetSortFunc() to set the global sort function. If a sort function is set on the context, this will get called. Otherwise the global sort function is called.</p>
|
||||
@ -122,7 +122,7 @@ void xsltDropCallCallback (void)
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the value of xslDebugStatus.</td></tr></tbody></table></div><h3><a name="xsltGetNsProp" id="xsltGetNsProp"></a>Function: xsltGetNsProp</h3><pre class="programlisting">xmlChar * xsltGetNsProp (xmlNodePtr node, <br /> const xmlChar * name, <br /> const xmlChar * nameSpace)<br />
|
||||
</pre><p>Similar to xmlGetNsProp() but with a slightly different semantic Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified, or has no namespace and the element is in that namespace. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the attribute name</td></tr><tr><td><span class="term"><i><tt>nameSpace</tt></i>:</span></td><td>the URI of the namespace</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the attribute value or NULL if not found. It's up to the caller to free the memory.</td></tr></tbody></table></div><h3><a name="xsltGetProfileInformation" id="xsltGetProfileInformation"></a>Function: xsltGetProfileInformation</h3><pre class="programlisting">xmlDocPtr xsltGetProfileInformation (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt)<br />
|
||||
</pre><p>This function should be called after the transformation completed to extract template processing profiling informations if availble. The informations are returned as an XML document tree like <?xml version="1.0"?> <profile> <template rank="1" match="*" name="" mode="" calls="6" time="48" average="8"/> <template rank="2" match="item2|item3" name="" mode="" calls="10" time="30" average="3"/> <template rank="3" match="item1" name="" mode="" calls="5" time="17" average="3"/> </profile> The caller will need to free up the returned tree with xmlFreeDoc()</p>
|
||||
</pre><p>This function should be called after the transformation completed to extract template processing profiling informations if availble. The informations are returned as an XML document tree like <?xml version="1.0"?> <profile> <template rank="1" match="*" name="" mode="" calls="6" time="48" average="8"/> <template rank="2" match="item2|item3" name="" mode="" calls="10" time="30" average="3"/> <template rank="3" match="item1" name="" mode="" calls="5" time="17" average="3"/> </profile> The caller will need to free up the returned tree with xmlFreeDoc()</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 transformation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the xmlDocPtr corresponding to the result or NULL if not available.</td></tr></tbody></table></div><h3><a name="xsltGetQNameURI" id="xsltGetQNameURI"></a>Function: xsltGetQNameURI</h3><pre class="programlisting">const xmlChar * xsltGetQNameURI (xmlNodePtr node, <br /> xmlChar ** name)<br />
|
||||
</pre><p>This function analyzes @name, if the name contains a prefix, the function seaches the associated namespace in scope for it. It will also replace @name value with the NCName, the old value being freed. Errors in the prefix lookup are signalled by setting @name to NULL. NOTE: the namespace returned is a pointer to the place where it is defined and hence has the same lifespan as the document holding it.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node holding the QName</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>pointer to the initial QName value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the namespace URI if there is a prefix, or NULL if @name is not prefixed.</td></tr></tbody></table></div><h3><a name="xsltGetUTF8Char" id="xsltGetUTF8Char"></a>Function: xsltGetUTF8Char</h3><pre class="programlisting">int xsltGetUTF8Char (const unsigned char * utf, <br /> int * len)<br />
|
||||
|
Reference in New Issue
Block a user