summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-02-03 20:51:46 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-02-03 20:51:46 +0000
commit2eaf99b1976f02a3fc90268e4abb262debe5c6f0 (patch)
tree375885674a442817f976b78912cb8da79116f0c6
parentaedfad9ba486b32b5aae3e9d41c160b4a6428adc (diff)
downloadlibxslt-2eaf99b1976f02a3fc90268e4abb262debe5c6f0.tar.gz
libxslt-2eaf99b1976f02a3fc90268e4abb262debe5c6f0.tar.bz2
libxslt-2eaf99b1976f02a3fc90268e4abb262debe5c6f0.zip
A bit of debug, regenerated the docs:
- TODO: updated - doc/html/*.html updated - doc/libxslt.sgml: added new modules - libxslt/pattern.c: fix loop on hash clashes. Daniel
-rw-r--r--ChangeLog7
-rw-r--r--TODO1
-rw-r--r--doc/html/book1.html20
-rw-r--r--doc/html/libxslt-attributes.html705
-rw-r--r--doc/html/libxslt-imports.html810
-rw-r--r--doc/html/libxslt-lib.html20
-rw-r--r--doc/html/libxslt-namespaces.html945
-rw-r--r--doc/html/libxslt-pattern.html193
-rw-r--r--doc/html/libxslt-templates.html133
-rw-r--r--doc/html/libxslt-transform.html24
-rw-r--r--doc/html/libxslt-variables.html1474
-rw-r--r--doc/html/libxslt-xsltinternals.html442
-rw-r--r--doc/html/libxslt-xsltutils.html322
-rw-r--r--doc/libxslt.sgml8
-rw-r--r--libxslt/pattern.c2
15 files changed, 4816 insertions, 290 deletions
diff --git a/ChangeLog b/ChangeLog
index 55230746..09240841 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sat Feb 3 21:49:36 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * TODO: updated
+ * doc/html/*.html updated
+ * doc/libxslt.sgml: added new modules
+ * libxslt/pattern.c: fix loop on hash clashes.
+
Sat Feb 3 16:13:35 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* FEATURES: updated
diff --git a/TODO b/TODO
index 555d86cd..353526e4 100644
--- a/TODO
+++ b/TODO
@@ -35,6 +35,7 @@ Templates:
Pattern tester:
-> try to optimize for ID scan and tests.
+ -> support for mode
Pattern scanner:
-> add error checks on all returns
diff --git a/doc/html/book1.html b/doc/html/book1.html
index 19001f74..e54e6e64 100644
--- a/doc/html/book1.html
+++ b/doc/html/book1.html
@@ -149,6 +149,26 @@ HREF="libxslt-xsltinternals.html"
HREF="libxslt-xsltutils.html"
>xsltutils</A
> &#8212; </DT
+><DT
+><A
+HREF="libxslt-attributes.html"
+>attributes</A
+> &#8212; </DT
+><DT
+><A
+HREF="libxslt-imports.html"
+>imports</A
+> &#8212; </DT
+><DT
+><A
+HREF="libxslt-namespaces.html"
+>namespaces</A
+> &#8212; </DT
+><DT
+><A
+HREF="libxslt-variables.html"
+>variables</A
+> &#8212; </DT
></DL
></DD
></DL
diff --git a/doc/html/libxslt-attributes.html b/doc/html/libxslt-attributes.html
new file mode 100644
index 00000000..5e089341
--- /dev/null
+++ b/doc/html/libxslt-attributes.html
@@ -0,0 +1,705 @@
+<HTML
+><HEAD
+><TITLE
+>attributes</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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="xsltutils"
+HREF="libxslt-xsltutils.html"><LINK
+REL="NEXT"
+TITLE="imports"
+HREF="libxslt-imports.html"></HEAD
+><BODY
+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-xsltutils.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>&#60;&#60;&#60; 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-imports.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
+></TR
+></TABLE
+></DIV
+><H1
+><A
+NAME="LIBXSLT-ATTRIBUTES"
+>attributes</A
+></H1
+><DIV
+CLASS="REFNAMEDIV"
+><A
+NAME="AEN1456"
+></A
+><H2
+>Name</H2
+>attributes&nbsp;--&nbsp;</DIV
+><DIV
+CLASS="REFSYNOPSISDIV"
+><A
+NAME="AEN1459"
+></A
+><H2
+>Synopsis</H2
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="SYNOPSIS"
+>&#13;
+
+void <A
+HREF="libxslt-attributes.html#XSLTPARSESTYLESHEETATTRIBUTESET"
+>xsltParseStylesheetAttributeSet</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);
+void <A
+HREF="libxslt-attributes.html#XSLTATTRIBUTE"
+>xsltAttribute</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> inst);
+void <A
+HREF="libxslt-attributes.html#XSLTFREEATTRIBUTESETSHASHES"
+>xsltFreeAttributeSetsHashes</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);
+void <A
+HREF="libxslt-attributes.html#XSLTAPPLYATTRIBUTESET"
+>xsltApplyAttributeSet</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> inst,
+ <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *attributes);</PRE
+></TD
+></TR
+></TABLE
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1476"
+></A
+><H2
+>Description</H2
+><P
+></P
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1479"
+></A
+><H2
+>Details</H2
+><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1481"
+></A
+><H3
+><A
+NAME="XSLTPARSESTYLESHEETATTRIBUTESET"
+></A
+>xsltParseStylesheetAttributeSet ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltParseStylesheetAttributeSet (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);</PRE
+></TD
+></TR
+></TABLE
+><P
+>parse an XSLT stylesheet preserve-space element and record
+elements needing preserving</P
+><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
+>style</I
+></TT
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&#13;</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1502"
+></A
+><H3
+><A
+NAME="XSLTATTRIBUTE"
+></A
+>xsltAttribute ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltAttribute (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> inst);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Process the xslt attribute node on the source node</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a XSLT process context</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the node in the source tree.</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>inst</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the xslt attribute node</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1528"
+></A
+><H3
+><A
+NAME="XSLTFREEATTRIBUTESETSHASHES"
+></A
+>xsltFreeAttributeSetsHashes ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltFreeAttributeSetsHashes (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Free up the memory used by attribute sets</P
+><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
+>style</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> an XSLT stylesheet</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1544"
+></A
+><H3
+><A
+NAME="XSLTAPPLYATTRIBUTESET"
+></A
+>xsltApplyAttributeSet ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltApplyAttributeSet (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> inst,
+ <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *attributes);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Apply the xsl:use-attribute-sets</P
+><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
+>&nbsp;:</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
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the node in the source tree.</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>inst</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the xslt attribute node</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>attributes</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the set list.</TD
+></TR
+></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-xsltutils.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>&#60;&#60;&#60; 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-imports.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
+></TR
+><TR
+><TD
+COLSPAN="2"
+ALIGN="left"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>xsltutils</B
+></FONT
+></TD
+><TD
+COLSPAN="2"
+ALIGN="right"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>imports</B
+></FONT
+></TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+> \ No newline at end of file
diff --git a/doc/html/libxslt-imports.html b/doc/html/libxslt-imports.html
new file mode 100644
index 00000000..7b0dd2c5
--- /dev/null
+++ b/doc/html/libxslt-imports.html
@@ -0,0 +1,810 @@
+<HTML
+><HEAD
+><TITLE
+>imports</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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="attributes"
+HREF="libxslt-attributes.html"><LINK
+REL="NEXT"
+TITLE="namespaces"
+HREF="libxslt-namespaces.html"></HEAD
+><BODY
+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-attributes.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>&#60;&#60;&#60; 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-namespaces.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
+></TR
+></TABLE
+></DIV
+><H1
+><A
+NAME="LIBXSLT-IMPORTS"
+>imports</A
+></H1
+><DIV
+CLASS="REFNAMEDIV"
+><A
+NAME="AEN1580"
+></A
+><H2
+>Name</H2
+>imports&nbsp;--&nbsp;</DIV
+><DIV
+CLASS="REFSYNOPSISDIV"
+><A
+NAME="AEN1583"
+></A
+><H2
+>Synopsis</H2
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="SYNOPSIS"
+>&#13;
+
+void <A
+HREF="libxslt-imports.html#XSLTPARSESTYLESHEETIMPORT"
+>xsltParseStylesheetImport</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);
+void <A
+HREF="libxslt-imports.html#XSLTPARSESTYLESHEETINCLUDE"
+>xsltParseStylesheetInclude</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);
+<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> <A
+HREF="libxslt-imports.html#XSLTNEXTIMPORT"
+>xsltNextImport</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);
+int <A
+HREF="libxslt-imports.html#XSLTFINDELEMSPACEHANDLING"
+>xsltFindElemSpaceHandling</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node);
+<A
+HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
+>xsltTemplatePtr</A
+> <A
+HREF="libxslt-imports.html#XSLTFINDTEMPLATE"
+>xsltFindTemplate</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *name,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *nameURI);</PRE
+></TD
+></TR
+></TABLE
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1603"
+></A
+><H2
+>Description</H2
+><P
+></P
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1606"
+></A
+><H2
+>Details</H2
+><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1608"
+></A
+><H3
+><A
+NAME="XSLTPARSESTYLESHEETIMPORT"
+></A
+>xsltParseStylesheetImport ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltParseStylesheetImport (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);</PRE
+></TD
+></TR
+></TABLE
+><P
+>parse an XSLT stylesheet strip-space element and record
+elements needing stripping</P
+><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
+>style</I
+></TT
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&#13;</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1629"
+></A
+><H3
+><A
+NAME="XSLTPARSESTYLESHEETINCLUDE"
+></A
+>xsltParseStylesheetInclude ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltParseStylesheetInclude (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);</PRE
+></TD
+></TR
+></TABLE
+><P
+>parse an XSLT stylesheet strip-space element and record
+elements needing stripping</P
+><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
+>style</I
+></TT
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&#13;</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1650"
+></A
+><H3
+><A
+NAME="XSLTNEXTIMPORT"
+></A
+>xsltNextImport ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> xsltNextImport (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Find the next stylesheet in import precedence.</P
+><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
+>style</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>the next stylesheet or NULL if it was the last one</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1671"
+></A
+><H3
+><A
+NAME="XSLTFINDELEMSPACEHANDLING"
+></A
+>xsltFindElemSpaceHandling ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>int xsltFindElemSpaceHandling (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Find strip-space or preserve-space informations for an element
+respect the import precedence or the wildcards</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>1 if space should be stripped, 0 if not, and 2 if everything
+should be CDTATA wrapped.</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1696"
+></A
+><H3
+><A
+NAME="XSLTFINDTEMPLATE"
+></A
+>xsltFindTemplate ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><A
+HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
+>xsltTemplatePtr</A
+> xsltFindTemplate (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *name,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *nameURI);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Finds the named template, apply import precedence rule.</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the template name</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>nameURI</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the template name URI</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>the xsltTemplatePtr or NULL if not found</TD
+></TR
+></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-attributes.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>&#60;&#60;&#60; 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-namespaces.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
+></TR
+><TR
+><TD
+COLSPAN="2"
+ALIGN="left"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>attributes</B
+></FONT
+></TD
+><TD
+COLSPAN="2"
+ALIGN="right"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>namespaces</B
+></FONT
+></TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+> \ No newline at end of file
diff --git a/doc/html/libxslt-lib.html b/doc/html/libxslt-lib.html
index d683d605..ca49fd82 100644
--- a/doc/html/libxslt-lib.html
+++ b/doc/html/libxslt-lib.html
@@ -150,6 +150,26 @@ HREF="libxslt-xsltinternals.html"
HREF="libxslt-xsltutils.html"
>xsltutils</A
> &#8212; </DT
+><DT
+><A
+HREF="libxslt-attributes.html"
+>attributes</A
+> &#8212; </DT
+><DT
+><A
+HREF="libxslt-imports.html"
+>imports</A
+> &#8212; </DT
+><DT
+><A
+HREF="libxslt-namespaces.html"
+>namespaces</A
+> &#8212; </DT
+><DT
+><A
+HREF="libxslt-variables.html"
+>variables</A
+> &#8212; </DT
></DL
></DIV
><P
diff --git a/doc/html/libxslt-namespaces.html b/doc/html/libxslt-namespaces.html
new file mode 100644
index 00000000..bfe69a3e
--- /dev/null
+++ b/doc/html/libxslt-namespaces.html
@@ -0,0 +1,945 @@
+<HTML
+><HEAD
+><TITLE
+>namespaces</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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="imports"
+HREF="libxslt-imports.html"><LINK
+REL="NEXT"
+TITLE="variables"
+HREF="libxslt-variables.html"></HEAD
+><BODY
+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-imports.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>&#60;&#60;&#60; 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-variables.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
+></TR
+></TABLE
+></DIV
+><H1
+><A
+NAME="LIBXSLT-NAMESPACES"
+>namespaces</A
+></H1
+><DIV
+CLASS="REFNAMEDIV"
+><A
+NAME="AEN1732"
+></A
+><H2
+>Name</H2
+>namespaces&nbsp;--&nbsp;</DIV
+><DIV
+CLASS="REFSYNOPSISDIV"
+><A
+NAME="AEN1735"
+></A
+><H2
+>Synopsis</H2
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="SYNOPSIS"
+>&#13;
+
+void <A
+HREF="libxslt-namespaces.html#XSLTNAMESPACEALIAS"
+>xsltNamespaceAlias</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node);
+<GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> <A
+HREF="libxslt-namespaces.html#XSLTGETNAMESPACE"
+>xsltGetNamespace</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur,
+ <GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> ns,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> out);
+<GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> <A
+HREF="libxslt-namespaces.html#XSLTGETSPECIALNAMESPACE"
+>xsltGetSpecialNamespace</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *URI,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *prefix,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> out);
+<GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> <A
+HREF="libxslt-namespaces.html#XSLTCOPYNAMESPACELIST"
+>xsltCopyNamespaceList</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> cur);
+void <A
+HREF="libxslt-namespaces.html#XSLTFREENAMESPACEALIASHASHES"
+>xsltFreeNamespaceAliasHashes</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);</PRE
+></TD
+></TR
+></TABLE
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1761"
+></A
+><H2
+>Description</H2
+><P
+></P
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1764"
+></A
+><H2
+>Details</H2
+><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1766"
+></A
+><H3
+><A
+NAME="XSLTNAMESPACEALIAS"
+></A
+>xsltNamespaceAlias ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltNamespaceAlias (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Read the stylesheet-prefix and result-prefix attributes, register
+them as well as the corresponding namespace.</P
+><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
+>style</I
+></TT
+>&nbsp;:</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
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the xsl:namespace-alias node</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1787"
+></A
+><H3
+><A
+NAME="XSLTGETNAMESPACE"
+></A
+>xsltGetNamespace ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> xsltGetNamespace (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur,
+ <GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> ns,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> out);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Find the right namespace value for this prefix, if needed create
+and add a new namespace decalaration on the node
+Handle namespace aliases</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a transformation context</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>cur</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the input node</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ns</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the namespace</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>out</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the output node (or its parent)</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>the namespace node to use or NULL</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1823"
+></A
+><H3
+><A
+NAME="XSLTGETSPECIALNAMESPACE"
+></A
+>xsltGetSpecialNamespace ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> xsltGetSpecialNamespace (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *URI,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *prefix,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> out);</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>cur</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>URI</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>prefix</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>out</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&#13;</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1863"
+></A
+><H3
+><A
+NAME="XSLTCOPYNAMESPACELIST"
+></A
+>xsltCopyNamespaceList ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> xsltCopyNamespaceList (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNSPTR"
+>xmlNsPtr</GTKDOCLINK
+> cur);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Do a copy of an namespace list. If <TT
+CLASS="PARAMETER"
+><I
+>node</I
+></TT
+> is non-NULL the
+new namespaces are added automatically. This handles namespaces
+aliases</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a transformation context</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the target node</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>cur</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the first namespace</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a new xmlNsPtr, or NULL in case of error.</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1895"
+></A
+><H3
+><A
+NAME="XSLTFREENAMESPACEALIASHASHES"
+></A
+>xsltFreeNamespaceAliasHashes ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltFreeNamespaceAliasHashes (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Free up the memory used by namespaces aliases</P
+><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
+>style</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> an XSLT stylesheet</TD
+></TR
+></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-imports.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>&#60;&#60;&#60; 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-variables.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
+></TR
+><TR
+><TD
+COLSPAN="2"
+ALIGN="left"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>imports</B
+></FONT
+></TD
+><TD
+COLSPAN="2"
+ALIGN="right"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>variables</B
+></FONT
+></TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+> \ No newline at end of file
diff --git a/doc/html/libxslt-pattern.html b/doc/html/libxslt-pattern.html
index 78a070f5..ed265d29 100644
--- a/doc/html/libxslt-pattern.html
+++ b/doc/html/libxslt-pattern.html
@@ -147,9 +147,9 @@ CLASS="SYNOPSIS"
int <A
HREF="libxslt-pattern.html#XSLTADDTEMPLATE"
>xsltAddTemplate</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style,
<A
HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
@@ -162,9 +162,9 @@ HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
HREF="libxslt-pattern.html#XSLTGETTEMPLATE"
>xsltGetTemplate</A
> (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
-> style,
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
<GTKDOCLINK
HREF="XMLNODEPTR"
>xmlNodePtr</GTKDOCLINK
@@ -172,28 +172,10 @@ HREF="XMLNODEPTR"
void <A
HREF="libxslt-pattern.html#XSLTFREETEMPLATEHASHES"
>xsltFreeTemplateHashes</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
-> style);
-<A
-HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
->xsltTemplatePtr</A
-> <A
-HREF="libxslt-pattern.html#XSLTFINDTEMPLATE"
->xsltFindTemplate</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
-> style,
- const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *name,
- const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *nameURI);</PRE
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style);</PRE
></TD
></TR
></TABLE
@@ -201,7 +183,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN330"
+NAME="AEN325"
></A
><H2
>Description</H2
@@ -211,14 +193,14 @@ NAME="AEN330"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN333"
+NAME="AEN328"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN335"
+NAME="AEN330"
></A
><H3
><A
@@ -234,9 +216,9 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
->int xsltAddTemplate (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+>int xsltAddTemplate (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style,
<A
HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
@@ -322,7 +304,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN361"
+NAME="AEN356"
></A
><H3
><A
@@ -342,9 +324,9 @@ CLASS="PROGRAMLISTING"
HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
>xsltTemplatePtr</A
> xsltGetTemplate (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
-> style,
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
<GTKDOCLINK
HREF="XMLNODEPTR"
>xmlNodePtr</GTKDOCLINK
@@ -375,14 +357,14 @@ VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
->style</I
+>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> an XSLT stylesheet</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -424,7 +406,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN387"
+NAME="AEN382"
></A
><H3
><A
@@ -440,9 +422,9 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
->void xsltFreeTemplateHashes (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+>void xsltFreeTemplateHashes (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);</PRE
></TD
></TR
@@ -484,129 +466,6 @@ VALIGN="TOP"
></P
></DIV
></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN403"
-></A
-><H3
-><A
-NAME="XSLTFINDTEMPLATE"
-></A
->xsltFindTemplate ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
-><A
-HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
->xsltTemplatePtr</A
-> xsltFindTemplate (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
-> style,
- const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *name,
- const <GTKDOCLINK
-HREF="XMLCHAR"
->xmlChar</GTKDOCLINK
-> *nameURI);</PRE
-></TD
-></TR
-></TABLE
-><P
->Finds the named template.</P
-><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
->style</I
-></TT
->&nbsp;:</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> an XSLT stylesheet</TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->name</I
-></TT
->&nbsp;:</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> the template name</TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><TT
-CLASS="PARAMETER"
-><I
->nameURI</I
-></TT
->&nbsp;:</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
-> the template name URI</TD
-></TR
-><TR
-><TD
-WIDTH="20%"
-ALIGN="RIGHT"
-VALIGN="TOP"
-><I
-CLASS="EMPHASIS"
->Returns</I
-> :</TD
-><TD
-WIDTH="80%"
-ALIGN="LEFT"
-VALIGN="TOP"
->the xsltTemplatePtr or NULL if not found</TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
diff --git a/doc/html/libxslt-templates.html b/doc/html/libxslt-templates.html
index 25399511..f298a7ac 100644
--- a/doc/html/libxslt-templates.html
+++ b/doc/html/libxslt-templates.html
@@ -121,7 +121,7 @@ NAME="LIBXSLT-TEMPLATES"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN439"
+NAME="AEN403"
></A
><H2
>Name</H2
@@ -129,7 +129,7 @@ NAME="AEN439"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN442"
+NAME="AEN406"
></A
><H2
>Synopsis</H2
@@ -144,6 +144,17 @@ CELLPADDING="6"
CLASS="SYNOPSIS"
>&#13;
+int <A
+HREF="libxslt-templates.html#XSLTEVALXPATHPREDICATE"
+>xsltEvalXPathPredicate</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *expr);
<GTKDOCLINK
HREF="XMLCHAR"
>xmlChar</GTKDOCLINK
@@ -265,7 +276,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN477"
+NAME="AEN444"
></A
><H2
>Description</H2
@@ -275,14 +286,114 @@ NAME="AEN477"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN480"
+NAME="AEN447"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN482"
+NAME="AEN449"
+></A
+><H3
+><A
+NAME="XSLTEVALXPATHPREDICATE"
+></A
+>xsltEvalXPathPredicate ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>int xsltEvalXPathPredicate (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *expr);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Process the expression using XPath and evaluate the result as
+an XPath predicate</P
+><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
+>&nbsp;:</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
+>expr</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>1 is the predicate was true, 0 otherwise</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN474"
></A
><H3
><A
@@ -408,7 +519,7 @@ caller.</TD
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN513"
+NAME="AEN505"
></A
><H3
><A
@@ -534,7 +645,7 @@ caller.</TD
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN544"
+NAME="AEN536"
></A
><H3
><A
@@ -637,7 +748,7 @@ caller.</TD
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN570"
+NAME="AEN562"
></A
><H3
><A
@@ -739,7 +850,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN596"
+NAME="AEN588"
></A
><H3
><A
@@ -862,7 +973,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN627"
+NAME="AEN619"
></A
><H3
><A
@@ -985,7 +1096,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN658"
+NAME="AEN650"
></A
><H3
><A
diff --git a/doc/html/libxslt-transform.html b/doc/html/libxslt-transform.html
index 4786a973..674133df 100644
--- a/doc/html/libxslt-transform.html
+++ b/doc/html/libxslt-transform.html
@@ -121,7 +121,7 @@ NAME="LIBXSLT-TRANSFORM"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN689"
+NAME="AEN681"
></A
><H2
>Name</H2
@@ -129,7 +129,7 @@ NAME="AEN689"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN692"
+NAME="AEN684"
></A
><H2
>Synopsis</H2
@@ -150,9 +150,9 @@ HREF="XMLDOCPTR"
> <A
HREF="libxslt-transform.html#XSLTAPPLYSTYLESHEET"
>xsltApplyStylesheet</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style,
<GTKDOCLINK
HREF="XMLDOCPTR"
@@ -180,7 +180,7 @@ HREF="XMLNODEPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN703"
+NAME="AEN695"
></A
><H2
>Description</H2
@@ -190,14 +190,14 @@ NAME="AEN703"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN706"
+NAME="AEN698"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN708"
+NAME="AEN700"
></A
><H3
><A
@@ -216,9 +216,9 @@ CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
-> xsltApplyStylesheet (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+> xsltApplyStylesheet (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style,
<GTKDOCLINK
HREF="XMLDOCPTR"
@@ -300,7 +300,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN734"
+NAME="AEN726"
></A
><H3
><A
diff --git a/doc/html/libxslt-variables.html b/doc/html/libxslt-variables.html
new file mode 100644
index 00000000..65754682
--- /dev/null
+++ b/doc/html/libxslt-variables.html
@@ -0,0 +1,1474 @@
+<HTML
+><HEAD
+><TITLE
+>variables</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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"></HEAD
+><BODY
+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
+>&#60;&#60;&#60; 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"
+>&nbsp;</TD
+></TR
+></TABLE
+></DIV
+><H1
+><A
+NAME="LIBXSLT-VARIABLES"
+>variables</A
+></H1
+><DIV
+CLASS="REFNAMEDIV"
+><A
+NAME="AEN1916"
+></A
+><H2
+>Name</H2
+>variables&nbsp;--&nbsp;</DIV
+><DIV
+CLASS="REFSYNOPSISDIV"
+><A
+NAME="AEN1919"
+></A
+><H2
+>Synopsis</H2
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="SYNOPSIS"
+>&#13;
+
+#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);
+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
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> style,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur);
+void <A
+HREF="libxslt-variables.html#XSLTPARSEGLOBALPARAM"
+>xsltParseGlobalParam</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> 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);
+void <A
+HREF="libxslt-variables.html#XSLTFREEVARIABLEHASHES"
+>xsltFreeVariableHashes</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);
+int <A
+HREF="libxslt-variables.html#XSLTREGISTERVARIABLE"
+>xsltRegisterVariable</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,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *select,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> tree,
+ int param);
+<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="AEN1958"
+></A
+><H2
+>Description</H2
+><P
+></P
+></DIV
+><DIV
+CLASS="REFSECT1"
+><A
+NAME="AEN1961"
+></A
+><H2
+>Details</H2
+><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1963"
+></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
+></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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&#13;</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1977"
+></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"
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the XSLT transformation context</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>0 in case of success, -1 in case of error</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1997"
+></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
+>Push a new level on the ctxtsheet interprestation stack</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> xn XSLT transformation context</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2013"
+></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
+>Pop a level on the ctxtsheet interprestation stack</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> an XSLT transformation context</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2029"
+></A
+><H3
+><A
+NAME="XSLTPARSEGLOBALVARIABLE"
+></A
+>xsltParseGlobalVariable ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltParseGlobalVariable (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> 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"
+><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
+>style</I
+></TT
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the "variable" element</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2050"
+></A
+><H3
+><A
+NAME="XSLTPARSEGLOBALPARAM"
+></A
+>xsltParseGlobalParam ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltParseGlobalParam (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> 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"
+><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
+>style</I
+></TT
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the "param" element</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2071"
+></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"
+><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
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the "variable" element</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2092"
+></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"
+><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
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the "param" element</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2113"
+></A
+><H3
+><A
+NAME="XSLTFREEVARIABLEHASHES"
+></A
+>xsltFreeVariableHashes ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltFreeVariableHashes (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Free up the memory used by xsltAddVariable/xsltGetVariable mechanism</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> an XSLT transformation context</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2129"
+></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
+>This is the entry point when a varibale is needed by the XPath
+interpretor.</P
+><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
+>&nbsp;:</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
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the variable namespace URI</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>the value or NULL if not found</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2160"
+></A
+><H3
+><A
+NAME="XSLTREGISTERVARIABLE"
+></A
+>xsltRegisterVariable ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>int xsltRegisterVariable (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *name,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *ns_uri,
+ const <GTKDOCLINK
+HREF="XMLCHAR"
+>xmlChar</GTKDOCLINK
+> *select,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> tree,
+ int param);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Register a new variable value. If <TT
+CLASS="PARAMETER"
+><I
+>value</I
+></TT
+> is NULL it unregisters
+the variable</P
+><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
+>&nbsp;:</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
+>&nbsp;:</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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the variable namespace URI</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>select</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the expression which need to be evaluated to generate a value</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>tree</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the tree if select is NULL</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>param</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> this is a parameter actually</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>0 in case of success, -1 in case of error</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2205"
+></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
+></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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ns_uri</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>&#13;</TD
+></TR
+></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
+>&#60;&#60;&#60; 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"
+>&nbsp;</TD
+></TR
+><TR
+><TD
+COLSPAN="2"
+ALIGN="left"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>namespaces</B
+></FONT
+></TD
+><TD
+COLSPAN="2"
+ALIGN="right"
+>&nbsp;</TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+> \ No newline at end of file
diff --git a/doc/html/libxslt-xsltinternals.html b/doc/html/libxslt-xsltinternals.html
index e0ee21c9..41f6ef82 100644
--- a/doc/html/libxslt-xsltinternals.html
+++ b/doc/html/libxslt-xsltinternals.html
@@ -121,7 +121,7 @@ NAME="LIBXSLT-XSLTINTERNALS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN765"
+NAME="AEN757"
></A
><H2
>Name</H2
@@ -129,7 +129,7 @@ NAME="AEN765"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN768"
+NAME="AEN760"
></A
><H2
>Synopsis</H2
@@ -169,17 +169,17 @@ HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
>xsltTemplatePtr</A
>;
struct <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEET"
->xsltStylesheet</A
->;
-typedef <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMAT"
+>xsltDecimalFormat</A
>;
enum <A
HREF="libxslt-xsltinternals.html#XSLTOUTPUTTYPE"
>xsltOutputType</A
>;
+enum <A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMSTATE"
+>xsltTransformState</A
+>;
struct <A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXT"
>xsltTransformContext</A
@@ -188,9 +188,21 @@ typedef <A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
>;
-<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+#define <A
+HREF="libxslt-xsltinternals.html#CHECK-STOPPED-CAPS"
+>CHECK_STOPPED</A
+>
+#define <A
+HREF="libxslt-xsltinternals.html#CHECK-STOPPEDE-CAPS"
+>CHECK_STOPPEDE</A
+>
+#define <A
+HREF="libxslt-xsltinternals.html#CHECK-STOPPED0-CAPS"
+>CHECK_STOPPED0</A
+>
+<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> <A
HREF="libxslt-xsltinternals.html#XSLTPARSESTYLESHEETFILE"
>xsltParseStylesheetFile</A
@@ -201,9 +213,9 @@ HREF="XMLCHAR"
void <A
HREF="libxslt-xsltinternals.html#XSLTFREESTYLESHEET"
>xsltFreeStylesheet</A
-> (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+> (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> sheet);
int <A
HREF="libxslt-xsltinternals.html#XSLTISBLANK"
@@ -218,7 +230,32 @@ HREF="libxslt-xsltinternals.html#XSLTFREESTACKELEMLIST"
> (<A
HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
>xsltStackElemPtr</A
-> elem);</PRE
+> elem);
+<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> <A
+HREF="libxslt-xsltinternals.html#XSLTPARSESTYLESHEETPROCESS"
+>xsltParseStylesheetProcess</A
+>
+ (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> ret,
+ <GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc);
+<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> <A
+HREF="libxslt-xsltinternals.html#XSLTPARSESTYLESHEETDOC"
+>xsltParseStylesheetDoc</A
+> (<GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc);</PRE
></TD
></TR
></TABLE
@@ -226,7 +263,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN791"
+NAME="AEN793"
></A
><H2
>Description</H2
@@ -236,14 +273,14 @@ NAME="AEN791"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN794"
+NAME="AEN796"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN796"
+NAME="AEN798"
></A
><H3
><A
@@ -272,7 +309,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN801"
+NAME="AEN803"
></A
><H3
><A
@@ -307,7 +344,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN806"
+NAME="AEN808"
></A
><H3
><A
@@ -333,7 +370,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN811"
+NAME="AEN813"
></A
><H3
><A
@@ -359,7 +396,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN816"
+NAME="AEN818"
></A
><H3
><A
@@ -394,7 +431,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN821"
+NAME="AEN823"
></A
><H3
><A
@@ -420,13 +457,13 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN826"
+NAME="AEN828"
></A
><H3
><A
-NAME="XSLTSTYLESHEET"
+NAME="XSLTDECIMALFORMAT"
></A
->struct xsltStylesheet</H3
+>struct xsltDecimalFormat</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -436,11 +473,36 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
->struct xsltStylesheet {
+>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;
+
+/*
+ * The in-memory structure corresponding to an XSLT Stylesheet
+ * NOTE: most of the content is simply linked from the doc tree
+ * structure, no specific allocation is made.
+ */
+typedef struct _xsltStylesheet xsltStylesheet;
+typedef xsltStylesheet *xsltStylesheetPtr;
+struct _xsltStylesheet {
/*
* The stylesheet import relation is kept as a tree
*/
struct _xsltStylesheet *parent;
+ struct _xsltStylesheet *next;
struct _xsltStylesheet *imports;
/*
@@ -470,6 +532,16 @@ CLASS="PROGRAMLISTING"
void *commentMatch; /* template based on comment() */
/*
+ * Namespace aliases
+ */
+ xmlHashTablePtr nsAliases; /* the namespace alias hash tables */
+
+ /*
+ * Attribute sets
+ */
+ xmlHashTablePtr attributeSets;/* the attribute sets hash tables */
+
+ /*
* Output related stuff.
*/
xmlChar *method; /* the output method */
@@ -477,6 +549,9 @@ CLASS="PROGRAMLISTING"
xmlChar *version; /* version string */
xmlChar *encoding; /* encoding string */
int omitXmlDeclaration; /* omit-xml-declaration = "yes" | "no" */
+
+ /* Number formatting */
+ xsltDecimalFormatPtr decimalFormat;
int standalone; /* standalone = "yes" | "no" */
xmlChar *doctypePublic; /* doctype-public string */
xmlChar *doctypeSystem; /* doctype-system string */
@@ -492,13 +567,13 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN831"
+NAME="AEN833"
></A
><H3
><A
-NAME="XSLTSTYLESHEETPTR"
+NAME="XSLTOUTPUTTYPE"
></A
->xsltStylesheetPtr</H3
+>enum xsltOutputType</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -508,7 +583,11 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
->typedef xsltStylesheet *xsltStylesheetPtr;</PRE
+>typedef enum {
+ XSLT_OUTPUT_XML = 0,
+ XSLT_OUTPUT_HTML,
+ XSLT_OUTPUT_TEXT
+} xsltOutputType;</PRE
></TD
></TR
></TABLE
@@ -518,13 +597,13 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN836"
+NAME="AEN838"
></A
><H3
><A
-NAME="XSLTOUTPUTTYPE"
+NAME="XSLTTRANSFORMSTATE"
></A
->enum xsltOutputType</H3
+>enum xsltTransformState</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -535,10 +614,10 @@ CELLPADDING="6"
><PRE
CLASS="PROGRAMLISTING"
>typedef enum {
- XSLT_OUTPUT_XML = 0,
- XSLT_OUTPUT_HTML,
- XSLT_OUTPUT_TEXT
-} xsltOutputType;</PRE
+ XSLT_STATE_OK = 0,
+ XSLT_STATE_ERROR,
+ XSLT_STATE_STOPPED
+} xsltTransformState;</PRE
></TD
></TR
></TABLE
@@ -548,7 +627,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN841"
+NAME="AEN843"
></A
><H3
><A
@@ -579,6 +658,7 @@ CLASS="PROGRAMLISTING"
void *variablesHash; /* hash table or wherever variables
informations are stored */
xmlDocPtr extraDocs; /* extra docs parsed by document() */
+ xsltTransformState state; /* the current state */
};</PRE
></TD
></TR
@@ -589,7 +669,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN846"
+NAME="AEN848"
></A
><H3
><A
@@ -615,7 +695,85 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN851"
+NAME="AEN853"
+></A
+><H3
+><A
+NAME="CHECK-STOPPED-CAPS"
+></A
+>CHECK_STOPPED</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>#define CHECK_STOPPED if (ctxt-&gt;state == XSLT_STATE_STOPPED) return;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN858"
+></A
+><H3
+><A
+NAME="CHECK-STOPPEDE-CAPS"
+></A
+>CHECK_STOPPEDE</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>#define CHECK_STOPPEDE if (ctxt-&gt;state == XSLT_STATE_STOPPED) goto error;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN863"
+></A
+><H3
+><A
+NAME="CHECK-STOPPED0-CAPS"
+></A
+>CHECK_STOPPED0</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>#define CHECK_STOPPED0 if (ctxt-&gt;state == XSLT_STATE_STOPPED) return(0);</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN868"
></A
><H3
><A
@@ -631,9 +789,9 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
-><A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+><GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> xsltParseStylesheetFile (const <GTKDOCLINK
HREF="XMLCHAR"
>xmlChar</GTKDOCLINK
@@ -696,7 +854,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN872"
+NAME="AEN889"
></A
><H3
><A
@@ -712,9 +870,9 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
->void xsltFreeStylesheet (<A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+>void xsltFreeStylesheet (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> sheet);</PRE
></TD
></TR
@@ -764,7 +922,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN889"
+NAME="AEN906"
></A
><H3
><A
@@ -842,7 +1000,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN909"
+NAME="AEN926"
></A
><H3
><A
@@ -907,6 +1065,190 @@ VALIGN="TOP"
></P
></DIV
></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN943"
+></A
+><H3
+><A
+NAME="XSLTPARSESTYLESHEETPROCESS"
+></A
+>xsltParseStylesheetProcess ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> xsltParseStylesheetProcess
+ (<GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> ret,
+ <GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc);</PRE
+></TD
+></TR
+></TABLE
+><P
+>parse an XSLT stylesheet adding the associated structures</P
+><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
+>ret</I
+></TT
+>&nbsp;:</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
+>doc</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> and xmlDoc parsed XML</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>a new XSLT stylesheet structure.</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN969"
+></A
+><H3
+><A
+NAME="XSLTPARSESTYLESHEETDOC"
+></A
+>xsltParseStylesheetDoc ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
+> xsltParseStylesheetDoc (<GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc);</PRE
+></TD
+></TR
+></TABLE
+><P
+>parse an XSLT stylesheet building the associated structures</P
+><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
+>doc</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> and xmlDoc parsed XML</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>a new XSLT stylesheet structure.</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
diff --git a/doc/html/libxslt-xsltutils.html b/doc/html/libxslt-xsltutils.html
index 446c4ad3..d3c1e62c 100644
--- a/doc/html/libxslt-xsltutils.html
+++ b/doc/html/libxslt-xsltutils.html
@@ -13,7 +13,10 @@ TITLE="Libxslt Library Reference"
HREF="libxslt-lib.html"><LINK
REL="PREVIOUS"
TITLE="xsltInternals"
-HREF="libxslt-xsltinternals.html"></HEAD
+HREF="libxslt-xsltinternals.html"><LINK
+REL="NEXT"
+TITLE="attributes"
+HREF="libxslt-attributes.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
@@ -97,7 +100,16 @@ SIZE="3"
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
->&nbsp;</TD
+><A
+HREF="libxslt-attributes.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
></TR
></TABLE
></DIV
@@ -109,7 +121,7 @@ NAME="LIBXSLT-XSLTUTILS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN931"
+NAME="AEN995"
></A
><H2
>Name</H2
@@ -117,7 +129,7 @@ NAME="AEN931"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN934"
+NAME="AEN998"
></A
><H2
>Synopsis</H2
@@ -209,6 +221,21 @@ HREF="libxslt-xsltutils.html#XSLTGENERICDEBUGCONTEXT"
>xsltGenericDebugContext</A
>;
void <A
+HREF="libxslt-xsltutils.html#XSLTMESSAGE"
+>xsltMessage</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> inst);
+void <A
HREF="libxslt-xsltutils.html#XSLTSETGENERICERRORFUNC"
>xsltSetGenericErrorFunc</A
> (void *ctx,
@@ -225,6 +252,13 @@ HREF="XMLGENERICERRORFUNC"
>xmlGenericErrorFunc</GTKDOCLINK
> handler);
void <A
+HREF="libxslt-xsltutils.html#XSLTDOCUMENTSORTFUNCTION"
+>xsltDocumentSortFunction</A
+> (<GTKDOCLINK
+HREF="XMLNODESETPTR"
+>xmlNodeSetPtr</GTKDOCLINK
+> list);
+void <A
HREF="libxslt-xsltutils.html#XSLTSORTFUNCTION"
>xsltSortFunction</A
> (<GTKDOCLINK
@@ -248,9 +282,9 @@ HREF="XMLOUTPUTBUFFERPTR"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);
int <A
HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFILENAME"
@@ -260,9 +294,9 @@ HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFILENAME"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style,
int compression);
int <A
@@ -276,9 +310,9 @@ HREF="FILE-CAPS"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);
int <A
HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFD"
@@ -288,9 +322,9 @@ HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFD"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);</PRE
></TD
></TR
@@ -299,7 +333,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN978"
+NAME="AEN1048"
></A
><H2
>Description</H2
@@ -309,14 +343,14 @@ NAME="AEN978"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN981"
+NAME="AEN1051"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN983"
+NAME="AEN1053"
></A
><H3
><A
@@ -416,7 +450,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1008"
+NAME="AEN1078"
></A
><H3
><A
@@ -495,7 +529,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1027"
+NAME="AEN1097"
></A
><H3
><A
@@ -637,7 +671,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1062"
+NAME="AEN1132"
></A
><H3
><A
@@ -663,7 +697,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1067"
+NAME="AEN1137"
></A
><H3
><A
@@ -689,7 +723,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1072"
+NAME="AEN1142"
></A
><H3
><A
@@ -747,7 +781,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1086"
+NAME="AEN1156"
></A
><H3
><A
@@ -822,7 +856,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1104"
+NAME="AEN1174"
></A
><H3
><A
@@ -848,7 +882,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1109"
+NAME="AEN1179"
></A
><H3
><A
@@ -874,7 +908,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1114"
+NAME="AEN1184"
></A
><H3
><A
@@ -900,7 +934,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1119"
+NAME="AEN1189"
></A
><H3
><A
@@ -926,7 +960,112 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1124"
+NAME="AEN1194"
+></A
+><H3
+><A
+NAME="XSLTMESSAGE"
+></A
+>xsltMessage ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltMessage (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> inst);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Process and xsl:message construct</P
+><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
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> an XSLT processing context</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> The current node</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>inst</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> The node containing the message instruction</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1220"
></A
><H3
><A
@@ -1038,7 +1177,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1149"
+NAME="AEN1245"
></A
><H3
><A
@@ -1150,7 +1289,75 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1174"
+NAME="AEN1270"
+></A
+><H3
+><A
+NAME="XSLTDOCUMENTSORTFUNCTION"
+></A
+>xsltDocumentSortFunction ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltDocumentSortFunction (<GTKDOCLINK
+HREF="XMLNODESETPTR"
+>xmlNodeSetPtr</GTKDOCLINK
+> list);</PRE
+></TD
+></TR
+></TABLE
+><P
+>reorder the current node list <TT
+CLASS="PARAMETER"
+><I
+>list</I
+></TT
+> accordingly to the document order</P
+><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
+>list</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the node set</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1287"
></A
><H3
><A
@@ -1281,7 +1488,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1205"
+NAME="AEN1318"
></A
><H3
><A
@@ -1305,9 +1512,9 @@ HREF="XMLOUTPUTBUFFERPTR"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);</PRE
></TD
></TR
@@ -1417,7 +1624,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1238"
+NAME="AEN1351"
></A
><H3
><A
@@ -1438,9 +1645,9 @@ CLASS="PROGRAMLISTING"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style,
int compression);</PRE
></TD
@@ -1568,7 +1775,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1274"
+NAME="AEN1387"
></A
><H3
><A
@@ -1592,9 +1799,9 @@ HREF="FILE-CAPS"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);</PRE
></TD
></TR
@@ -1705,7 +1912,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1307"
+NAME="AEN1420"
></A
><H3
><A
@@ -1726,9 +1933,9 @@ CLASS="PROGRAMLISTING"
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> result,
- <A
-HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
->xsltStylesheetPtr</A
+ <GTKDOCLINK
+HREF="XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</GTKDOCLINK
> style);</PRE
></TD
></TR
@@ -1900,7 +2107,16 @@ SIZE="3"
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
->&nbsp;</TD
+><A
+HREF="libxslt-attributes.html"
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>Next Page &#62;&#62;&#62;</B
+></FONT
+></A
+></TD
></TR
><TR
><TD
@@ -1916,7 +2132,13 @@ SIZE="3"
><TD
COLSPAN="2"
ALIGN="right"
->&nbsp;</TD
+><FONT
+COLOR="#FFFFFF"
+SIZE="3"
+><B
+>attributes</B
+></FONT
+></TD
></TR
></TABLE
></DIV
diff --git a/doc/libxslt.sgml b/doc/libxslt.sgml
index eff2b432..980175f3 100644
--- a/doc/libxslt.sgml
+++ b/doc/libxslt.sgml
@@ -6,6 +6,10 @@
<!entity transform SYSTEM "sgml/transform.sgml">
<!entity xsltInternals SYSTEM "sgml/xsltInternals.sgml">
<!entity xsltutils SYSTEM "sgml/xsltutils.sgml">
+<!entity attributes SYSTEM "sgml/attributes.sgml">
+<!entity imports SYSTEM "sgml/imports.sgml">
+<!entity namespaces SYSTEM "sgml/namespaces.sgml">
+<!entity variables SYSTEM "sgml/variables.sgml">
]>
<book>
@@ -71,6 +75,10 @@
&transform;
&xsltInternals;
&xsltutils;
+ &attributes;
+ &imports;
+ &namespaces;
+ &variables;
</chapter>
</book>
diff --git a/libxslt/pattern.c b/libxslt/pattern.c
index f7e97868..f4203f7a 100644
--- a/libxslt/pattern.c
+++ b/libxslt/pattern.c
@@ -1288,6 +1288,7 @@ next_pattern:
while (list->next != NULL) {
if (list->next->priority <= pat->priority)
break;
+ list = list->next;
}
pat->next = list->next;
list->next = pat;
@@ -1306,6 +1307,7 @@ next_pattern:
while (list->next != NULL) {
if (list->next->priority <= pat->priority)
break;
+ list = list->next;
}
pat->next = list->next;
list->next = pat;