diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-04-29 13:20:50 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-04-29 13:20:50 +0000 |
commit | 051989b9ec53e509cb6f961fcaa765c18f9967f7 (patch) | |
tree | 052504286343050e3a1381ee846a9ce5b27275d9 /doc/html/libxslt-variables.html | |
parent | ce5ea3eeb7ef489f03c9ffa9a5d914f6add697f5 (diff) | |
download | libxslt-051989b9ec53e509cb6f961fcaa765c18f9967f7.tar.gz libxslt-051989b9ec53e509cb6f961fcaa765c18f9967f7.tar.bz2 libxslt-051989b9ec53e509cb6f961fcaa765c18f9967f7.zip |
upgraded to the XML/XSLT toolchain for the HTML generation fixing #111799
* doc/Makefile.am doc/libxslt.xml: upgraded to the XML/XSLT toolchain
for the HTML generation fixing #111799
* doc/html/*.html doc/html/*.png: associated update
Daniel
Diffstat (limited to 'doc/html/libxslt-variables.html')
-rw-r--r-- | doc/html/libxslt-variables.html | 2205 |
1 files changed, 195 insertions, 2010 deletions
diff --git a/doc/html/libxslt-variables.html b/doc/html/libxslt-variables.html index cd67c547..c057407c 100644 --- a/doc/html/libxslt-variables.html +++ b/doc/html/libxslt-variables.html @@ -1,2019 +1,204 @@ -<HTML -><HEAD -><TITLE ->variables</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ -"><LINK -REL="HOME" -TITLE="Gnome XSLT Library Reference Manual" -HREF="book1.html"><LINK -REL="UP" -TITLE="Libxslt Library Reference" -HREF="libxslt-lib.html"><LINK -REL="PREVIOUS" -TITLE="namespaces" -HREF="libxslt-namespaces.html"><LINK -REL="NEXT" -TITLE="keys" -HREF="libxslt-keys.html"></HEAD -><BODY -CLASS="REFENTRY" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -WIDTH="100%" -BORDER="0" -BGCOLOR="#000000" -CELLPADDING="1" -CELLSPACING="0" -><TR -><TH -COLSPAN="4" -ALIGN="center" -><FONT -COLOR="#FFFFFF" -SIZE="5" ->Gnome XSLT Library Reference Manual</FONT -></TH -></TR -><TR -><TD -WIDTH="25%" -BGCOLOR="#C00000" -ALIGN="left" -><A -HREF="libxslt-namespaces.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B -><<< Previous Page</B -></FONT -></A -></TD -><TD -WIDTH="25%" -BGCOLOR="#0000C0" -ALIGN="center" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B -><A -HREF="book1.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->Home</B -></FONT -></A -></B -></FONT -></TD -><TD -WIDTH="25%" -BGCOLOR="#00C000" -ALIGN="center" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B -><A -HREF="libxslt-lib.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->Up</B -></FONT -></A -></B -></FONT -></TD -><TD -WIDTH="25%" -BGCOLOR="#C00000" -ALIGN="right" -><A -HREF="libxslt-keys.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->Next Page >>></B -></FONT -></A -></TD -></TR -></TABLE -></DIV -><H1 -><A -NAME="LIBXSLT-VARIABLES" -></A ->variables</H1 -><DIV -CLASS="REFNAMEDIV" -><A -NAME="AEN4711" -></A -><H2 ->Name</H2 ->variables -- </DIV -><DIV -CLASS="REFSYNOPSISDIV" -><A -NAME="AEN4714" -></A -><H2 ->Synopsis</H2 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="SYNOPSIS" -> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>variables</title><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><style xmlns="http://www.w3.org/TR/xhtml1/transitional" type="text/css"> + .synopsis, .classsynopsis { + background: #eeeeee; + border: solid 1px #aaaaaa; + padding: 0.5em; + } + .programlisting { + background: #eeeeff; + border: solid 1px #aaaaff; + padding: 0.5em; + } + .variablelist { + padding: 4px; + margin-left: 3em; + } + .navigation { + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0.5em; + margin-bottom: 0.5em; + } + .navigation a { + color: #770000; + } + .navigation a:visited { + color: #550000; + } + .navigation .title { + font-size: 200%; + } + </style><link rel="home" href="index.html" title="Gnome XSLT Library Reference Manual"><link rel="up" href="libxslt-lib.html" title="Libxslt Library Reference"><link rel="previous" href="libxslt-namespaces.html" title="namespaces"><link rel="next" href="libxslt-keys.html" title="keys"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libxslt-namespaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></img></a></td><td><a accesskey="u" href="libxslt-lib.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></img></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></img></a></td><th width="100%" align="center">Gnome XSLT Library Reference Manual</th><td><a accesskey="n" href="libxslt-keys.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></img></a></td></tr></table><div class="refentry" lang="en"><a name="libxslt-variables"></a><div class="titlepage"></div><div class="refnamediv"><h2>variables</h2><p>variables — </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis"> -#define <A -HREF="libxslt-variables.html#XSLT-REGISTER-VARIABLE-LOOKUP-CAPS" ->XSLT_REGISTER_VARIABLE_LOOKUP</A -> (ctxt) -int <A -HREF="libxslt-variables.html#XSLTEVALGLOBALVARIABLES" ->xsltEvalGlobalVariables</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt); -int <A -HREF="libxslt-variables.html#XSLTEVALUSERPARAMS" ->xsltEvalUserParams</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, + + +#define <a href="libxslt-variables.html#XSLT-REGISTER-VARIABLE-LOOKUP-CAPS">XSLT_REGISTER_VARIABLE_LOOKUP</a> (ctxt) +int <a href="libxslt-variables.html#xsltEvalGlobalVariables">xsltEvalGlobalVariables</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt); +int <a href="libxslt-variables.html#xsltEvalUserParams">xsltEvalUserParams</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, const char **params); -int <A -HREF="libxslt-variables.html#XSLTQUOTEUSERPARAMS" ->xsltQuoteUserParams</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, +int <a href="libxslt-variables.html#xsltQuoteUserParams">xsltQuoteUserParams</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, const char **params); -int <A -HREF="libxslt-variables.html#XSLTEVALONEUSERPARAM" ->xsltEvalOneUserParam</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *value); -int <A -HREF="libxslt-variables.html#XSLTQUOTEONEUSERPARAM" ->xsltQuoteOneUserParam</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *value); -void <A -HREF="libxslt-variables.html#XSLTPARSEGLOBALVARIABLE" ->xsltParseGlobalVariable</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</A -> style, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur); -void <A -HREF="libxslt-variables.html#XSLTPARSEGLOBALPARAM" ->xsltParseGlobalParam</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</A -> style, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur); -void <A -HREF="libxslt-variables.html#XSLTPARSESTYLESHEETVARIABLE" ->xsltParseStylesheetVariable</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur); -void <A -HREF="libxslt-variables.html#XSLTPARSESTYLESHEETPARAM" ->xsltParseStylesheetParam</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur); -<A -HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR" ->xsltStackElemPtr</A -> <A -HREF="libxslt-variables.html#XSLTPARSESTYLESHEETCALLERPARAM" ->xsltParseStylesheetCallerParam</A -> - (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur); -int <A -HREF="libxslt-variables.html#XSLTADDSTACKELEMLIST" ->xsltAddStackElemList</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <A -HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR" ->xsltStackElemPtr</A -> elems); -void <A -HREF="libxslt-variables.html#XSLTFREEGLOBALVARIABLES" ->xsltFreeGlobalVariables</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt); -<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK -> <A -HREF="libxslt-variables.html#XSLTVARIABLELOOKUP" ->xsltVariableLookup</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *ns_uri); -<GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK -> <A -HREF="libxslt-variables.html#XSLTXPATHVARIABLELOOKUP" ->xsltXPathVariableLookup</A -> (void *ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *ns_uri);</PRE -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN4762" -></A -><H2 ->Description</H2 -><P -></P -></DIV -><DIV -CLASS="REFSECT1" -><A -NAME="AEN4765" -></A -><H2 ->Details</H2 -><DIV -CLASS="REFSECT2" -><A -NAME="AEN4767" -></A -><H3 -><A -NAME="XSLT-REGISTER-VARIABLE-LOOKUP-CAPS" -></A ->XSLT_REGISTER_VARIABLE_LOOKUP()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->#define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt)</PRE -></TD -></TR -></TABLE -><P ->Registering macro, not general purpose at all but used in different modules.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4773" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> </TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4782" -></A -><H3 -><A -NAME="XSLTEVALGLOBALVARIABLES" -></A ->xsltEvalGlobalVariables ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->int xsltEvalGlobalVariables (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt);</PRE -></TD -></TR -></TABLE -><P ->Evaluate the global variables of a stylesheet. This need to be -done on parsed stylesheets before starting to apply transformations</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4789" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->0 in case of success, -1 in case of error</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4802" -></A -><H3 -><A -NAME="XSLTEVALUSERPARAMS" -></A ->xsltEvalUserParams ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->int xsltEvalUserParams (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const char **params);</PRE -></TD -></TR -></TABLE -><P -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT ->: the XSLT transformation context -<TT -CLASS="PARAMETER" -><I ->params</I -></TT ->: a NULL terminated array of parameters name/value tuples</P -><P ->Evaluate the global variables of a stylesheet. This needs to be +int <a href="libxslt-variables.html#xsltEvalOneUserParam">xsltEvalOneUserParam</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *value); +int <a href="libxslt-variables.html#xsltQuoteOneUserParam">xsltQuoteOneUserParam</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *value); +void <a href="libxslt-variables.html#xsltParseGlobalVariable">xsltParseGlobalVariable</a> (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur); +void <a href="libxslt-variables.html#xsltParseGlobalParam">xsltParseGlobalParam</a> (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur); +void <a href="libxslt-variables.html#xsltParseStylesheetVariable">xsltParseStylesheetVariable</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur); +void <a href="libxslt-variables.html#xsltParseStylesheetParam">xsltParseStylesheetParam</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur); +<a href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> <a href="libxslt-variables.html#xsltParseStylesheetCallerParam">xsltParseStylesheetCallerParam</a> + (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur); +int <a href="libxslt-variables.html#xsltAddStackElemList">xsltAddStackElemList</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <a href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> elems); +void <a href="libxslt-variables.html#xsltFreeGlobalVariables">xsltFreeGlobalVariables</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt); +<GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlXPathObjectPtr">xmlXPathObjectPtr</GTKDOCLINK> <a href="libxslt-variables.html#xsltVariableLookup">xsltVariableLookup</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *ns_uri); +<GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlXPathObjectPtr">xmlXPathObjectPtr</GTKDOCLINK> <a href="libxslt-variables.html#xsltXPathVariableLookup">xsltXPathVariableLookup</a> (void *ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *ns_uri); +</pre></div><div class="refsect1" lang="en"><h2>Description</h2><p> + +</p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="XSLT-REGISTER-VARIABLE-LOOKUP-CAPS"></a>XSLT_REGISTER_VARIABLE_LOOKUP()</h3><pre class="programlisting">#define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt)</pre><p> +Registering macro, not general purpose at all but used in different modules.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> + + +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltEvalGlobalVariables"></a>xsltEvalGlobalVariables ()</h3><pre class="programlisting">int xsltEvalGlobalVariables (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt);</pre><p> +Evaluate the global variables of a stylesheet. This need to be +done on parsed stylesheets before starting to apply transformations</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 in case of success, -1 in case of error +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltEvalUserParams"></a>xsltEvalUserParams ()</h3><pre class="programlisting">int xsltEvalUserParams (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const char **params);</pre><p> +<i><tt>ctxt</tt></i>: the XSLT transformation context +<i><tt>params</tt></i>: a NULL terminated array of parameters name/value tuples +</p><p> +Evaluate the global variables of a stylesheet. This needs to be done on parsed stylesheets before starting to apply transformations. Each of the parameters is evaluated as an XPath expression and stored in the global variables/parameter hash table. If you want your -parameter used literally, use xsltQuoteUserParams.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4812" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> </TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->params</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> </TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->0 in case of success, -1 in case of error</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4829" -></A -><H3 -><A -NAME="XSLTQUOTEUSERPARAMS" -></A ->xsltQuoteUserParams ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->int xsltQuoteUserParams (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const char **params);</PRE -></TD -></TR -></TABLE -><P -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT ->: the XSLT transformation context -<TT -CLASS="PARAMETER" -><I ->params</I -></TT ->: a NULL terminated arry of parameters names/values tuples</P -><P ->Similar to xsltEvalUserParams, but the values are treated literally and +parameter used literally, use xsltQuoteUserParams.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> +</td></tr><tr><td><span class="term"><i><tt>params</tt></i> :</span></td><td> +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 in case of success, -1 in case of error +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltQuoteUserParams"></a>xsltQuoteUserParams ()</h3><pre class="programlisting">int xsltQuoteUserParams (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const char **params);</pre><p> +<i><tt>ctxt</tt></i>: the XSLT transformation context +<i><tt>params</tt></i>: a NULL terminated arry of parameters names/values tuples +</p><p> +Similar to xsltEvalUserParams, but the values are treated literally and are * *not* evaluated as XPath expressions. This should be done on parsed -stylesheets before starting to apply transformations.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4839" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> </TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->params</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> </TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->0 in case of success, -1 in case of error.</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4856" -></A -><H3 -><A -NAME="XSLTEVALONEUSERPARAM" -></A ->xsltEvalOneUserParam ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->int xsltEvalOneUserParam (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *value);</PRE -></TD -></TR -></TABLE -><P ->This is normally called from xsltEvalUserParams to process a single -parameter from a list of parameters. The <TT -CLASS="PARAMETER" -><I ->value</I -></TT -> is evaluated as an +stylesheets before starting to apply transformations.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> +</td></tr><tr><td><span class="term"><i><tt>params</tt></i> :</span></td><td> +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 in case of success, -1 in case of error. +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltEvalOneUserParam"></a>xsltEvalOneUserParam ()</h3><pre class="programlisting">int xsltEvalOneUserParam (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *value);</pre><p> +This is normally called from xsltEvalUserParams to process a single +parameter from a list of parameters. The <i><tt>value</tt></i> is evaluated as an XPath expression and the result is stored in the context's global -variable/parameter hash table.</P -><P ->To have a parameter treated literally (not as an XPath expression) +variable/parameter hash table. +</p><p> +To have a parameter treated literally (not as an XPath expression) use xsltQuoteUserParams (or xsltQuoteOneUserParam). For more -details see description of xsltProcessOneUserParamInternal.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4867" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->name</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> a null terminated string giving the name of the parameter</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->value</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> a null terminated string giving the XPath expression to be evaluated</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->0 in case of success, -1 in case of error.</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4888" -></A -><H3 -><A -NAME="XSLTQUOTEONEUSERPARAM" -></A ->xsltQuoteOneUserParam ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->int xsltQuoteOneUserParam (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *value);</PRE -></TD -></TR -></TABLE -><P ->This is normally called from xsltQuoteUserParams to process a single -parameter from a list of parameters. The <TT -CLASS="PARAMETER" -><I ->value</I -></TT -> is stored in the -context's global variable/parameter hash table.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4898" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->name</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> a null terminated string giving the name of the parameter</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->value</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> a null terminated string giving the parameter value</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->0 in case of success, -1 in case of error.</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4919" -></A -><H3 -><A -NAME="XSLTPARSEGLOBALVARIABLE" -></A ->xsltParseGlobalVariable ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->void xsltParseGlobalVariable (<A -HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</A -> style, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur);</PRE -></TD -></TR -></TABLE -><P ->parse an XSLT transformation variable declaration and record -its value.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4927" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->style</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT stylesheet</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->cur</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the "variable" element</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4940" -></A -><H3 -><A -NAME="XSLTPARSEGLOBALPARAM" -></A ->xsltParseGlobalParam ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->void xsltParseGlobalParam (<A -HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</A -> style, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur);</PRE -></TD -></TR -></TABLE -><P ->parse an XSLT transformation param declaration and record -its value.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4948" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->style</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT stylesheet</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->cur</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the "param" element</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4961" -></A -><H3 -><A -NAME="XSLTPARSESTYLESHEETVARIABLE" -></A ->xsltParseStylesheetVariable ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->void xsltParseStylesheetVariable (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur);</PRE -></TD -></TR -></TABLE -><P ->parse an XSLT transformation variable declaration and record -its value.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4969" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->cur</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the "variable" element</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN4982" -></A -><H3 -><A -NAME="XSLTPARSESTYLESHEETPARAM" -></A ->xsltParseStylesheetParam ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->void xsltParseStylesheetParam (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur);</PRE -></TD -></TR -></TABLE -><P ->parse an XSLT transformation param declaration and record -its value.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN4990" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->cur</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the "param" element</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN5003" -></A -><H3 -><A -NAME="XSLTPARSESTYLESHEETCALLERPARAM" -></A ->xsltParseStylesheetCallerParam ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" -><A -HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR" ->xsltStackElemPtr</A -> xsltParseStylesheetCallerParam - (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <GTKDOCLINK -HREF="XMLNODEPTR" ->xmlNodePtr</GTKDOCLINK -> cur);</PRE -></TD -></TR -></TABLE -><P ->parse an XSLT transformation param declaration, compute -its value but doesn't record it.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN5012" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->cur</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the "param" element</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->the new xsltStackElemPtr or NULL</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN5029" -></A -><H3 -><A -NAME="XSLTADDSTACKELEMLIST" -></A ->xsltAddStackElemList ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->int xsltAddStackElemList (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - <A -HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR" ->xsltStackElemPtr</A -> elems);</PRE -></TD -></TR -></TABLE -><P ->add the new element list at this level of the stack.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN5037" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> xn XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->elems</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> a stack element list</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->0 in case of success, -1 in case of failure.</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN5054" -></A -><H3 -><A -NAME="XSLTFREEGLOBALVARIABLES" -></A ->xsltFreeGlobalVariables ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" ->void xsltFreeGlobalVariables (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt);</PRE -></TD -></TR -></TABLE -><P ->Free up the data associated to the global variables -its value.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN5061" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN5070" -></A -><H3 -><A -NAME="XSLTVARIABLELOOKUP" -></A ->xsltVariableLookup ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK -> xsltVariableLookup (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *ns_uri);</PRE -></TD -></TR -></TABLE -><P ->Search in the Variable array of the context for the given -variable value.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN5080" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the XSLT transformation context</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->name</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the variable name</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ns_uri</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the variable namespace URI</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->the value or NULL if not found</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><HR><DIV -CLASS="REFSECT2" -><A -NAME="AEN5101" -></A -><H3 -><A -NAME="XSLTXPATHVARIABLELOOKUP" -></A ->xsltXPathVariableLookup ()</H3 -><TABLE -BORDER="0" -BGCOLOR="#D6E8FF" -WIDTH="100%" -CELLPADDING="6" -><TR -><TD -><PRE -CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XMLXPATHOBJECTPTR" ->xmlXPathObjectPtr</GTKDOCLINK -> xsltXPathVariableLookup (void *ctxt, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *name, - const <GTKDOCLINK -HREF="XMLCHAR" ->xmlChar</GTKDOCLINK -> *ns_uri);</PRE -></TD -></TR -></TABLE -><P ->This is the entry point when a varibale is needed by the XPath -interpretor.</P -><P -></P -><DIV -CLASS="INFORMALTABLE" -><A -NAME="AEN5110" -></A -><P -></P -><TABLE -BORDER="0" -WIDTH="100%" -BGCOLOR="#FFD0D0" -CELLSPACING="0" -CELLPADDING="4" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ctxt</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> a void * but the the XSLT transformation context actually</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->name</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the variable name</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><TT -CLASS="PARAMETER" -><I ->ns_uri</I -></TT -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" -> the variable namespace URI</TD -></TR -><TR -><TD -WIDTH="20%" -ALIGN="RIGHT" -VALIGN="TOP" -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Returns</I -></SPAN -> :</TD -><TD -WIDTH="80%" -ALIGN="LEFT" -VALIGN="TOP" ->the value or NULL if not found</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><BR -CLEAR="all"><BR><TABLE -WIDTH="100%" -BORDER="0" -BGCOLOR="#000000" -CELLPADDING="1" -CELLSPACING="0" -><TR -><TD -WIDTH="25%" -BGCOLOR="#C00000" -ALIGN="left" -><A -HREF="libxslt-namespaces.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B -><<< Previous Page</B -></FONT -></A -></TD -><TD -WIDTH="25%" -BGCOLOR="#0000C0" -ALIGN="center" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B -><A -HREF="book1.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->Home</B -></FONT -></A -></B -></FONT -></TD -><TD -WIDTH="25%" -BGCOLOR="#00C000" -ALIGN="center" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B -><A -HREF="libxslt-lib.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->Up</B -></FONT -></A -></B -></FONT -></TD -><TD -WIDTH="25%" -BGCOLOR="#C00000" -ALIGN="right" -><A -HREF="libxslt-keys.html" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->Next Page >>></B -></FONT -></A -></TD -></TR -><TR -><TD -COLSPAN="2" -ALIGN="left" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->namespaces</B -></FONT -></TD -><TD -COLSPAN="2" -ALIGN="right" -><FONT -COLOR="#FFFFFF" -SIZE="3" -><B ->keys</B -></FONT -></TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +details see description of xsltProcessOneUserParamInternal.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>name</tt></i> :</span></td><td> a null terminated string giving the name of the parameter +</td></tr><tr><td><span class="term"><i><tt>value</tt></i> :</span></td><td> a null terminated string giving the XPath expression to be evaluated +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 in case of success, -1 in case of error. +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltQuoteOneUserParam"></a>xsltQuoteOneUserParam ()</h3><pre class="programlisting">int xsltQuoteOneUserParam (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *value);</pre><p> +This is normally called from xsltQuoteUserParams to process a single +parameter from a list of parameters. The <i><tt>value</tt></i> is stored in the +context's global variable/parameter hash table.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>name</tt></i> :</span></td><td> a null terminated string giving the name of the parameter +</td></tr><tr><td><span class="term"><i><tt>value</tt></i> :</span></td><td> a null terminated string giving the parameter value +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 in case of success, -1 in case of error. +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltParseGlobalVariable"></a>xsltParseGlobalVariable ()</h3><pre class="programlisting">void xsltParseGlobalVariable (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur);</pre><p> +parse an XSLT transformation variable declaration and record +its value.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>style</tt></i> :</span></td><td> the XSLT stylesheet +</td></tr><tr><td><span class="term"><i><tt>cur</tt></i> :</span></td><td> the "variable" element +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltParseGlobalParam"></a>xsltParseGlobalParam ()</h3><pre class="programlisting">void xsltParseGlobalParam (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur);</pre><p> +parse an XSLT transformation param declaration and record +its value.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>style</tt></i> :</span></td><td> the XSLT stylesheet +</td></tr><tr><td><span class="term"><i><tt>cur</tt></i> :</span></td><td> the "param" element +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltParseStylesheetVariable"></a>xsltParseStylesheetVariable ()</h3><pre class="programlisting">void xsltParseStylesheetVariable (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur);</pre><p> +parse an XSLT transformation variable declaration and record +its value.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>cur</tt></i> :</span></td><td> the "variable" element +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltParseStylesheetParam"></a>xsltParseStylesheetParam ()</h3><pre class="programlisting">void xsltParseStylesheetParam (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur);</pre><p> +parse an XSLT transformation param declaration and record +its value.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>cur</tt></i> :</span></td><td> the "param" element +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltParseStylesheetCallerParam"></a>xsltParseStylesheetCallerParam ()</h3><pre class="programlisting"><a href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> xsltParseStylesheetCallerParam + (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlNodePtr">xmlNodePtr</GTKDOCLINK> cur);</pre><p> +parse an XSLT transformation param declaration, compute +its value but doesn't record it.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>cur</tt></i> :</span></td><td> the "param" element +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the new xsltStackElemPtr or NULL +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltAddStackElemList"></a>xsltAddStackElemList ()</h3><pre class="programlisting">int xsltAddStackElemList (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + <a href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> elems);</pre><p> +add the new element list at this level of the stack.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> xn XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>elems</tt></i> :</span></td><td> a stack element list +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 in case of success, -1 in case of failure. +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltFreeGlobalVariables"></a>xsltFreeGlobalVariables ()</h3><pre class="programlisting">void xsltFreeGlobalVariables (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt);</pre><p> +Free up the data associated to the global variables +its value.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltVariableLookup"></a>xsltVariableLookup ()</h3><pre class="programlisting"><GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlXPathObjectPtr">xmlXPathObjectPtr</GTKDOCLINK> xsltVariableLookup (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *ns_uri);</pre><p> +Search in the Variable array of the context for the given +variable value.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the XSLT transformation context +</td></tr><tr><td><span class="term"><i><tt>name</tt></i> :</span></td><td> the variable name +</td></tr><tr><td><span class="term"><i><tt>ns_uri</tt></i> :</span></td><td> the variable namespace URI +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the value or NULL if not found +</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xsltXPathVariableLookup"></a>xsltXPathVariableLookup ()</h3><pre class="programlisting"><GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlXPathObjectPtr">xmlXPathObjectPtr</GTKDOCLINK> xsltXPathVariableLookup (void *ctxt, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *name, + const <GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="xmlChar">xmlChar</GTKDOCLINK> *ns_uri);</pre><p> +This is the entry point when a varibale is needed by the XPath +interpretor.</p><p> + +</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> a void * but the the XSLT transformation context actually +</td></tr><tr><td><span class="term"><i><tt>name</tt></i> :</span></td><td> the variable name +</td></tr><tr><td><span class="term"><i><tt>ns_uri</tt></i> :</span></td><td> the variable namespace URI +</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the value or NULL if not found +</td></tr></tbody></table></div></div></div></div><table xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxslt-namespaces.html"><b><< namespaces</b></a></td><td align="right"><a accesskey="n" href="libxslt-keys.html"><b>keys >></b></a></td></tr></table></body></html> |