-Thu May 17 13:54:48 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+Thu May 17 17:24:35 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* libxslt/functions.c libxslt/transform.c libxslt/xsltInternals.h:
add ctxt->inst to allow stylesheet element lookup (needed
for document() fix)
- * libxslt/*.h: tried to generate docs for the structures and
- macros
+ * libxslt/*.[ch]: generate docs for the structures and
+ macros, general cleanup for docs
+ * doc/html/*.html: regenerated all docs
Wed May 16 23:00:53 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
>Gnome XSLT Library Reference Manual</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="NEXT"
TITLE="Libxml Programming Notes"
HREF="libxslt-notes.html"></HEAD
><BODY
+CLASS="BOOK"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
></TABLE
><H3
CLASS="AUTHOR"
->Daniel Veillard</H3
+><A
+NAME="AEN5"
+>Daniel Veillard</A
+></H3
><DIV
CLASS="AFFILIATION"
><DIV
></DIV
><P
CLASS="COPYRIGHT"
->Copyright © 2001 by <SPAN
-CLASS="HOLDER"
->Daniel Veillard</SPAN
-></P
+>Copyright © 2001 by Daniel Veillard</P
><DIV
><DIV
CLASS="ABSTRACT"
+><A
+NAME="AEN18"
+></A
><P
></P
><P
></DIV
><DIV
CLASS="LEGALNOTICE"
+><A
+NAME="AEN14"
+></A
><P
></P
><P
>attributes</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="imports"
HREF="libxslt-imports.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2054"
+NAME="AEN1972"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2057"
+NAME="AEN1975"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2070"
+NAME="AEN1988"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2073"
+NAME="AEN1991"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2075"
+NAME="AEN1993"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2001"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2096"
+NAME="AEN2014"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2021"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stylesheet</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2112"
+NAME="AEN2030"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2040"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the set list.</TD
></TR
+></TBODY
></TABLE
><P
></P
>functions</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="pattern"
HREF="libxslt-pattern.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN77"
+NAME="AEN82"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN80"
+NAME="AEN85"
></A
><H2
>Synopsis</H2
> ctxt,
int nargs);
void <A
-HREF="libxslt-functions.html#XSLTXXXFUNCTION"
->xsltXXXFunction</A
-> (<GTKDOCLINK
-HREF="XMLXPATHPARSERCONTEXTPTR"
->xmlXPathParserContextPtr</GTKDOCLINK
-> ctxt,
- int nargs);
-void <A
HREF="libxslt-functions.html#XSLTREGISTERALLFUNCTIONS"
>xsltRegisterAllFunctions</A
> (<GTKDOCLINK
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN103"
+NAME="AEN106"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN106"
+NAME="AEN109"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN108"
+NAME="AEN111"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN119"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN129"
+NAME="AEN132"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN140"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN150"
+NAME="AEN153"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN161"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN171"
+NAME="AEN174"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN182"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN192"
+NAME="AEN195"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN203"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN213"
+NAME="AEN216"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN224"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN234"
+NAME="AEN237"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN245"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN255"
+NAME="AEN258"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
-><P
-></P
-><TABLE
-BORDER="0"
-WIDTH="100%"
-BGCOLOR="#FFD0D0"
-CELLSPACING="0"
-CELLPADDING="4"
-CLASS="CALSTABLE"
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->ctxt</I
-></TT
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> the XPath Parser context</TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->nargs</I
-></TT
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> the number of arguments</TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN276"
-></A
-><H3
><A
-NAME="XSLTXXXFUNCTION"
+NAME="AEN266"
></A
->xsltXXXFunction ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->void xsltXXXFunction (<GTKDOCLINK
-HREF="XMLXPATHPARSERCONTEXTPTR"
->xmlXPathParserContextPtr</GTKDOCLINK
-> ctxt,
- int nargs);</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-><DIV
-CLASS="INFORMALTABLE"
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the XPath Parser context</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the number of arguments</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN295"
+NAME="AEN279"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN286"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the XPath context</TD
></TR
+></TBODY
></TABLE
><P
></P
>imports</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="namespaces"
HREF="libxslt-namespaces.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2148"
+NAME="AEN2066"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2151"
+NAME="AEN2069"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2173"
+NAME="AEN2091"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2176"
+NAME="AEN2094"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2178"
+NAME="AEN2096"
></A
><H3
><A
></TR
></TABLE
><P
+>a macro to import pointers from the stylesheet cascading order</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2102"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2200"
+NAME="AEN2119"
></A
><H3
><A
></TR
></TABLE
><P
+>a macro to import intergers from the stylesheet cascading order</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2125"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2222"
+NAME="AEN2142"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2150"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2243"
+NAME="AEN2163"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2171"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2264"
+NAME="AEN2184"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2192"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the next stylesheet or NULL if it was the last one</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2285"
+NAME="AEN2205"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2213"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
>1 if space should be stripped, 0 if not, and 2 if everything
should be CDTATA wrapped.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2310"
+NAME="AEN2230"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2240"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the xsltTemplatePtr or NULL if not found</TD
></TR
+></TBODY
></TABLE
><P
></P
>keys</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="xsltInternals"
HREF="libxslt-xsltinternals.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2884"
+NAME="AEN2774"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2887"
+NAME="AEN2777"
></A
><H2
>Synopsis</H2
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
> ctxt,
- <GTKDOCLINK
-HREF="XSLTDOCUMENTPTR"
->xsltDocumentPtr</GTKDOCLINK
+ <A
+HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
+>xsltDocumentPtr</A
> doc);
void <A
HREF="libxslt-keys.html#XSLTFREEKEYS"
void <A
HREF="libxslt-keys.html#XSLTFREEDOCUMENTKEYS"
>xsltFreeDocumentKeys</A
-> (<GTKDOCLINK
-HREF="XSLTDOCUMENTPTR"
->xsltDocumentPtr</GTKDOCLINK
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
+>xsltDocumentPtr</A
> doc);</PRE
></TD
></TR
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2909"
+NAME="AEN2799"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2912"
+NAME="AEN2802"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2914"
+NAME="AEN2804"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2815"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>0 in case of success, and -1 in case of failure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2954"
+NAME="AEN2844"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2855"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the nodeset resulting from the query or NULL</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2990"
+NAME="AEN2880"
></A
><H3
><A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
> ctxt,
- <GTKDOCLINK
-HREF="XSLTDOCUMENTPTR"
->xsltDocumentPtr</GTKDOCLINK
+ <A
+HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
+>xsltDocumentPtr</A
> doc);</PRE
></TD
></TR
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2888"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT document</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3011"
+NAME="AEN2901"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2908"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stylesheet</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3027"
+NAME="AEN2917"
></A
><H3
><A
><TD
><PRE
CLASS="PROGRAMLISTING"
->void xsltFreeDocumentKeys (<GTKDOCLINK
-HREF="XSLTDOCUMENTPTR"
->xsltDocumentPtr</GTKDOCLINK
+>void xsltFreeDocumentKeys (<A
+HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
+>xsltDocumentPtr</A
> doc);</PRE
></TD
></TR
></TABLE
><P
+>Free the keys associated to a document</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2924"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> a XSLT document</TD
></TR
+></TBODY
></TABLE
><P
></P
>Libxslt Library Reference</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="xslt"
HREF="libxslt-xslt.html"></HEAD
><BODY
+CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
>namespaces</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="variables"
HREF="libxslt-variables.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2346"
+NAME="AEN2266"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2349"
+NAME="AEN2269"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2375"
+NAME="AEN2295"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2378"
+NAME="AEN2298"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2380"
+NAME="AEN2300"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2308"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the xsl:namespace-alias node</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2401"
+NAME="AEN2321"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2332"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the namespace node to use or NULL</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2437"
+NAME="AEN2357"
></A
><H3
><A
></TR
></TABLE
><P
+>Find the right namespace value for this URI, if needed create
+and add a new namespace decalaration on the node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2369"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> a transformation context</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the input node</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the namespace URI</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the suggested prefix</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the output node (or its parent)</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>the namespace node to use or NULL</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2477"
+NAME="AEN2398"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2409"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> a new xmlNsPtr, or NULL in case of error.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2509"
+NAME="AEN2430"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2437"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stylesheet</TD
></TR
+></TBODY
></TABLE
><P
></P
>Libxml Programming Notes</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="Libxslt Library Reference"
HREF="libxslt-lib.html"></HEAD
><BODY
+CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
>numbersInternals</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="xsltInternals"
HREF="libxslt-xsltinternals.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN3498"
+NAME="AEN3420"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN3501"
+NAME="AEN3423"
></A
><H2
>Synopsis</H2
> <A
HREF="libxslt-xsltinternals.html#XSLTFORMATNUMBERCONVERSION"
>xsltFormatNumberConversion</A
-> (<GTKDOCLINK
-HREF="XSLTDECIMALFORMATPTR"
->xsltDecimalFormatPtr</GTKDOCLINK
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
>,
<GTKDOCLINK
HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3514"
+NAME="AEN3436"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3517"
+NAME="AEN3439"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3519"
+NAME="AEN3441"
></A
><H3
><A
><GTKDOCLINK
HREF="XMLXPATHERROR"
>xmlXPathError</GTKDOCLINK
-> xsltFormatNumberConversion (<GTKDOCLINK
-HREF="XSLTDECIMALFORMATPTR"
->xsltDecimalFormatPtr</GTKDOCLINK
+> xsltFormatNumberConversion (<A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
>,
<GTKDOCLINK
HREF="XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3451"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3554"
+NAME="AEN3476"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3484"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
>pattern</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="templates"
HREF="libxslt-templates.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN316"
+NAME="AEN300"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN319"
+NAME="AEN303"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN353"
+NAME="AEN337"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN356"
+NAME="AEN340"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN358"
+NAME="AEN342"
></A
><H3
><A
></TR
></TABLE
><P
+>Data structure used for the implementation of patterns.
+It is kept private (in pattern.c)</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN363"
+NAME="AEN348"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN368"
+NAME="AEN353"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN364"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the generated pattern list or NULL in case of failure</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN400"
+NAME="AEN385"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN393"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT comp list</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN417"
+NAME="AEN402"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN411"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>1 if it matches, 0 if it doesn't and -1 in case of failure</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN447"
+NAME="AEN432"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN443"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>-1 in case of error, 0 otherwise</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN483"
+NAME="AEN468"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN479"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the xsltTemplatePtr or NULL if not found</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN515"
+NAME="AEN500"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN507"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stylesheet</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN531"
+NAME="AEN516"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN523"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stylesheet</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN547"
+NAME="AEN532"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN541"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
>templates</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="transform"
HREF="libxslt-transform.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN582"
+NAME="AEN567"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN585"
+NAME="AEN570"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN631"
+NAME="AEN616"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN634"
+NAME="AEN619"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN636"
+NAME="AEN621"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN630"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>1 is the predicate was true, 0 otherwise</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN671"
+NAME="AEN656"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN666"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
>the computed string value or NULL, must be deallocated by the
caller.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN702"
+NAME="AEN687"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN698"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
>the computed string value or NULL, must be deallocated by the
caller.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN738"
+NAME="AEN723"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN734"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
>the static string value or NULL, must be deallocated by the
caller.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN778"
+NAME="AEN763"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN772"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
>the computed string value or NULL, must be deallocated by the
caller.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN804"
+NAME="AEN789"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN798"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the computed tree replacement</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN830"
+NAME="AEN815"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN825"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> a new xmlAttrPtr, or NULL in case of error.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN861"
+NAME="AEN846"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN856"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the attribute replacement.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN892"
+NAME="AEN877"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN886"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
>the computed string value or NULL, must be deallocated by the
caller.</TD
></TR
+></TBODY
></TABLE
><P
></P
>transform</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="xsltutils"
HREF="libxslt-xsltutils.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN923"
+NAME="AEN908"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN926"
+NAME="AEN911"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1022"
+NAME="AEN1007"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1025"
+NAME="AEN1010"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1027"
+NAME="AEN1012"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1021"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the result document or NULL in case of error</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1057"
+NAME="AEN1042"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1051"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> is this a real template processing</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1087"
+NAME="AEN1072"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1082"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1118"
+NAME="AEN1103"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1113"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1149"
+NAME="AEN1134"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1144"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1180"
+NAME="AEN1165"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1175"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1211"
+NAME="AEN1196"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1206"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1242"
+NAME="AEN1227"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1237"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1273"
+NAME="AEN1258"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1268"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1304"
+NAME="AEN1289"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1299"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1335"
+NAME="AEN1320"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1330"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1366"
+NAME="AEN1351"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1361"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1397"
+NAME="AEN1382"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1392"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1428"
+NAME="AEN1413"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1423"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1459"
+NAME="AEN1444"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1454"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1490"
+NAME="AEN1475"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1485"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1521"
+NAME="AEN1506"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1516"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1552"
+NAME="AEN1537"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1547"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1583"
+NAME="AEN1568"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1578"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> precomputed informations</TD
></TR
+></TBODY
></TABLE
><P
></P
>variables</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="keys"
HREF="libxslt-keys.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2530"
+NAME="AEN2451"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2533"
+NAME="AEN2454"
></A
><H2
>Synopsis</H2
> ctxt,
const char **params);
void <A
-HREF="libxslt-variables.html#XSLTPUSHSTACK"
->xsltPushStack</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
->xsltTransformContextPtr</A
-> ctxt);
-void <A
-HREF="libxslt-variables.html#XSLTPOPSTACK"
->xsltPopStack</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
->xsltTransformContextPtr</A
-> ctxt);
-void <A
HREF="libxslt-variables.html#XSLTPARSEGLOBALVARIABLE"
>xsltParseGlobalVariable</A
> (<A
>xsltStackElemPtr</A
> elems);
void <A
-HREF="libxslt-variables.html#XSLTFREEVARIABLEHASHES"
->xsltFreeVariableHashes</A
-> (<A
+HREF="libxslt-variables.html#XSLTFREEGLOBALVARIABLES"
+>xsltFreeGlobalVariables</A
+> (<A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
> ctxt);
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2575"
+NAME="AEN2492"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2578"
+NAME="AEN2495"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2580"
+NAME="AEN2497"
></A
><H3
><A
></TR
></TABLE
><P
+>registering macro, not general purpose at all but used in different modules</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2503"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2594"
+NAME="AEN2512"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2519"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>0 in case of success, -1 in case of error</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2614"
+NAME="AEN2532"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2539"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>0 in case of success, -1 in case of error</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2638"
-></A
-><H3
-><A
-NAME="XSLTPUSHSTACK"
-></A
->xsltPushStack ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->void xsltPushStack (<A
-HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
->xsltTransformContextPtr</A
-> ctxt);</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-><DIV
-CLASS="INFORMALTABLE"
-><P
-></P
-><TABLE
-BORDER="0"
-WIDTH="100%"
-BGCOLOR="#FFD0D0"
-CELLSPACING="0"
-CELLPADDING="4"
-CLASS="CALSTABLE"
-><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
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN2653"
-></A
-><H3
-><A
-NAME="XSLTPOPSTACK"
-></A
->xsltPopStack ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->void xsltPopStack (<A
-HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
->xsltTransformContextPtr</A
-> ctxt);</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-><DIV
-CLASS="INFORMALTABLE"
-><P
-></P
-><TABLE
-BORDER="0"
-WIDTH="100%"
-BGCOLOR="#FFD0D0"
-CELLSPACING="0"
-CELLPADDING="4"
-CLASS="CALSTABLE"
-><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
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN2668"
+NAME="AEN2556"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2564"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the "variable" element</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2689"
+NAME="AEN2577"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2585"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the "param" element</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2710"
+NAME="AEN2598"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2606"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the "variable" element</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2731"
+NAME="AEN2619"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2627"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the "param" element</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2752"
+NAME="AEN2640"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2650"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2779"
+NAME="AEN2667"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2675"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>0 in case of success, -1 in case of failure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2804"
+NAME="AEN2692"
></A
><H3
><A
-NAME="XSLTFREEVARIABLEHASHES"
+NAME="XSLTFREEGLOBALVARIABLES"
></A
->xsltFreeVariableHashes ()</H3
+>xsltFreeGlobalVariables ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->void xsltFreeVariableHashes (<A
+>void xsltFreeGlobalVariables (<A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
> ctxt);</PRE
></TR
></TABLE
><P
+>Free up the data associated to the global variables
+its value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2699"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the XSLT transformation context</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2819"
+NAME="AEN2708"
></A
><H3
><A
></TR
></TABLE
><P
->This is the entry point when a varibale is needed by the XPath
-interpretor.</P
+>Search in the Variable array of the context for the given
+variable value.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN2718"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> a void * but the the XSLT transformation context actually</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
VALIGN="TOP"
>the value or NULL if not found</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2850"
+NAME="AEN2739"
></A
><H3
><A
></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="AEN2748"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> a void * but the the XSLT transformation context actually</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the variable name</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the variable namespace URI</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>the value or NULL if not found</TD
></TR
+></TBODY
></TABLE
><P
></P
>xslt</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="functions"
HREF="libxslt-functions.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
></TR
></TABLE
><P
+>The default version of XSLT supported</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN52"
+NAME="AEN53"
></A
><H3
><A
></TR
></TABLE
><P
+>The XSLT "vendor" string for this processor</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN57"
+NAME="AEN59"
></A
><H3
><A
></TR
></TABLE
><P
+>The XSLT "vendor" URL for this processor</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN62"
+NAME="AEN65"
></A
><H3
><A
></TR
></TABLE
><P
+>The XSLT specification namespace</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN67"
+NAME="AEN71"
></A
><H3
><A
></TR
></TABLE
><P
+>This value is used to detect templates loops</P
+><P
></P
></DIV
></DIV
>xsltInternals</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="numbersInternals"
HREF="libxslt-numbersinternals.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN3047"
+NAME="AEN2938"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN3050"
+NAME="AEN2941"
></A
><H2
>Synopsis</H2
HREF="libxslt-xsltinternals.html#XSLT-MAX-SORT-CAPS"
>XSLT_MAX_SORT</A
>
-enum <A
-HREF="libxslt-xsltinternals.html#XSLTELEM"
->xsltElem</A
->;
-struct <A
-HREF="libxslt-xsltinternals.html#XSLTSTACKELEM"
->xsltStackElem</A
->;
-typedef <A
-HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
->xsltStackElemPtr</A
->;
#define <A
HREF="libxslt-xsltinternals.html#XSLT-PAT-NO-PRIORITY-CAPS"
>XSLT_PAT_NO_PRIORITY</A
HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMAT"
>xsltDecimalFormat</A
>;
+typedef <A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
+>;
+struct <A
+HREF="libxslt-xsltinternals.html#XSLTDOCUMENT"
+>xsltDocument</A
+>;
+typedef <A
+HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
+>xsltDocumentPtr</A
+>;
struct <A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXT"
>xsltTransformContext</A
>xsltStyleType</A
>;
struct <A
+HREF="libxslt-xsltinternals.html#XSLTSTACKELEM"
+>xsltStackElem</A
+>;
+typedef <A
+HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
+>xsltStackElemPtr</A
+>;
+struct <A
HREF="libxslt-xsltinternals.html#XSLTSTYLESHEET"
>xsltStylesheet</A
>;
HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
>xsltStackElemPtr</A
> elem);
-<GTKDOCLINK
-HREF="XSLTDECIMALFORMATPTR"
->xsltDecimalFormatPtr</GTKDOCLINK
+<A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
> <A
HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATGETBYNAME"
>xsltDecimalFormatGetByName</A
> <A
HREF="libxslt-xsltinternals.html#XSLTFORMATNUMBERCONVERSION"
>xsltFormatNumberConversion</A
-> (<GTKDOCLINK
-HREF="XSLTDECIMALFORMATPTR"
->xsltDecimalFormatPtr</GTKDOCLINK
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
> self,
<GTKDOCLINK
HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3113"
+NAME="AEN3006"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3116"
+NAME="AEN3009"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3118"
+NAME="AEN3011"
></A
><H3
><A
></TR
></TABLE
><P
+>Max number of specified xsl:sort on an element</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3123"
+NAME="AEN3017"
></A
><H3
><A
-NAME="XSLTELEM"
+NAME="XSLT-PAT-NO-PRIORITY-CAPS"
></A
->enum xsltElem</H3
+>XSLT_PAT_NO_PRIORITY</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->typedef enum {
- XSLT_ELEM_VARIABLE=1,
- XSLT_ELEM_PARAM
-} xsltElem;</PRE
+>#define XSLT_PAT_NO_PRIORITY -12345789</PRE
></TD
></TR
></TABLE
><P
+>specific value for pattern without priority expressed</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3128"
+NAME="AEN3023"
></A
><H3
><A
-NAME="XSLTSTACKELEM"
+NAME="XSLTTEMPLATE"
></A
->struct xsltStackElem</H3
+>struct xsltTemplate</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->struct xsltStackElem {
- struct _xsltStackElem *next;/* chained list */
- xsltElem type; /* type of the element */
- int computed; /* was the evaluation done */
+>struct xsltTemplate {
+ struct _xsltTemplate *next;/* chained list sorted by priority */
+ struct _xsltStylesheet *style;/* the containing stylesheet */
+ xmlChar *match; /* the matching string */
+ float priority; /* as given from the stylesheet, not computed */
xmlChar *name; /* the local part of the name QName */
xmlChar *nameURI; /* the URI part of the name QName */
- xmlChar *select; /* the eval string */
- xmlNodePtr tree; /* the tree if no eval string or the location */
- xmlXPathObjectPtr value; /* The value if computed */
+ xmlChar *mode; /* the local part of the mode QName */
+ xmlChar *modeURI; /* the URI part of the mode QName */
+ xmlNodePtr content; /* the template replacement value */
+ xmlNodePtr elem; /* the source element */
};</PRE
></TD
></TR
></TABLE
><P
+>The in-memory structure corresponding to an XSLT Template</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3133"
+NAME="AEN3029"
></A
><H3
><A
-NAME="XSLTSTACKELEMPTR"
+NAME="XSLTTEMPLATEPTR"
></A
->xsltStackElemPtr</H3
+>xsltTemplatePtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->typedef xsltStackElem *xsltStackElemPtr;</PRE
+>typedef xsltTemplate *xsltTemplatePtr;</PRE
></TD
></TR
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3138"
+NAME="AEN3034"
></A
><H3
><A
-NAME="XSLT-PAT-NO-PRIORITY-CAPS"
+NAME="XSLTDECIMALFORMAT"
></A
->XSLT_PAT_NO_PRIORITY</H3
+>struct xsltDecimalFormat</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define XSLT_PAT_NO_PRIORITY -12345789</PRE
+>struct xsltDecimalFormat {
+ struct _xsltDecimalFormat *next; /* chained list */
+ xmlChar *name;
+ /* Used for interpretation of pattern */
+ xmlChar *digit;
+ xmlChar *patternSeparator;
+ /* May appear in result */
+ xmlChar *minusSign;
+ xmlChar *infinity;
+ xmlChar *noNumber; /* Not-a-number */
+ /* Used for interpretation of pattern and may appear in result */
+ xmlChar *decimalPoint;
+ xmlChar *grouping;
+ xmlChar *percent;
+ xmlChar *permille;
+ xmlChar *zeroDigit;
+};</PRE
></TD
></TR
></TABLE
><P
+>Data structure of decimal-format</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3143"
+NAME="AEN3040"
></A
><H3
><A
-NAME="XSLTTEMPLATE"
+NAME="XSLTDECIMALFORMATPTR"
></A
->struct xsltTemplate</H3
+>xsltDecimalFormatPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->struct xsltTemplate {
- struct _xsltTemplate *next;/* chained list sorted by priority */
- struct _xsltStylesheet *style;/* the containing stylesheet */
- xmlChar *match; /* the matching string */
- float priority; /* as given from the stylesheet, not computed */
- xmlChar *name; /* the local part of the name QName */
- xmlChar *nameURI; /* the URI part of the name QName */
- xmlChar *mode; /* the local part of the mode QName */
- xmlChar *modeURI; /* the URI part of the mode QName */
- xmlNodePtr content; /* the template replacement value */
- xmlNodePtr elem; /* the source element */
-};</PRE
+>typedef xsltDecimalFormat *xsltDecimalFormatPtr;</PRE
></TD
></TR
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3148"
+NAME="AEN3045"
></A
><H3
><A
-NAME="XSLTTEMPLATEPTR"
+NAME="XSLTDOCUMENT"
></A
->xsltTemplatePtr</H3
+>struct xsltDocument</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->typedef xsltTemplate *xsltTemplatePtr;</PRE
+>struct xsltDocument {
+ struct _xsltDocument *next; /* documents are kept in a chained list */
+ int main; /* is this the main document */
+ xmlDocPtr doc; /* the parsed document */
+ void *keys; /* key tables storage */
+};</PRE
></TD
></TR
></TABLE
><P
+>Data structure associated to a parsed document</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3153"
+NAME="AEN3051"
></A
><H3
><A
-NAME="XSLTDECIMALFORMAT"
+NAME="XSLTDOCUMENTPTR"
></A
->struct xsltDecimalFormat</H3
+>xsltDocumentPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
><TD
><PRE
CLASS="PROGRAMLISTING"
->struct xsltDecimalFormat *next; /* chained list */
- xmlChar *name;
- /* Used for interpretation of pattern */
- xmlChar *digit;
- xmlChar *patternSeparator;
- /* May appear in result */
- xmlChar *minusSign;
- xmlChar *infinity;
- xmlChar *noNumber; /* Not-a-number */
- /* Used for interpretation of pattern and may appear in result */
- xmlChar *decimalPoint;
- xmlChar *grouping;
- xmlChar *percent;
- xmlChar *permille;
- xmlChar *zeroDigit;
-} xsltDecimalFormat, *xsltDecimalFormatPtr;
-
-/*
- * Data structure associated to a document
- */
-
-typedef struct _xsltDocument xsltDocument;
-typedef xsltDocument *xsltDocumentPtr;
-struct _xsltDocument {
- struct _xsltDocument *next; /* documents are kept in a chained list */
- int main; /* is this the main document */
- xmlDocPtr doc; /* the parsed document */
- void *keys; /* key tables storage */
-};</PRE
+>typedef xsltDocument *xsltDocumentPtr;</PRE
></TD
></TR
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3158"
+NAME="AEN3056"
></A
><H3
><A
xmlXPathContextPtr xpathCtxt; /* the XPath context */
xsltTransformState state; /* the current state */
+
+ /*
+ * Global variables
+ */
+ xmlHashTablePtr globalVars; /* the global variables and params */
+
+ xmlNodePtr inst; /* the instruction in the stylesheet */
};</PRE
></TD
></TR
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3163"
+NAME="AEN3061"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3168"
+NAME="AEN3066"
></A
><H3
><A
></TR
></TABLE
><P
+>The in-memory structure corresponding to XSLT stylesheet constructs
+precomputed data.</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3173"
+NAME="AEN3072"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3178"
+NAME="AEN3077"
></A
><H3
><A
></TR
></TABLE
><P
+>signature of the function associated to elements part of the
+stylesheet language like xsl:if or xsl:apply-templates.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3087"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3208"
+NAME="AEN3108"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3213"
+NAME="AEN3113"
+></A
+><H3
+><A
+NAME="XSLTSTACKELEM"
+></A
+>struct xsltStackElem</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>struct xsltStackElem {
+ struct _xsltStackElem *next;/* chained list */
+ xsltStylePreCompPtr comp; /* the compiled form */
+ int computed; /* was the evaluation done */
+ xmlChar *name; /* the local part of the name QName */
+ xmlChar *nameURI; /* the URI part of the name QName */
+ xmlChar *select; /* the eval string */
+ xmlNodePtr tree; /* the tree if no eval string or the location */
+ xmlXPathObjectPtr value; /* The value if computed */
+};</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN3118"
+></A
+><H3
+><A
+NAME="XSLTSTACKELEMPTR"
+></A
+>xsltStackElemPtr</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>typedef xsltStackElem *xsltStackElemPtr;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN3123"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3218"
+NAME="AEN3128"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3223"
+NAME="AEN3133"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3228"
+NAME="AEN3138"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3233"
+NAME="AEN3143"
></A
><H3
><A
></TR
></TABLE
><P
+>Macro to check if the XSLT processing should be stopped
+will return from the function</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3238"
+NAME="AEN3149"
></A
><H3
><A
></TR
></TABLE
><P
+>Macro to check if the XSLT processing should be stopped
+will goto the error: label</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3243"
+NAME="AEN3155"
></A
><H3
><A
></TR
></TABLE
><P
+>Macro to check if the XSLT processing should be stopped
+will return from the function with a 0 value</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3248"
+NAME="AEN3161"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3168"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the newly allocated xsltStylesheetPtr or NULL in case of error</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3264"
+NAME="AEN3177"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3185"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>a new XSLT stylesheet structure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3285"
+NAME="AEN3198"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3206"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stylesheet</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3302"
+NAME="AEN3215"
></A
><H3
><A
></TR
></TABLE
><P
-></P
+>Check if a string is ignorable</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3222"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>1 if the string is NULL or made of blanks chars, 0 otherwise</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3322"
+NAME="AEN3235"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3243"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> an XSLT stack element</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3339"
+NAME="AEN3252"
></A
><H3
><A
><TD
><PRE
CLASS="PROGRAMLISTING"
-><GTKDOCLINK
-HREF="XSLTDECIMALFORMATPTR"
->xsltDecimalFormatPtr</GTKDOCLINK
+><A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
> xsltDecimalFormatGetByName
(<A
HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3261"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3365"
+NAME="AEN3278"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3287"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>a new XSLT stylesheet structure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3391"
+NAME="AEN3304"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3312"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3412"
+NAME="AEN3325"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3333"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>a new XSLT stylesheet structure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3433"
+NAME="AEN3346"
></A
><H3
><A
></TR
></TABLE
><P
+>Convert one number.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3355"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the formatting informations</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the data to format</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3458"
+NAME="AEN3372"
></A
><H3
><A
><GTKDOCLINK
HREF="XMLXPATHERROR"
>xmlXPathError</GTKDOCLINK
-> xsltFormatNumberConversion (<GTKDOCLINK
-HREF="XSLTDECIMALFORMATPTR"
->xsltDecimalFormatPtr</GTKDOCLINK
+> xsltFormatNumberConversion (<A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATPTR"
+>xsltDecimalFormatPtr</A
> self,
<GTKDOCLINK
HREF="XMLCHAR"
></TR
></TABLE
><P
+>format-<GTKDOCLINK
+HREF="NUMBER"
+>number</GTKDOCLINK
+>() uses the JDK 1.1 DecimalFormat class:</P
+><P
+>http://java.sun.com/products/jdk/1.1/docs/api/java.text.DecimalFormat.html</P
+><P
+>Structure:</P
+><P
+>pattern := subpattern{;subpattern}
+subpattern := {prefix}integer{.fraction}{suffix}
+prefix := '\\u0000'..'\\uFFFD' - specialCharacters
+suffix := '\\u0000'..'\\uFFFD' - specialCharacters
+integer := '#'* '0'* '0'
+fraction := '0'* '#'*</P
+><P
+>Notation:
+X* 0 or more instances of X
+(X | Y) either X or Y.
+X..Y any character from X up to Y, inclusive.
+S - T characters in S, except those in T</P
+><P
+>Special Characters:</P
+><P
+>Symbol Meaning
+0 a digit
+# a digit, zero shows as absent
+. placeholder for decimal separator
+, placeholder for grouping separator.
+; separates formats.
+- default negative prefix.
+% multiply by 100 and show as percentage
+? multiply by 1000 and show as per mille
+X any other characters can be used in the prefix or suffix
+' used to quote special characters in a prefix or suffix.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN3390"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the decimal format</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the format requested</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the value to format</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the place to ouput the result</TD
></TR
><TR
><TD
VALIGN="TOP"
> </TD
></TR
+></TBODY
></TABLE
><P
></P
>xsltutils</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XSLT Library Reference Manual"
HREF="book1.html"><LINK
TITLE="attributes"
HREF="libxslt-attributes.html"></HEAD
><BODY
+CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN1619"
+NAME="AEN1604"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN1622"
+NAME="AEN1607"
></A
><H2
>Synopsis</H2
CLASS="SYNOPSIS"
>
-int <A
-HREF="libxslt-xsltutils.html#XMLXPATHISNODETYPE"
->xmlXPathIsNodeType</A
-> (const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *name);
-<GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
->* <A
-HREF="libxslt-xsltutils.html#XMLSPLITQNAME2"
->xmlSplitQName2</A
-> (const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *name,
- <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> **prefix);
-void <A
-HREF="libxslt-xsltutils.html#XMLXPATHBOOLEANFUNCTION"
->xmlXPathBooleanFunction</A
-> (<GTKDOCLINK
-HREF="XMLXPATHPARSERCONTEXTPTR"
->xmlXPathParserContextPtr</GTKDOCLINK
-> ctxt,
- int nargs);
#define <A
HREF="libxslt-xsltutils.html#TODO-CAPS"
>TODO</A
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1668"
+NAME="AEN1645"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1671"
+NAME="AEN1648"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1673"
-></A
-><H3
-><A
-NAME="XMLXPATHISNODETYPE"
-></A
->xmlXPathIsNodeType ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->int xmlXPathIsNodeType (const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *name);</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-><DIV
-CLASS="INFORMALTABLE"
-><P
-></P
-><TABLE
-BORDER="0"
-WIDTH="100%"
-BGCOLOR="#FFD0D0"
-CELLSPACING="0"
-CELLPADDING="4"
-CLASS="CALSTABLE"
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->name</I
-></TT
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> </TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><I
-CLASS="EMPHASIS"
->Returns</I
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> </TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN1692"
-></A
-><H3
-><A
-NAME="XMLSPLITQNAME2"
-></A
->xmlSplitQName2 ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
-><GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
->* xmlSplitQName2 (const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *name,
- <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> **prefix);</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-><DIV
-CLASS="INFORMALTABLE"
-><P
-></P
-><TABLE
-BORDER="0"
-WIDTH="100%"
-BGCOLOR="#FFD0D0"
-CELLSPACING="0"
-CELLPADDING="4"
-CLASS="CALSTABLE"
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->name</I
-></TT
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> </TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->prefix</I
-></TT
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> </TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><I
-CLASS="EMPHASIS"
->Returns</I
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> </TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN1717"
-></A
-><H3
-><A
-NAME="XMLXPATHBOOLEANFUNCTION"
-></A
->xmlXPathBooleanFunction ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->void xmlXPathBooleanFunction (<GTKDOCLINK
-HREF="XMLXPATHPARSERCONTEXTPTR"
->xmlXPathParserContextPtr</GTKDOCLINK
-> ctxt,
- int nargs);</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-><DIV
-CLASS="INFORMALTABLE"
-><P
-></P
-><TABLE
-BORDER="0"
-WIDTH="100%"
-BGCOLOR="#FFD0D0"
-CELLSPACING="0"
-CELLPADDING="4"
-CLASS="CALSTABLE"
-><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
->nargs</I
-></TT
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> </TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN1736"
+NAME="AEN1650"
></A
><H3
><A
></TR
></TABLE
><P
+>macro to flag unimplemented blocks</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1741"
+NAME="AEN1656"
></A
><H3
><A
></TR
></TABLE
><P
+>macro to flag that a problem was detected internally</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1746"
+NAME="AEN1662"
></A
><H3
><A
></TR
></TABLE
><P
+>Checks that the element pertains to XSLt namespace</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1668"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1760"
+NAME="AEN1677"
></A
><H3
><A
></TR
></TABLE
><P
+>Checks the value of an element in XSLT namespace</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1683"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> </TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1778"
+NAME="AEN1696"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1783"
+NAME="AEN1701"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1788"
+NAME="AEN1706"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1793"
+NAME="AEN1711"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1798"
+NAME="AEN1716"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1725"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> The node containing the message instruction</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1824"
+NAME="AEN1742"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1754"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the new handler function</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1849"
+NAME="AEN1767"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1779"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the new handler function</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1874"
+NAME="AEN1792"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1800"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the node set</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1891"
+NAME="AEN1809"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1817"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
> the number of sorts in the array</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1916"
+NAME="AEN1834"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1846"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the number of byte written or -1 in case of failure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1949"
+NAME="AEN1867"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1878"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the number of byte written or -1 in case of failure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1985"
+NAME="AEN1903"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1915"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the number of byte written or -1 in case of failure.</TD
></TR
+></TBODY
></TABLE
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2018"
+NAME="AEN1936"
></A
><H3
><A
></P
><DIV
CLASS="INFORMALTABLE"
+><A
+NAME="AEN1946"
+></A
><P
></P
><TABLE
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
+><TBODY
><TR
><TD
WIDTH="20%"
VALIGN="TOP"
>the number of byte written or -1 in case of failure.</TD
></TR
+></TBODY
></TABLE
><P
></P
/**
- * xsltFreeExtPrefix:
+ * xsltFreeExts:
* @style: an XSLT stylesheet
*
* Free up the memory used by XSLT extensions in a stylesheet
xsltFreeExtDefList((xsltExtDefPtr) style->nsDefs);
}
-/*
+/**
* xsltRegisterExtPrefix:
* @style: an XSLT stylesheet
* @prefix: the prefix used
return(0);
}
-/*
+/**
* xsltRegisterExtFunction:
* @ctxt: an XSLT transformation context
* @name: the name of the element
return(xmlHashAddEntry2(ctxt->extFunctions, name, URI, (void *) function));
}
-/*
+/**
* xsltRegisterExtElement:
* @ctxt: an XSLT transformation context
* @name: the name of the element
return(xmlHashAddEntry2(ctxt->extElements, name, URI, (void *) function));
}
-/*
+/**
* xsltFreeCtxtExts:
* @ctxt: an XSLT transformation context
*
xmlHashFree(ctxt->extFunctions, NULL);
}
-/*
+/**
* xsltCheckExtPrefix:
* @style: the stylesheet
* @prefix: the namespace prefix (possibly NULL)
int nargs);
void xsltFunctionAvailableFunction (xmlXPathParserContextPtr ctxt,
int nargs);
-void xsltXXXFunction (xmlXPathParserContextPtr ctxt,
- int nargs);
/*
* And the registration
/**
* xsltFindElemSpaceHandling:
- * ctxt: an XSLT transformation context
- * node: an XML node
+ * @ctxt: an XSLT transformation context
+ * @node: an XML node
*
* Find strip-space or preserve-space informations for an element
* respect the import precedence or the wildcards
/**
* xsltFindTemplate:
- * ctxt: an XSLT transformation context
+ * @ctxt: an XSLT transformation context
* @name: the template name
* @nameURI: the template name URI
*
}
}
-/*
+/**
* xsltFreeDocumentKeys:
* @doc: a XSLT document
*
}
/**
- * xsltGetSpecificNamespace:
+ * xsltGetSpecialNamespace:
* @ctxt: a transformation context
* @cur: the input node
* @URI: the namespace URI
}
#endif
-/************************************************************************
- *
- * xsltNumberFormat
- *
- * Convert one number.
- */
static void
xsltNumberFormatDecimal(xmlBufferPtr buffer,
double number,
return amount;
}
+/**
+ * xsltNumberFormat:
+ * @ctxt: the XSLT transformation context
+ * @data: the formatting informations
+ * @node: the data to format
+ *
+ * Convert one number.
+ */
void
xsltNumberFormat(xsltTransformContextPtr ctxt,
xsltNumberDataPtr data,
}
}
-/************************************************************************
+/**
+ * xsltFormatNumberConversion:
+ * @self: the decimal format
+ * @format: the format requested
+ * @number: the value to format
+ * @result: the place to ouput the result
*
* format-number() uses the JDK 1.1 DecimalFormat class:
*
/**
* xsltCompilePattern:
- * @pattern an XSLT pattern
+ * @pattern: an XSLT pattern
* @doc: the containing document
* @node: the containing element
*
}
/**
- * xsltDocumentCompute:
+ * xsltStylePreCompute:
* @style: the XSLT stylesheet
* @inst: the instruction in the stylesheet
*
}
/**
- * xsltVariableLookup:
+ * xsltXPathVariableLookup:
* @ctxt: a void * but the the XSLT transformation context actually
* @name: the variable name
* @ns_uri: the variable namespace URI
#endif
-/*
+/**
* XSLT_REGISTER_VARIABLE_LOOKUP:
*
* registering macro, not general purpose at all but used in different modules
int xsltEvalGlobalVariables (xsltTransformContextPtr ctxt);
int xsltEvalUserParams (xsltTransformContextPtr ctxt,
const char **params);
-void xsltPushStack (xsltTransformContextPtr ctxt);
-void xsltPopStack (xsltTransformContextPtr ctxt);
void xsltParseGlobalVariable (xsltStylesheetPtr style,
xmlNodePtr cur);
void xsltParseGlobalParam (xsltStylesheetPtr style,
xmlNodePtr cur);
int xsltAddStackElemList (xsltTransformContextPtr ctxt,
xsltStackElemPtr elems);
-void xsltFreeVariableHashes (xsltTransformContextPtr ctxt);
void xsltFreeGlobalVariables (xsltTransformContextPtr ctxt);
xmlXPathObjectPtr xsltVariableLookup (xsltTransformContextPtr ctxt,
const xmlChar *name,
* xsltIsBlank:
* @str: a string
*
+ * Check if a string is ignorable
+ *
* Returns 1 if the string is NULL or made of blanks chars, 0 otherwise
*/
int
*/
#define XSLT_MAX_SORT 5
+/**
+ * XSLT_PAT_NO_PRIORITY:
+ *
+ * specific value for pattern without priority expressed
+ */
#define XSLT_PAT_NO_PRIORITY -12345789
/**
/**
* xsltTransformFunction:
+ * @ctxt: the XSLT transformation context
+ * @node: the input node
+ * @inst: the stylesheet node
+ * @comp: the compiled information from the stylesheet
*
* signature of the function associated to elements part of the
* stylesheet language like xsl:if or xsl:apply-templates.
xmlNodePtr inst; /* the instruction in the stylesheet */
};
+/**
+ * CHECK_STOPPED:
+ *
+ * Macro to check if the XSLT processing should be stopped
+ * will return from the function
+ */
#define CHECK_STOPPED if (ctxt->state == XSLT_STATE_STOPPED) return;
+
+/**
+ * CHECK_STOPPEDE:
+ *
+ * Macro to check if the XSLT processing should be stopped
+ * will goto the error: label
+ */
#define CHECK_STOPPEDE if (ctxt->state == XSLT_STATE_STOPPED) goto error;
+
+/**
+ * CHECK_STOPPED0:
+ *
+ * Macro to check if the XSLT processing should be stopped
+ * will return from the function with a 0 value
+ */
#define CHECK_STOPPED0 if (ctxt->state == XSLT_STATE_STOPPED) return(0);
/*
extern "C" {
#endif
+/**
+ * WITH_XSLT_DEBUG:
+ *
+ * Activate the compilation of the debug reporting. Speed penalty
+ * is insignifiant and being able to run xsltpoc -v is useful. On
+ * by default unless --without-debug is passed to configure
+ */
#if @WITH_XSLT_DEBUG@
#define WITH_XSLT_DEBUG
#endif
#if @WITH_MEM_DEBUG@
+/**
+ * DEBUG_MEMORY:
+ *
+ * should be activated only when debugging libxslt. It replaces the
+ * allocator with a collect and debug shell to the libc allocator.
+ * Use configure --with-mem-debug to activate it on both library
+ */
#define DEBUG_MEMORY
+
+/**
+ * DEBUG_MEMORY_LOCATION:
+ *
+ * should be activated only when debugging libxslt.
+ * DEBUG_MEMORY_LOCATION should be activated only when libxml has
+ * been configured with --with-debug-mem too
+ */
#define DEBUG_MEMORY_LOCATION
#endif
+/**
+ * ATTRIBUTE_UNUSED:
+ *
+ * This macro is used to flag unused function parameters to GCC
+ */
#ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
extern "C" {
#endif
-/*
- * To cleanup
- */
-int xmlXPathIsNodeType(const xmlChar *name);
-xmlChar *xmlSplitQName2(const xmlChar *name, xmlChar **prefix);
-void xmlXPathBooleanFunction(xmlXPathParserContextPtr ctxt, int nargs);
-/*********
-void xmlXPathRegisterVariableLookup(xmlXPathContextPtr ctxt,
- xmlXPathVariableLookupFunc f, void *data)
- *********/
-
-/*
- * Useful macros
+/**
+ * TODO:
+ *
+ * macro to flag unimplemented blocks
*/
-
#define TODO \
xsltGenericError(xsltGenericErrorContext, \
"Unimplemented block at %s:%d\n", \
__FILE__, __LINE__);
+/**
+ * STRANGE:
+ *
+ * macro to flag that a problem was detected internally
+ */
#define STRANGE \
xsltGenericError(xsltGenericErrorContext, \
"Internal error at %s:%d\n", \
__FILE__, __LINE__);
+/**
+ * IS_XSLT_ELEM:
+ *
+ * Checks that the element pertains to XSLt namespace
+ */
#define IS_XSLT_ELEM(n) \
(((n) != NULL) && ((n)->ns != NULL) && \
(xmlStrEqual((n)->ns->href, XSLT_NAMESPACE)))
+/**
+ * IS_XSLT_NAME:
+ *
+ * Checks the value of an element in XSLT namespace
+ */
#define IS_XSLT_NAME(n, val) \
(xmlStrEqual((n)->name, (const xmlChar *) (val)))