summaryrefslogtreecommitdiff
path: root/doc/html
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-02-05 21:28:22 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-02-05 21:28:22 +0000
commit83c5fa70fd0328c0121a5254f09d19003dd7f278 (patch)
tree7ec824d6dd59a29dd3e0d2d3ebc4359b78646012 /doc/html
parent0902ad194c3b11600867bc9d68fc1efbf2c6692d (diff)
downloadlibxslt-83c5fa70fd0328c0121a5254f09d19003dd7f278.tar.gz
libxslt-83c5fa70fd0328c0121a5254f09d19003dd7f278.tar.bz2
libxslt-83c5fa70fd0328c0121a5254f09d19003dd7f278.zip
Added libxslt-decl.txt, ran make rebuild, Daniel
Diffstat (limited to 'doc/html')
-rw-r--r--doc/html/libxslt-attributes.html39
-rw-r--r--doc/html/libxslt-extensions.html421
-rw-r--r--doc/html/libxslt-functions.html149
-rw-r--r--doc/html/libxslt-imports.html84
-rw-r--r--doc/html/libxslt-keys.html71
-rw-r--r--doc/html/libxslt-namespaces.html106
-rw-r--r--doc/html/libxslt-pattern.html181
-rw-r--r--doc/html/libxslt-templates.html143
-rw-r--r--doc/html/libxslt-transform.html467
-rw-r--r--doc/html/libxslt-variables.html254
-rw-r--r--doc/html/libxslt-xslt.html26
-rw-r--r--doc/html/libxslt-xsltinternals.html300
-rw-r--r--doc/html/libxslt-xsltutils.html416
13 files changed, 1798 insertions, 859 deletions
diff --git a/doc/html/libxslt-attributes.html b/doc/html/libxslt-attributes.html
index 6ff69179..decbbb79 100644
--- a/doc/html/libxslt-attributes.html
+++ b/doc/html/libxslt-attributes.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-ATTRIBUTES"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2535"
+NAME="AEN2685"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN2535"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2538"
+NAME="AEN2688"
></A
><H2
>Synopsis</H2
@@ -190,7 +190,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2551"
+NAME="AEN2701"
></A
><H2
>Description</H2
@@ -200,14 +200,14 @@ NAME="AEN2551"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2554"
+NAME="AEN2704"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2556"
+NAME="AEN2706"
></A
><H3
><A
@@ -235,11 +235,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT stylesheet preserve-space element and record
+elements needing preserving</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2563"
+NAME="AEN2714"
></A
><P
></P
@@ -266,7 +269,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -294,7 +297,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2576"
+NAME="AEN2727"
></A
><H3
><A
@@ -318,11 +321,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Free up the memory used by attribute sets</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2582"
+NAME="AEN2734"
></A
><P
></P
@@ -349,7 +354,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -360,7 +365,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2591"
+NAME="AEN2743"
></A
><H3
><A
@@ -396,11 +401,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Apply the xsl:use-attribute-sets</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2600"
+NAME="AEN2753"
></A
><P
></P
@@ -427,7 +434,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -444,7 +451,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -461,7 +468,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt attribute node</TD
></TR
><TR
><TD
@@ -478,7 +485,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the set list.</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-extensions.html b/doc/html/libxslt-extensions.html
index cadfbc64..7e1e121a 100644
--- a/doc/html/libxslt-extensions.html
+++ b/doc/html/libxslt-extensions.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-EXTENSIONS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2840"
+NAME="AEN3001"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN2840"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2843"
+NAME="AEN3004"
></A
><H2
>Synopsis</H2
@@ -602,7 +602,7 @@ HREF="libxslt-extensions.html#XSLTREGISTERTESTMODULE"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2967"
+NAME="AEN3128"
></A
><H2
>Description</H2
@@ -612,14 +612,14 @@ NAME="AEN2967"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2970"
+NAME="AEN3131"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2972"
+NAME="AEN3133"
></A
><H3
><A
@@ -647,11 +647,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>A function called at initialization time of an XSLT extension module</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2979"
+NAME="AEN3141"
></A
><P
></P
@@ -695,7 +697,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace URI for the extension</TD
></TR
></TBODY
></TABLE
@@ -706,7 +708,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2992"
+NAME="AEN3154"
></A
><H3
><A
@@ -735,11 +737,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>A function called at shutdown time of an XSLT extension module</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2999"
+NAME="AEN3162"
></A
><P
></P
@@ -783,7 +787,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace URI for the extension</TD
></TR
><TR
><TD
@@ -800,7 +804,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the data associated to this module</TD
></TR
></TBODY
></TABLE
@@ -811,7 +815,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3016"
+NAME="AEN3179"
></A
><H3
><A
@@ -839,11 +843,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>A function called at initialization time of an XSLT extension module</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3023"
+NAME="AEN3187"
></A
><P
></P
@@ -870,7 +876,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -887,7 +893,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace URI for the extension</TD
></TR
></TBODY
></TABLE
@@ -898,7 +904,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3036"
+NAME="AEN3200"
></A
><H3
><A
@@ -927,11 +933,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>A function called at shutdown time of an XSLT extension module</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3043"
+NAME="AEN3208"
></A
><P
></P
@@ -958,7 +966,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -975,7 +983,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace URI for the extension</TD
></TR
><TR
><TD
@@ -992,7 +1000,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the data associated to this module</TD
></TR
></TBODY
></TABLE
@@ -1003,7 +1011,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3060"
+NAME="AEN3225"
></A
><H3
><A
@@ -1035,11 +1043,13 @@ HREF="libxslt-extensions.html#XSLTEXTSHUTDOWNFUNCTION"
></TR
></TABLE
><P
+>Register an XSLT extension module to the library.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3068"
+NAME="AEN3234"
></A
><P
></P
@@ -1066,7 +1076,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> URI associated to this module</TD
></TR
><TR
><TD
@@ -1083,7 +1093,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the module initialization function</TD
></TR
><TR
><TD
@@ -1100,7 +1110,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the module shutdown function</TD
></TR
><TR
><TD
@@ -1115,7 +1125,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if sucessful, -1 in case of error</TD
></TR
></TBODY
></TABLE
@@ -1126,7 +1136,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3089"
+NAME="AEN3255"
></A
><H3
><A
@@ -1166,11 +1176,13 @@ HREF="libxslt-extensions.html#XSLTSTYLEEXTSHUTDOWNFUNCTION"
></TR
></TABLE
><P
+>Register an XSLT extension module to the library.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3099"
+NAME="AEN3266"
></A
><P
></P
@@ -1197,7 +1209,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> URI associated to this module</TD
></TR
><TR
><TD
@@ -1214,7 +1226,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the module initialization function</TD
></TR
><TR
><TD
@@ -1231,7 +1243,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the module shutdown function</TD
></TR
><TR
><TD
@@ -1248,7 +1260,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the module initialization function</TD
></TR
><TR
><TD
@@ -1265,7 +1277,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the module shutdown function</TD
></TR
><TR
><TD
@@ -1280,7 +1292,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if sucessful, -1 in case of error</TD
></TR
></TBODY
></TABLE
@@ -1291,7 +1303,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3128"
+NAME="AEN3295"
></A
><H3
><A
@@ -1315,11 +1327,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Unregister an XSLT extension module from the library.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3134"
+NAME="AEN3302"
></A
><P
></P
@@ -1346,7 +1360,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> URI associated to this module</TD
></TR
><TR
><TD
@@ -1361,7 +1375,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if sucessful, -1 in case of error</TD
></TR
></TBODY
></TABLE
@@ -1372,7 +1386,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3147"
+NAME="AEN3315"
></A
><H3
><A
@@ -1400,11 +1414,14 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Retrieve the data associated to the extension module in this given
+transformation.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3154"
+NAME="AEN3323"
></A
><P
></P
@@ -1431,7 +1448,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -1448,7 +1465,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URI associated to the exension module</TD
></TR
></TBODY
></TABLE
@@ -1459,7 +1476,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3167"
+NAME="AEN3336"
></A
><H3
><A
@@ -1487,11 +1504,14 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Retrieve the data associated to the extension module in this given
+stylesheet.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3174"
+NAME="AEN3344"
></A
><P
></P
@@ -1518,7 +1538,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1535,7 +1555,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URI associated to the exension module</TD
></TR
></TBODY
></TABLE
@@ -1546,7 +1566,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3187"
+NAME="AEN3357"
></A
><H3
><A
@@ -1570,11 +1590,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Shutdown the set of modules loaded</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3193"
+NAME="AEN3364"
></A
><P
></P
@@ -1601,7 +1623,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
></TBODY
></TABLE
@@ -1612,7 +1634,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3202"
+NAME="AEN3373"
></A
><H3
><A
@@ -1636,11 +1658,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Shutdown the set of modules loaded</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3208"
+NAME="AEN3380"
></A
><P
></P
@@ -1667,7 +1691,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -1678,7 +1702,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3217"
+NAME="AEN3389"
></A
><H3
><A
@@ -1710,11 +1734,13 @@ HREF="XMLXPATHFUNCTION"
></TR
></TABLE
><P
+>Registers an extension module function.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3225"
+NAME="AEN3398"
></A
><P
></P
@@ -1741,7 +1767,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function name</TD
></TR
><TR
><TD
@@ -1758,7 +1784,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function namespace URI</TD
></TR
><TR
><TD
@@ -1775,7 +1801,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function callback</TD
></TR
><TR
><TD
@@ -1790,7 +1816,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if successful, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -1801,7 +1827,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3246"
+NAME="AEN3419"
></A
><H3
><A
@@ -1840,7 +1866,7 @@ HREF="XMLCHAR"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3255"
+NAME="AEN3428"
></A
><P
></P
@@ -1927,7 +1953,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3276"
+NAME="AEN3449"
></A
><H3
><A
@@ -1959,11 +1985,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Looks up an extension module function</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3284"
+NAME="AEN3458"
></A
><P
></P
@@ -1990,7 +2018,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function name</TD
></TR
><TR
><TD
@@ -2007,7 +2035,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function namespace URI</TD
></TR
><TR
><TD
@@ -2022,7 +2050,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the function if found, NULL otherwise.</TD
></TR
></TBODY
></TABLE
@@ -2033,7 +2061,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3301"
+NAME="AEN3475"
></A
><H3
><A
@@ -2061,11 +2089,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Unregisters an extension module function</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3308"
+NAME="AEN3483"
></A
><P
></P
@@ -2092,7 +2122,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function name</TD
></TR
><TR
><TD
@@ -2109,7 +2139,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function namespace URI</TD
></TR
><TR
><TD
@@ -2124,7 +2154,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if successful, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -2135,7 +2165,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3325"
+NAME="AEN3500"
></A
><H3
><A
@@ -2163,7 +2193,7 @@ HREF="TYPEDEF"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3331"
+NAME="AEN3506"
></A
><P
></P
@@ -2199,7 +2229,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3340"
+NAME="AEN3515"
></A
><H3
><A
@@ -2234,11 +2264,16 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMFUNCTION"
></TR
></TABLE
><P
+>Creates and initializes an <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3349"
+NAME="AEN3526"
></A
><P
></P
@@ -2265,7 +2300,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -2282,7 +2317,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element node</TD
></TR
><TR
><TD
@@ -2299,7 +2334,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the transform function</TD
></TR
><TR
><TD
@@ -2314,7 +2349,10 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the new and initialized <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+></TD
></TR
></TBODY
></TABLE
@@ -2325,7 +2363,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3370"
+NAME="AEN3548"
></A
><H3
><A
@@ -2365,11 +2403,22 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMPDEALLOCATOR"
></TR
></TABLE
><P
+>Initializes an existing <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+> structure. This is usefull
+when extending an <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+> to store precomputed data.
+This function MUST be called on any extension element precomputed
+data struct.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3380"
+NAME="AEN3561"
></A
><P
></P
@@ -2396,7 +2445,10 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+> (or generally a derived structure)</TD
></TR
><TR
><TD
@@ -2413,7 +2465,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -2430,7 +2482,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element node</TD
></TR
><TR
><TD
@@ -2447,7 +2499,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the transform function</TD
></TR
><TR
><TD
@@ -2464,7 +2516,12 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the <TT
+CLASS="PARAMETER"
+><I
+>comp</I
+></TT
+> deallocator</TD
></TR
></TBODY
></TABLE
@@ -2475,7 +2532,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3405"
+NAME="AEN3588"
></A
><H3
><A
@@ -2511,11 +2568,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMFUNCTION"
></TR
></TABLE
><P
+>Registers an extension module element.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3414"
+NAME="AEN3598"
></A
><P
></P
@@ -2542,7 +2601,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element name</TD
></TR
><TR
><TD
@@ -2559,7 +2618,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element namespace URI</TD
></TR
><TR
><TD
@@ -2576,7 +2635,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the pre-computation callback</TD
></TR
><TR
><TD
@@ -2593,7 +2652,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the transformation callback</TD
></TR
><TR
><TD
@@ -2608,7 +2667,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if successful, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -2619,7 +2678,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3439"
+NAME="AEN3623"
></A
><H3
><A
@@ -2654,11 +2713,19 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Looks up an extension element. <TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+> can be NULL to search only in
+module elements.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3448"
+NAME="AEN3634"
></A
><P
></P
@@ -2745,7 +2812,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3469"
+NAME="AEN3655"
></A
><H3
><A
@@ -2777,11 +2844,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Looks up an extension module element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3477"
+NAME="AEN3664"
></A
><P
></P
@@ -2808,7 +2877,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element name</TD
></TR
><TR
><TD
@@ -2825,7 +2894,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element namespace URI</TD
></TR
><TR
><TD
@@ -2840,7 +2909,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the callback function if found, NULL otherwise.</TD
></TR
></TBODY
></TABLE
@@ -2851,7 +2920,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3494"
+NAME="AEN3681"
></A
><H3
><A
@@ -2879,11 +2948,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Unregisters an extension module element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3501"
+NAME="AEN3689"
></A
><P
></P
@@ -2910,7 +2981,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element name</TD
></TR
><TR
><TD
@@ -2927,7 +2998,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element namespace URI</TD
></TR
><TR
><TD
@@ -2942,7 +3013,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if successful, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -2953,7 +3024,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3518"
+NAME="AEN3706"
></A
><H3
><A
@@ -2981,7 +3052,7 @@ HREF="TYPEDEF"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3524"
+NAME="AEN3712"
></A
><P
></P
@@ -3017,7 +3088,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3533"
+NAME="AEN3721"
></A
><H3
><A
@@ -3049,11 +3120,13 @@ HREF="XSLTTOPLEVELFUNCTION"
></TR
></TABLE
><P
+>Registers an extension module top-level element.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3541"
+NAME="AEN3730"
></A
><P
></P
@@ -3080,7 +3153,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element name</TD
></TR
><TR
><TD
@@ -3097,7 +3170,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element namespace URI</TD
></TR
><TR
><TD
@@ -3114,7 +3187,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element callback</TD
></TR
><TR
><TD
@@ -3129,7 +3202,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if successful, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -3140,7 +3213,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3562"
+NAME="AEN3751"
></A
><H3
><A
@@ -3172,11 +3245,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Looks up an extension module top-level element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3570"
+NAME="AEN3760"
></A
><P
></P
@@ -3203,7 +3278,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element name</TD
></TR
><TR
><TD
@@ -3220,7 +3295,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element namespace URI</TD
></TR
><TR
><TD
@@ -3235,7 +3310,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the callback function if found, NULL otherwise.</TD
></TR
></TBODY
></TABLE
@@ -3246,7 +3321,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3587"
+NAME="AEN3777"
></A
><H3
><A
@@ -3274,11 +3349,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Unregisters an extension module top-level element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3594"
+NAME="AEN3785"
></A
><P
></P
@@ -3305,7 +3382,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element name</TD
></TR
><TR
><TD
@@ -3322,7 +3399,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the top-level element namespace URI</TD
></TR
><TR
><TD
@@ -3337,7 +3414,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if successful, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -3348,7 +3425,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3611"
+NAME="AEN3802"
></A
><H3
><A
@@ -3384,11 +3461,13 @@ HREF="XMLXPATHFUNCTION"
></TR
></TABLE
><P
+>Registers an extension function</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3620"
+NAME="AEN3812"
></A
><P
></P
@@ -3415,7 +3494,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -3432,7 +3511,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the name of the element</TD
></TR
><TR
><TD
@@ -3449,7 +3528,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URI associated to the element</TD
></TR
><TR
><TD
@@ -3466,7 +3545,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the actual implementation which should be called </TD
></TR
><TR
><TD
@@ -3481,7 +3560,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of failure</TD
></TR
></TBODY
></TABLE
@@ -3492,7 +3571,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3645"
+NAME="AEN3837"
></A
><H3
><A
@@ -3528,11 +3607,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMFUNCTION"
></TR
></TABLE
><P
+>Registers an extension element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3654"
+NAME="AEN3847"
></A
><P
></P
@@ -3559,7 +3640,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -3576,7 +3657,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the name of the element</TD
></TR
><TR
><TD
@@ -3593,7 +3674,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URI associated to the element</TD
></TR
><TR
><TD
@@ -3610,7 +3691,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the actual implementation which should be called </TD
></TR
><TR
><TD
@@ -3625,7 +3706,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of failure</TD
></TR
></TBODY
></TABLE
@@ -3636,7 +3717,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3679"
+NAME="AEN3872"
></A
><H3
><A
@@ -3668,11 +3749,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Registers an extension namespace</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3687"
+NAME="AEN3881"
></A
><P
></P
@@ -3699,7 +3782,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
><TR
><TD
@@ -3716,7 +3799,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the prefix used</TD
></TR
><TR
><TD
@@ -3733,7 +3816,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URI associated to the extension</TD
></TR
><TR
><TD
@@ -3748,7 +3831,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of failure</TD
></TR
></TBODY
></TABLE
@@ -3759,7 +3842,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3708"
+NAME="AEN3902"
></A
><H3
><A
@@ -3787,11 +3870,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Check if the given prefix is one of the declared extensions</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3715"
+NAME="AEN3910"
></A
><P
></P
@@ -3818,7 +3903,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -3835,7 +3920,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace prefix (possibly NULL)</TD
></TR
><TR
><TD
@@ -3850,7 +3935,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>1 if this is an extension, 0 otherwise</TD
></TR
></TBODY
></TABLE
@@ -3861,7 +3946,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3732"
+NAME="AEN3927"
></A
><H3
><A
@@ -3885,11 +3970,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Initialize the set of modules with registered stylesheet data</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3738"
+NAME="AEN3934"
></A
><P
></P
@@ -3916,7 +4003,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -3931,7 +4018,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of modules initialized or -1 in case of error</TD
></TR
></TBODY
></TABLE
@@ -3942,7 +4029,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3751"
+NAME="AEN3947"
></A
><H3
><A
@@ -3966,11 +4053,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Free the XSLT extension data</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3757"
+NAME="AEN3954"
></A
><P
></P
@@ -3997,7 +4086,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
></TBODY
></TABLE
@@ -4008,7 +4097,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3766"
+NAME="AEN3963"
></A
><H3
><A
@@ -4032,11 +4121,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Free up the memory used by XSLT extensions in a stylesheet</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3772"
+NAME="AEN3970"
></A
><P
></P
@@ -4063,7 +4154,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -4074,7 +4165,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3781"
+NAME="AEN3979"
></A
><H3
><A
@@ -4106,11 +4197,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Precomputes an extension module element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3789"
+NAME="AEN3988"
></A
><P
></P
@@ -4137,7 +4230,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -4154,7 +4247,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element node</TD
></TR
><TR
><TD
@@ -4169,7 +4262,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the precomputed data</TD
></TR
></TBODY
></TABLE
@@ -4180,7 +4273,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3806"
+NAME="AEN4005"
></A
><H3
><A
@@ -4201,6 +4294,8 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Registers the test module</P
+><P
></P
></DIV
></DIV
diff --git a/doc/html/libxslt-functions.html b/doc/html/libxslt-functions.html
index 451213b7..6905c2f0 100644
--- a/doc/html/libxslt-functions.html
+++ b/doc/html/libxslt-functions.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-FUNCTIONS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN83"
+NAME="AEN89"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN83"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN86"
+NAME="AEN92"
></A
><H2
>Synopsis</H2
@@ -246,7 +246,7 @@ HREF="XMLXPATHCONTEXTPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN113"
+NAME="AEN119"
></A
><H2
>Description</H2
@@ -256,14 +256,14 @@ NAME="AEN113"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN116"
+NAME="AEN122"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN118"
+NAME="AEN124"
></A
><H3
><A
@@ -284,11 +284,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>registering macro, not general purpose at all but used in different modules</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN123"
+NAME="AEN130"
></A
><P
></P
@@ -326,7 +328,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN132"
+NAME="AEN139"
></A
><H3
><A
@@ -361,11 +363,14 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>This is the entry point when a function is needed by the XPath
+interpretor.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN141"
+NAME="AEN149"
></A
><P
></P
@@ -392,7 +397,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a void * but the XSLT transformation context actually</TD
></TR
><TR
><TD
@@ -409,7 +414,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function name</TD
></TR
><TR
><TD
@@ -426,7 +431,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the function namespace URI</TD
></TR
><TR
><TD
@@ -441,7 +446,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the callback function or NULL if not found</TD
></TR
></TBODY
></TABLE
@@ -452,7 +457,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN162"
+NAME="AEN170"
></A
><H3
><A
@@ -477,11 +482,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the <GTKDOCLINK
+HREF="DOCUMENT"
+>document</GTKDOCLINK
+>() XSLT function
+ node-set document(object, node-set?)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN168"
+NAME="AEN178"
></A
><P
></P
@@ -508,7 +519,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -525,7 +536,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -536,7 +547,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN181"
+NAME="AEN191"
></A
><H3
><A
@@ -561,11 +572,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the <GTKDOCLINK
+HREF="KEY"
+>key</GTKDOCLINK
+>() XSLT function
+ node-set key(string, object)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN187"
+NAME="AEN199"
></A
><P
></P
@@ -592,7 +609,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -609,7 +626,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -620,7 +637,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN200"
+NAME="AEN212"
></A
><H3
><A
@@ -645,11 +662,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the unparsed-entity-<GTKDOCLINK
+HREF="URI"
+>uri</GTKDOCLINK
+>() XSLT function
+ string unparsed-entity-uri(string)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN206"
+NAME="AEN220"
></A
><P
></P
@@ -676,7 +699,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -693,7 +716,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -704,7 +727,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN219"
+NAME="AEN233"
></A
><H3
><A
@@ -729,11 +752,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the format-<GTKDOCLINK
+HREF="NUMBER"
+>number</GTKDOCLINK
+>() XSLT function
+ string format-number(number, string, string?)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN225"
+NAME="AEN241"
></A
><P
></P
@@ -760,7 +789,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -777,7 +806,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -788,7 +817,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN238"
+NAME="AEN254"
></A
><H3
><A
@@ -813,11 +842,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the generate-<GTKDOCLINK
+HREF="ID"
+>id</GTKDOCLINK
+>() XSLT function
+ string generate-id(node-set?)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN244"
+NAME="AEN262"
></A
><P
></P
@@ -844,7 +879,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -861,7 +896,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -872,7 +907,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN257"
+NAME="AEN275"
></A
><H3
><A
@@ -897,11 +932,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the system-<GTKDOCLINK
+HREF="PROPERTY"
+>property</GTKDOCLINK
+>() XSLT function
+ object system-property(string)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN263"
+NAME="AEN283"
></A
><P
></P
@@ -928,7 +969,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -945,7 +986,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -956,7 +997,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN276"
+NAME="AEN296"
></A
><H3
><A
@@ -981,11 +1022,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the element-<GTKDOCLINK
+HREF="AVAILABLE"
+>available</GTKDOCLINK
+>() XSLT function
+ boolean element-available(string)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN282"
+NAME="AEN304"
></A
><P
></P
@@ -1012,7 +1059,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -1029,7 +1076,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -1040,7 +1087,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN295"
+NAME="AEN317"
></A
><H3
><A
@@ -1065,11 +1112,17 @@ HREF="XMLXPATHPARSERCONTEXTPTR"
></TR
></TABLE
><P
+>Implement the function-<GTKDOCLINK
+HREF="AVAILABLE"
+>available</GTKDOCLINK
+>() XSLT function
+ boolean function-available(string)</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN301"
+NAME="AEN325"
></A
><P
></P
@@ -1096,7 +1149,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath Parser context</TD
></TR
><TR
><TD
@@ -1113,7 +1166,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of arguments</TD
></TR
></TBODY
></TABLE
@@ -1124,7 +1177,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN314"
+NAME="AEN338"
></A
><H3
><A
@@ -1148,11 +1201,13 @@ HREF="XMLXPATHCONTEXTPTR"
></TR
></TABLE
><P
+>Registers all default XSLT functions in this context</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN320"
+NAME="AEN345"
></A
><P
></P
@@ -1179,7 +1234,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath context</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-imports.html b/doc/html/libxslt-imports.html
index c9c7019b..58f7b674 100644
--- a/doc/html/libxslt-imports.html
+++ b/doc/html/libxslt-imports.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-IMPORTS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2626"
+NAME="AEN2779"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN2626"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2629"
+NAME="AEN2782"
></A
><H2
>Synopsis</H2
@@ -229,7 +229,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2653"
+NAME="AEN2806"
></A
><H2
>Description</H2
@@ -239,14 +239,14 @@ NAME="AEN2653"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2656"
+NAME="AEN2809"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2658"
+NAME="AEN2811"
></A
><H3
><A
@@ -267,11 +267,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>a macro to import pointers from the stylesheet cascading order</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2663"
+NAME="AEN2817"
></A
><P
></P
@@ -343,7 +345,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2680"
+NAME="AEN2834"
></A
><H3
><A
@@ -364,11 +366,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>a macro to import intergers from the stylesheet cascading order</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2685"
+NAME="AEN2840"
></A
><P
></P
@@ -440,7 +444,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2702"
+NAME="AEN2857"
></A
><H3
><A
@@ -468,11 +472,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT stylesheet strip-space element and record
+elements needing stripping</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2709"
+NAME="AEN2865"
></A
><P
></P
@@ -499,7 +506,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -527,7 +534,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2722"
+NAME="AEN2878"
></A
><H3
><A
@@ -555,11 +562,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT stylesheet strip-space element and record
+elements needing stripping</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2729"
+NAME="AEN2886"
></A
><P
></P
@@ -586,7 +596,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -614,7 +624,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2742"
+NAME="AEN2899"
></A
><H3
><A
@@ -641,11 +651,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Find the next stylesheet in import precedence.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2749"
+NAME="AEN2907"
></A
><P
></P
@@ -687,7 +699,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the next stylesheet or NULL if it was the last one</TD
></TR
></TBODY
></TABLE
@@ -698,7 +710,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2762"
+NAME="AEN2920"
></A
><H3
><A
@@ -722,11 +734,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Returns whether that stylesheet requires white-space stripping</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2768"
+NAME="AEN2927"
></A
><P
></P
@@ -753,7 +767,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -768,7 +782,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>1 if space should be stripped, 0 if not</TD
></TR
></TBODY
></TABLE
@@ -779,7 +793,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2781"
+NAME="AEN2940"
></A
><H3
><A
@@ -807,11 +821,14 @@ HREF="XMLNODEPTR"
></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"
><A
-NAME="AEN2788"
+NAME="AEN2948"
></A
><P
></P
@@ -838,7 +855,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -855,7 +872,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XML node</TD
></TR
><TR
><TD
@@ -870,7 +887,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>1 if space should be stripped, 0 if not, and 2 if everything
+ should be CDTATA wrapped.</TD
></TR
></TBODY
></TABLE
@@ -881,7 +899,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2805"
+NAME="AEN2965"
></A
><H3
><A
@@ -916,11 +934,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Finds the named template, apply import precedence rule.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2814"
+NAME="AEN2975"
></A
><P
></P
@@ -947,7 +967,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -964,7 +984,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the template name</TD
></TR
><TR
><TD
@@ -981,7 +1001,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the template name URI</TD
></TR
><TR
><TD
@@ -996,7 +1016,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the xsltTemplatePtr or NULL if not found</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-keys.html b/doc/html/libxslt-keys.html
index 9ef894bf..93f60eac 100644
--- a/doc/html/libxslt-keys.html
+++ b/doc/html/libxslt-keys.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-KEYS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN4431"
+NAME="AEN4672"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN4431"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN4434"
+NAME="AEN4675"
></A
><H2
>Synopsis</H2
@@ -227,7 +227,7 @@ HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN4457"
+NAME="AEN4698"
></A
><H2
>Description</H2
@@ -237,14 +237,14 @@ NAME="AEN4457"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN4460"
+NAME="AEN4701"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4462"
+NAME="AEN4703"
></A
><H3
><A
@@ -288,11 +288,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>add a key definition to a stylesheet</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4473"
+NAME="AEN4715"
></A
><P
></P
@@ -319,7 +321,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
><TR
><TD
@@ -336,7 +338,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the key name or NULL</TD
></TR
><TR
><TD
@@ -353,7 +355,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the name URI or NULL</TD
></TR
><TR
><TD
@@ -370,7 +372,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the match value</TD
></TR
><TR
><TD
@@ -387,7 +389,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the use value</TD
></TR
><TR
><TD
@@ -404,7 +406,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the key instruction</TD
></TR
><TR
><TD
@@ -419,7 +421,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, and -1 in case of failure.</TD
></TR
></TBODY
></TABLE
@@ -430,7 +432,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4506"
+NAME="AEN4748"
></A
><H3
><A
@@ -469,11 +471,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Lookup a key</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4516"
+NAME="AEN4759"
></A
><P
></P
@@ -500,7 +504,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -517,7 +521,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the key name or NULL</TD
></TR
><TR
><TD
@@ -534,7 +538,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the name URI or NULL</TD
></TR
><TR
><TD
@@ -551,7 +555,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the key value to look for</TD
></TR
><TR
><TD
@@ -566,7 +570,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the nodeset resulting from the query or NULL</TD
></TR
></TBODY
></TABLE
@@ -577,7 +581,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4541"
+NAME="AEN4784"
></A
><H3
><A
@@ -605,11 +609,14 @@ HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
></TR
></TABLE
><P
+>Computes all the keys tables for the current input document.
+Should be done before global varibales are initialized.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4548"
+NAME="AEN4792"
></A
><P
></P
@@ -636,7 +643,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT transformation context</TD
></TR
><TR
><TD
@@ -653,7 +660,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT document</TD
></TR
></TBODY
></TABLE
@@ -664,7 +671,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4561"
+NAME="AEN4805"
></A
><H3
><A
@@ -688,11 +695,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Free up the memory used by XSLT keys in a stylesheet</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4567"
+NAME="AEN4812"
></A
><P
></P
@@ -719,7 +728,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -730,7 +739,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4576"
+NAME="AEN4821"
></A
><H3
><A
@@ -754,11 +763,13 @@ HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
></TR
></TABLE
><P
+>Free the keys associated to a document</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4582"
+NAME="AEN4828"
></A
><P
></P
@@ -785,7 +796,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT document</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-namespaces.html b/doc/html/libxslt-namespaces.html
index f8377674..cc2d124e 100644
--- a/doc/html/libxslt-namespaces.html
+++ b/doc/html/libxslt-namespaces.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-NAMESPACES"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN3816"
+NAME="AEN4016"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN3816"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN3819"
+NAME="AEN4019"
></A
><H2
>Synopsis</H2
@@ -255,7 +255,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3850"
+NAME="AEN4050"
></A
><H2
>Description</H2
@@ -265,14 +265,14 @@ NAME="AEN3850"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3853"
+NAME="AEN4053"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3855"
+NAME="AEN4055"
></A
><H3
><A
@@ -300,11 +300,14 @@ HREF="XMLNODEPTR"
></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"
><A
-NAME="AEN3862"
+NAME="AEN4063"
></A
><P
></P
@@ -331,7 +334,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -348,7 +351,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xsl:namespace-alias node</TD
></TR
></TBODY
></TABLE
@@ -359,7 +362,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3875"
+NAME="AEN4076"
></A
><H3
><A
@@ -398,11 +401,15 @@ HREF="XMLNODEPTR"
></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"
><A
-NAME="AEN3885"
+NAME="AEN4087"
></A
><P
></P
@@ -429,7 +436,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a transformation context</TD
></TR
><TR
><TD
@@ -446,7 +453,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the input node</TD
></TR
><TR
><TD
@@ -463,7 +470,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace</TD
></TR
><TR
><TD
@@ -480,7 +487,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the output node (or its parent)</TD
></TR
><TR
><TD
@@ -495,7 +502,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the namespace node to use or NULL</TD
></TR
></TBODY
></TABLE
@@ -506,7 +513,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3910"
+NAME="AEN4112"
></A
><H3
><A
@@ -549,11 +556,14 @@ HREF="XMLNODEPTR"
></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="AEN3921"
+NAME="AEN4124"
></A
><P
></P
@@ -580,7 +590,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a transformation context</TD
></TR
><TR
><TD
@@ -597,7 +607,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the input node</TD
></TR
><TR
><TD
@@ -614,7 +624,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace URI</TD
></TR
><TR
><TD
@@ -631,7 +641,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the suggested prefix</TD
></TR
><TR
><TD
@@ -648,7 +658,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the output node (or its parent)</TD
></TR
><TR
><TD
@@ -663,7 +673,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the namespace node to use or NULL</TD
></TR
></TBODY
></TABLE
@@ -674,7 +684,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3950"
+NAME="AEN4153"
></A
><H3
><A
@@ -709,11 +719,20 @@ HREF="XMLNSPTR"
></TR
></TABLE
><P
+>Do a copy of an namespace node. 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"
><A
-NAME="AEN3959"
+NAME="AEN4164"
></A
><P
></P
@@ -740,7 +759,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a transformation context</TD
></TR
><TR
><TD
@@ -757,7 +776,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the target node</TD
></TR
><TR
><TD
@@ -774,7 +793,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespace node</TD
></TR
><TR
><TD
@@ -789,7 +808,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a new xmlNsPtr, or NULL in case of error.</TD
></TR
></TBODY
></TABLE
@@ -800,7 +819,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3980"
+NAME="AEN4185"
></A
><H3
><A
@@ -835,11 +854,20 @@ HREF="XMLNSPTR"
></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"
><A
-NAME="AEN3989"
+NAME="AEN4196"
></A
><P
></P
@@ -866,7 +894,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a transformation context</TD
></TR
><TR
><TD
@@ -883,7 +911,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the target node</TD
></TR
><TR
><TD
@@ -900,7 +928,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the first namespace</TD
></TR
><TR
><TD
@@ -915,7 +943,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a new xmlNsPtr, or NULL in case of error.</TD
></TR
></TBODY
></TABLE
@@ -926,7 +954,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4010"
+NAME="AEN4217"
></A
><H3
><A
@@ -950,11 +978,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Free up the memory used by namespaces aliases</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4016"
+NAME="AEN4224"
></A
><P
></P
@@ -981,7 +1011,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-pattern.html b/doc/html/libxslt-pattern.html
index 18c0142b..19e8c471 100644
--- a/doc/html/libxslt-pattern.html
+++ b/doc/html/libxslt-pattern.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-PATTERN"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN334"
+NAME="AEN359"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN334"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN337"
+NAME="AEN362"
></A
><H2
>Synopsis</H2
@@ -259,7 +259,15 @@ HREF="XMLNODEPTR"
const <GTKDOCLINK
HREF="XMLCHAR"
>xmlChar</GTKDOCLINK
-> *pattern);</PRE
+> *pattern,
+ <GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> ctxtdoc,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> ctxtnode);</PRE
></TD
></TR
></TABLE
@@ -267,7 +275,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN371"
+NAME="AEN398"
></A
><H2
>Description</H2
@@ -277,14 +285,14 @@ NAME="AEN371"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN374"
+NAME="AEN401"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN376"
+NAME="AEN403"
></A
><H3
><A
@@ -305,12 +313,15 @@ CLASS="PROGRAMLISTING"
></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="AEN381"
+NAME="AEN409"
></A
><H3
><A
@@ -336,7 +347,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN386"
+NAME="AEN414"
></A
><H3
><A
@@ -371,11 +382,16 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Compile the XSLT pattern and generates a list of precompiled form suitable
+for fast matching.</P
+><P
+>[1] Pattern ::= LocationPathPattern | Pattern '|' LocationPathPattern</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN395"
+NAME="AEN425"
></A
><P
></P
@@ -402,7 +418,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT pattern</TD
></TR
><TR
><TD
@@ -419,7 +435,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the containing document</TD
></TR
><TR
><TD
@@ -436,7 +452,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the containing element</TD
></TR
><TR
><TD
@@ -451,7 +467,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the generated pattern list or NULL in case of failure</TD
></TR
></TBODY
></TABLE
@@ -462,7 +478,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN416"
+NAME="AEN446"
></A
><H3
><A
@@ -486,11 +502,18 @@ HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR"
></TR
></TABLE
><P
+>Free up the memory allocated by all the elements of <TT
+CLASS="PARAMETER"
+><I
+>comp</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN422"
+NAME="AEN454"
></A
><P
></P
@@ -517,7 +540,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT comp list</TD
></TR
></TBODY
></TABLE
@@ -528,7 +551,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN431"
+NAME="AEN463"
></A
><H3
><A
@@ -560,11 +583,13 @@ HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR"
></TR
></TABLE
><P
+>Test wether the node matches one of the patterns in the list</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN439"
+NAME="AEN472"
></A
><P
></P
@@ -591,7 +616,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -608,7 +633,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a node</TD
></TR
><TR
><TD
@@ -625,7 +650,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the precompiled pattern list</TD
></TR
><TR
><TD
@@ -640,7 +665,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>1 if it matches, 0 if it doesn't and -1 in case of failure</TD
></TR
></TBODY
></TABLE
@@ -651,7 +676,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN460"
+NAME="AEN493"
></A
><H3
><A
@@ -687,11 +712,18 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Register the XSLT pattern associated to <TT
+CLASS="PARAMETER"
+><I
+>cur</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN469"
+NAME="AEN504"
></A
><P
></P
@@ -718,7 +750,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
><TR
><TD
@@ -735,7 +767,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT template</TD
></TR
><TR
><TD
@@ -752,7 +784,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the mode name or NULL</TD
></TR
><TR
><TD
@@ -769,7 +801,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the mode URI or NULL</TD
></TR
><TR
><TD
@@ -784,7 +816,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>-1 in case of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
@@ -795,7 +827,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN494"
+NAME="AEN529"
></A
><H3
><A
@@ -830,11 +862,19 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Finds the template applying to this node, if <TT
+CLASS="PARAMETER"
+><I
+>style</I
+></TT
+> is non-NULL
+it means one needs to look for the next imported template in scope.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN503"
+NAME="AEN540"
></A
><P
></P
@@ -861,7 +901,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -878,7 +918,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node being processed</TD
></TR
><TR
><TD
@@ -895,7 +935,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the current style</TD
></TR
><TR
><TD
@@ -910,7 +950,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the xsltTemplatePtr or NULL if not found</TD
></TR
></TBODY
></TABLE
@@ -921,7 +961,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN524"
+NAME="AEN561"
></A
><H3
><A
@@ -945,11 +985,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Free up the memory used by xsltAddTemplate/xsltGetTemplate mechanism</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN530"
+NAME="AEN568"
></A
><P
></P
@@ -976,7 +1018,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -987,7 +1029,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN539"
+NAME="AEN577"
></A
><H3
><A
@@ -1011,11 +1053,14 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Cleanup the state of the templates used by the stylesheet and
+the ones it imports.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN545"
+NAME="AEN584"
></A
><P
></P
@@ -1042,7 +1087,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -1053,7 +1098,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN554"
+NAME="AEN593"
></A
><H3
><A
@@ -1080,16 +1125,26 @@ HREF="XMLNODEPTR"
const <GTKDOCLINK
HREF="XMLCHAR"
>xmlChar</GTKDOCLINK
-> *pattern);</PRE
+> *pattern,
+ <GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> ctxtdoc,
+ <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> ctxtnode);</PRE
></TD
></TR
></TABLE
><P
+>Determine if a node matches a pattern.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN562"
+NAME="AEN604"
></A
><P
></P
@@ -1133,7 +1188,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a node in the source tree</TD
></TR
><TR
><TD
@@ -1150,7 +1205,41 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT pattern</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ctxtdoc</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> context document (for namespaces)</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ctxtnode</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> context node (for namespaces)</TD
></TR
><TR
><TD
diff --git a/doc/html/libxslt-templates.html b/doc/html/libxslt-templates.html
index 465fb4f5..d396250d 100644
--- a/doc/html/libxslt-templates.html
+++ b/doc/html/libxslt-templates.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-TEMPLATES"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN588"
+NAME="AEN638"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN588"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN591"
+NAME="AEN641"
></A
><H2
>Synopsis</H2
@@ -310,7 +310,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN637"
+NAME="AEN687"
></A
><H2
>Description</H2
@@ -320,14 +320,14 @@ NAME="AEN637"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN640"
+NAME="AEN690"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN642"
+NAME="AEN692"
></A
><H3
><A
@@ -360,11 +360,14 @@ HREF="XMLNSPTR"
></TR
></TABLE
><P
+>Process the expression using XPath and evaluate the result as
+an XPath predicate</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN650"
+NAME="AEN701"
></A
><P
></P
@@ -391,7 +394,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -408,7 +411,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath compiled expression</TD
></TR
><TR
><TD
@@ -425,7 +428,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the namespaces in scope</TD
></TR
><TR
><TD
@@ -442,7 +445,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of namespaces in scope</TD
></TR
><TR
><TD
@@ -457,7 +460,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>1 is the predicate was true, 0 otherwise</TD
></TR
></TBODY
></TABLE
@@ -468,7 +471,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN675"
+NAME="AEN726"
></A
><H3
><A
@@ -503,11 +506,15 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Evaluate a template string value, i.e. the parent list is interpreter
+as template content and the resulting tree string value is returned
+This is needed for example by xsl:comment and xsl:processing-instruction</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN684"
+NAME="AEN736"
></A
><P
></P
@@ -534,7 +541,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -551,7 +558,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet node</TD
></TR
><TR
><TD
@@ -568,7 +575,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the content parent</TD
></TR
><TR
><TD
@@ -583,7 +590,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the computed string value or NULL, must be deallocated by the
+ caller.</TD
></TR
></TBODY
></TABLE
@@ -594,7 +602,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN705"
+NAME="AEN757"
></A
><H3
><A
@@ -633,11 +641,15 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Evaluate a attribute value template, i.e. the attribute value can
+contain expressions contained in curly braces ({}) and those are
+substituted by they computed value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN715"
+NAME="AEN768"
></A
><P
></P
@@ -664,7 +676,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -681,7 +693,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet node</TD
></TR
><TR
><TD
@@ -698,7 +710,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the attribute QName</TD
></TR
><TR
><TD
@@ -715,7 +727,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the attribute namespace URI</TD
></TR
><TR
><TD
@@ -730,7 +742,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the computed string value or NULL, must be deallocated by the
+ caller.</TD
></TR
></TBODY
></TABLE
@@ -741,7 +754,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN740"
+NAME="AEN793"
></A
><H3
><A
@@ -781,11 +794,14 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Check if an attribute value template has a static value, i.e. the
+attribute value does not contain expressions contained in curly braces ({})</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN750"
+NAME="AEN804"
></A
><P
></P
@@ -812,7 +828,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -829,7 +845,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet node</TD
></TR
><TR
><TD
@@ -846,7 +862,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the attribute Name</TD
></TR
><TR
><TD
@@ -863,7 +879,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the attribute namespace URI</TD
></TR
><TR
><TD
@@ -880,7 +896,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> indicator whether the attribute is present</TD
></TR
><TR
><TD
@@ -895,7 +911,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the static string value or NULL, must be deallocated by the
+ caller.</TD
></TR
></TBODY
></TABLE
@@ -906,7 +923,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN779"
+NAME="AEN833"
></A
><H3
><A
@@ -937,11 +954,13 @@ HREF="XMLXPATHCOMPEXPRPTR"
></TR
></TABLE
><P
+>Process the expression using XPath and get a string</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN787"
+NAME="AEN842"
></A
><P
></P
@@ -968,7 +987,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -985,7 +1004,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the compiled XPath expression</TD
></TR
><TR
><TD
@@ -1000,7 +1019,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the computed string value or NULL, must be deallocated by the
+ caller.</TD
></TR
></TBODY
></TABLE
@@ -1011,7 +1031,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN804"
+NAME="AEN859"
></A
><H3
><A
@@ -1042,11 +1062,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Process the given node and return the new string value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN812"
+NAME="AEN868"
></A
><P
></P
@@ -1073,7 +1095,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1090,7 +1112,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the attribute template node</TD
></TR
><TR
><TD
@@ -1105,7 +1127,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the computed tree replacement</TD
></TR
></TBODY
></TABLE
@@ -1116,7 +1138,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN829"
+NAME="AEN885"
></A
><H3
><A
@@ -1151,11 +1173,13 @@ HREF="XMLATTRPTR"
></TR
></TABLE
><P
+>Do a copy of an attribute list with attribute template processing</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN838"
+NAME="AEN895"
></A
><P
></P
@@ -1182,7 +1206,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1199,7 +1223,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element where the attributes will be grafted</TD
></TR
><TR
><TD
@@ -1216,7 +1240,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the first attribute</TD
></TR
><TR
><TD
@@ -1231,7 +1255,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a new xmlAttrPtr, or NULL in case of error.</TD
></TR
></TBODY
></TABLE
@@ -1242,7 +1266,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN859"
+NAME="AEN916"
></A
><H3
><A
@@ -1277,11 +1301,13 @@ HREF="XMLATTRPTR"
></TR
></TABLE
><P
+>Process the given attribute and return the new processed copy.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN868"
+NAME="AEN926"
></A
><P
></P
@@ -1308,7 +1334,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1325,7 +1351,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the result node</TD
></TR
><TR
><TD
@@ -1357,7 +1383,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the attribute replacement.</TD
></TR
></TBODY
></TABLE
@@ -1368,7 +1394,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN889"
+NAME="AEN947"
></A
><H3
><A
@@ -1399,11 +1425,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Process the given node and return the new string value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN897"
+NAME="AEN956"
></A
><P
></P
@@ -1430,7 +1458,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1462,7 +1490,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the computed string value or NULL, must be deallocated by the
+ caller.</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-transform.html b/doc/html/libxslt-transform.html
index 94438334..7c9af746 100644
--- a/doc/html/libxslt-transform.html
+++ b/doc/html/libxslt-transform.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-TRANSFORM"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN919"
+NAME="AEN978"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN919"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN922"
+NAME="AEN981"
></A
><H2
>Synopsis</H2
@@ -663,7 +663,7 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1059"
+NAME="AEN1118"
></A
><H2
>Description</H2
@@ -673,14 +673,14 @@ NAME="AEN1059"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1062"
+NAME="AEN1121"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1064"
+NAME="AEN1123"
></A
><H3
><A
@@ -701,11 +701,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Set whether XInclude should be processed on document being loaded by default</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1069"
+NAME="AEN1129"
></A
><P
></P
@@ -732,7 +734,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> whether to do XInclude processing</TD
></TR
></TBODY
></TABLE
@@ -743,7 +745,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1078"
+NAME="AEN1138"
></A
><H3
><A
@@ -764,11 +766,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>return the default state for XInclude processing</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1083"
+NAME="AEN1144"
></A
><P
></P
@@ -793,7 +797,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 if there is no processing 1 otherwise</TD
></TR
></TBODY
></TABLE
@@ -804,7 +808,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1092"
+NAME="AEN1153"
></A
><H3
><A
@@ -836,11 +840,13 @@ HREF="XMLDOCPTR"
></TR
></TABLE
><P
+>Create a new XSLT TransformContext</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1100"
+NAME="AEN1162"
></A
><P
></P
@@ -867,7 +873,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XSLT stylesheet</TD
></TR
><TR
><TD
@@ -884,7 +890,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the input document</TD
></TR
><TR
><TD
@@ -899,7 +905,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the newly allocated xsltTransformContextPtr or NULL in case of error</TD
></TR
></TBODY
></TABLE
@@ -910,7 +916,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1117"
+NAME="AEN1179"
></A
><H3
><A
@@ -934,11 +940,18 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Free up the memory allocated by <TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1123"
+NAME="AEN1187"
></A
><P
></P
@@ -965,7 +978,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT parser context</TD
></TR
></TBODY
></TABLE
@@ -976,7 +989,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1132"
+NAME="AEN1196"
></A
><H3
><A
@@ -1017,11 +1030,14 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Apply the stylesheet to the document and allow the user to provide
+its own transformation context.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1142"
+NAME="AEN1207"
></A
><P
></P
@@ -1048,7 +1064,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1065,7 +1081,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XML document</TD
></TR
><TR
><TD
@@ -1082,7 +1098,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a NULL terminated arry of parameters names/values tuples</TD
></TR
><TR
><TD
@@ -1099,7 +1115,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the targetted output</TD
></TR
><TR
><TD
@@ -1116,7 +1132,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> profile FILE * output or NULL</TD
></TR
><TR
><TD
@@ -1133,7 +1149,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> user provided transform context</TD
></TR
><TR
><TD
@@ -1148,7 +1164,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the result document or NULL in case of error</TD
></TR
></TBODY
></TABLE
@@ -1159,7 +1175,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1175"
+NAME="AEN1240"
></A
><H3
><A
@@ -1187,11 +1203,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Strip the unwanted ignorable spaces from the input tree</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1182"
+NAME="AEN1248"
></A
><P
></P
@@ -1218,7 +1236,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -1246,7 +1264,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1195"
+NAME="AEN1261"
></A
><H3
><A
@@ -1281,11 +1299,19 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Looks up an extension element. <TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+> can be NULL to search only in
+module elements.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1204"
+NAME="AEN1272"
></A
><P
></P
@@ -1312,7 +1338,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT process context</TD
></TR
><TR
><TD
@@ -1329,7 +1355,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element name</TD
></TR
><TR
><TD
@@ -1346,7 +1372,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the element namespace URI</TD
></TR
><TR
><TD
@@ -1361,7 +1387,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the element callback or NULL if not found</TD
></TR
></TBODY
></TABLE
@@ -1372,7 +1398,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1225"
+NAME="AEN1293"
></A
><H3
><A
@@ -1404,11 +1430,14 @@ HREF="XMLDOCPTR"
></TR
></TABLE
><P
+>Apply the stylesheet to the document
+NOTE: This may lead to a non-wellformed output XML wise !</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1233"
+NAME="AEN1302"
></A
><P
></P
@@ -1435,7 +1464,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1452,7 +1481,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XML document</TD
></TR
><TR
><TD
@@ -1469,7 +1498,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a NULL terminated arry of parameters names/values tuples</TD
></TR
><TR
><TD
@@ -1484,7 +1513,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the result document or NULL in case of error</TD
></TR
></TBODY
></TABLE
@@ -1495,7 +1524,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1254"
+NAME="AEN1323"
></A
><H3
><A
@@ -1531,11 +1560,14 @@ HREF="FILE-CAPS"
></TR
></TABLE
><P
+>Apply the stylesheet to the document and dump the profiling to
+the given output.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1263"
+NAME="AEN1333"
></A
><P
></P
@@ -1562,7 +1594,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1579,7 +1611,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XML document</TD
></TR
><TR
><TD
@@ -1596,7 +1628,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a NULL terminated arry of parameters names/values tuples</TD
></TR
><TR
><TD
@@ -1613,7 +1645,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a FILE * for the profiling output</TD
></TR
><TR
><TD
@@ -1628,7 +1660,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the result document or NULL in case of error</TD
></TR
></TBODY
></TABLE
@@ -1639,7 +1671,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1288"
+NAME="AEN1358"
></A
><H3
><A
@@ -1677,11 +1709,48 @@ HREF="XMLOUTPUTBUFFERPTR"
></TR
></TABLE
><P
+>Apply the stylesheet to the document and generate the output according
+to <TT
+CLASS="PARAMETER"
+><I
+>output</I
+></TT
+> <TT
+CLASS="PARAMETER"
+><I
+>SAX</I
+></TT
+> and <TT
+CLASS="PARAMETER"
+><I
+>IObuf</I
+></TT
+>. It's an error to specify both <TT
+CLASS="PARAMETER"
+><I
+>SAX</I
+></TT
+> and <TT
+CLASS="PARAMETER"
+><I
+>IObuf</I
+></TT
+>.</P
+><P
+>NOTE: This may lead to a non-wellformed output XML wise !
+NOTE: This may also result in multiple files being generated
+NOTE: using IObuf, the result encoding used will be the one used for
+ creating the output buffer, use the following macro to read it
+ from the stylesheet
+ XSLT_GET_IMPORT_PTR(encoding, style, encoding)
+NOTE: using SAX, any encoding specified in the stylesheet will be lost
+ since the interface uses only UTF8</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1297"
+NAME="AEN1374"
></A
><P
></P
@@ -1708,7 +1777,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1725,7 +1794,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a parsed XML document</TD
></TR
><TR
><TD
@@ -1742,7 +1811,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a NULL terminated arry of parameters names/values tuples</TD
></TR
><TR
><TD
@@ -1759,7 +1828,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URL/filename ot the generated resource if available</TD
></TR
><TR
><TD
@@ -1776,7 +1845,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a SAX handler for progressive callback output (not implemented yet)</TD
></TR
><TR
><TD
@@ -1793,7 +1862,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an output buffer for progressive output (not implemented yet)</TD
></TR
><TR
><TD
@@ -1808,7 +1877,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of by written to the main resource or -1 in case of
+ error.</TD
></TR
></TBODY
></TABLE
@@ -1819,7 +1889,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1330"
+NAME="AEN1407"
></A
><H3
><A
@@ -1859,11 +1929,15 @@ HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
></TR
></TABLE
><P
+>Process the apply-templates node on the source node, if params are passed
+they are pushed on the variable stack but not popped, it's left to the
+caller to handle them back (they may be reused).</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1340"
+NAME="AEN1418"
></A
><P
></P
@@ -1890,7 +1964,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -1907,7 +1981,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -1924,7 +1998,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the template replacement nodelist</TD
></TR
><TR
><TD
@@ -1941,7 +2015,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> if is this a real template processing, the template processed</TD
></TR
><TR
><TD
@@ -1958,7 +2032,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a set of parameters for the template or NULL</TD
></TR
></TBODY
></TABLE
@@ -1969,7 +2043,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1365"
+NAME="AEN1443"
></A
><H3
><A
@@ -2005,11 +2079,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process an XSLT-1.1 document element</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1374"
+NAME="AEN1453"
></A
><P
></P
@@ -2036,7 +2112,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT processing context</TD
></TR
><TR
><TD
@@ -2053,7 +2129,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> The current node</TD
></TR
><TR
><TD
@@ -2070,7 +2146,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the instruction in the stylesheet</TD
></TR
><TR
><TD
@@ -2087,7 +2163,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2098,7 +2174,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1395"
+NAME="AEN1474"
></A
><H3
><A
@@ -2134,11 +2210,14 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>function attached to xsl:sort nodes, but this should not be
+called directly</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1404"
+NAME="AEN1484"
></A
><P
></P
@@ -2165,7 +2244,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2182,7 +2261,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2199,7 +2278,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt sort node</TD
></TR
><TR
><TD
@@ -2216,7 +2295,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2227,7 +2306,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1425"
+NAME="AEN1505"
></A
><H3
><A
@@ -2263,11 +2342,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt copy node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1434"
+NAME="AEN1515"
></A
><P
></P
@@ -2294,7 +2375,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2311,7 +2392,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2328,7 +2409,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt copy node</TD
></TR
><TR
><TD
@@ -2345,7 +2426,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2356,7 +2437,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1455"
+NAME="AEN1536"
></A
><H3
><A
@@ -2392,11 +2473,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt text node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1464"
+NAME="AEN1546"
></A
><P
></P
@@ -2423,7 +2506,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2440,7 +2523,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2457,7 +2540,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt text node</TD
></TR
><TR
><TD
@@ -2474,7 +2557,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2485,7 +2568,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1485"
+NAME="AEN1567"
></A
><H3
><A
@@ -2521,11 +2604,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt element node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1494"
+NAME="AEN1577"
></A
><P
></P
@@ -2552,7 +2637,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2569,7 +2654,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2586,7 +2671,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt element node</TD
></TR
><TR
><TD
@@ -2603,7 +2688,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2614,7 +2699,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1515"
+NAME="AEN1598"
></A
><H3
><A
@@ -2650,11 +2735,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt comment node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1524"
+NAME="AEN1608"
></A
><P
></P
@@ -2681,7 +2768,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2698,7 +2785,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2715,7 +2802,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt comment node</TD
></TR
><TR
><TD
@@ -2732,7 +2819,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2743,7 +2830,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1545"
+NAME="AEN1629"
></A
><H3
><A
@@ -2779,11 +2866,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt attribute node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1554"
+NAME="AEN1639"
></A
><P
></P
@@ -2810,7 +2899,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2827,7 +2916,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2844,7 +2933,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt attribute node</TD
></TR
><TR
><TD
@@ -2861,7 +2950,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -2872,7 +2961,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1575"
+NAME="AEN1660"
></A
><H3
><A
@@ -2908,11 +2997,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt processing-instruction node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1584"
+NAME="AEN1670"
></A
><P
></P
@@ -2939,7 +3030,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -2956,7 +3047,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -2973,7 +3064,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt processing-instruction node</TD
></TR
><TR
><TD
@@ -2990,7 +3081,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3001,7 +3092,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1605"
+NAME="AEN1691"
></A
><H3
><A
@@ -3037,11 +3128,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt copy-of node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1614"
+NAME="AEN1701"
></A
><P
></P
@@ -3068,7 +3161,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3085,7 +3178,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3102,7 +3195,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt copy-of node</TD
></TR
><TR
><TD
@@ -3119,7 +3212,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3130,7 +3223,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1635"
+NAME="AEN1722"
></A
><H3
><A
@@ -3166,11 +3259,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt value-of node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1644"
+NAME="AEN1732"
></A
><P
></P
@@ -3197,7 +3292,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3214,7 +3309,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3231,7 +3326,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt value-of node</TD
></TR
><TR
><TD
@@ -3248,7 +3343,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3259,7 +3354,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1665"
+NAME="AEN1753"
></A
><H3
><A
@@ -3295,11 +3390,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt number node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1674"
+NAME="AEN1763"
></A
><P
></P
@@ -3326,7 +3423,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3343,7 +3440,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3360,7 +3457,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt number node</TD
></TR
><TR
><TD
@@ -3377,7 +3474,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3388,7 +3485,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1695"
+NAME="AEN1784"
></A
><H3
><A
@@ -3424,11 +3521,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt apply-imports node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1704"
+NAME="AEN1794"
></A
><P
></P
@@ -3455,7 +3554,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3472,7 +3571,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3489,7 +3588,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt apply-imports node</TD
></TR
><TR
><TD
@@ -3506,7 +3605,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3517,7 +3616,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1725"
+NAME="AEN1815"
></A
><H3
><A
@@ -3553,11 +3652,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt call-template node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1734"
+NAME="AEN1825"
></A
><P
></P
@@ -3584,7 +3685,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3601,7 +3702,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3618,7 +3719,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt call-template node</TD
></TR
><TR
><TD
@@ -3635,7 +3736,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3646,7 +3747,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1755"
+NAME="AEN1846"
></A
><H3
><A
@@ -3682,11 +3783,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the apply-templates node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1764"
+NAME="AEN1856"
></A
><P
></P
@@ -3713,7 +3816,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3730,7 +3833,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3747,7 +3850,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the apply-templates node</TD
></TR
><TR
><TD
@@ -3764,7 +3867,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3775,7 +3878,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1785"
+NAME="AEN1877"
></A
><H3
><A
@@ -3811,11 +3914,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt choose node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1794"
+NAME="AEN1887"
></A
><P
></P
@@ -3842,7 +3947,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3859,7 +3964,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -3876,7 +3981,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt choose node</TD
></TR
><TR
><TD
@@ -3893,7 +3998,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -3904,7 +4009,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1815"
+NAME="AEN1908"
></A
><H3
><A
@@ -3940,11 +4045,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt if node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1824"
+NAME="AEN1918"
></A
><P
></P
@@ -3971,7 +4078,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -3988,7 +4095,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -4005,7 +4112,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt if node</TD
></TR
><TR
><TD
@@ -4022,7 +4129,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -4033,7 +4140,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1845"
+NAME="AEN1939"
></A
><H3
><A
@@ -4069,11 +4176,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
></TR
></TABLE
><P
+>Process the xslt for-each node on the source node</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1854"
+NAME="AEN1949"
></A
><P
></P
@@ -4100,7 +4209,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -4117,7 +4226,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node in the source tree.</TD
></TR
><TR
><TD
@@ -4134,7 +4243,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt for-each node</TD
></TR
><TR
><TD
@@ -4151,7 +4260,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
@@ -4162,7 +4271,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1875"
+NAME="AEN1970"
></A
><H3
><A
@@ -4186,11 +4295,13 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Registers all default XSLT elements in this context</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1881"
+NAME="AEN1977"
></A
><P
></P
@@ -4217,7 +4328,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XPath context</TD
></TR
></TBODY
></TABLE
@@ -4228,7 +4339,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1890"
+NAME="AEN1986"
></A
><H3
><A
@@ -4264,11 +4375,15 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>If either cur or node are a breakpoint, or xslDebugStatus in state
+ where debugging must occcur at this time then transfer control
+ to the xslDebugBreak function</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1899"
+NAME="AEN1996"
></A
><P
></P
@@ -4295,7 +4410,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> source node being executed</TD
></TR
><TR
><TD
@@ -4312,7 +4427,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> data node being processed</TD
></TR
><TR
><TD
@@ -4329,7 +4444,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> temlate that applies to node</TD
></TR
><TR
><TD
@@ -4346,7 +4461,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the xslt transform context </TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-variables.html b/doc/html/libxslt-variables.html
index e8b88c9b..87a05005 100644
--- a/doc/html/libxslt-variables.html
+++ b/doc/html/libxslt-variables.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-VARIABLES"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN4030"
+NAME="AEN4238"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN4030"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN4033"
+NAME="AEN4241"
></A
><H2
>Synopsis</H2
@@ -320,7 +320,7 @@ HREF="XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN4081"
+NAME="AEN4289"
></A
><H2
>Description</H2
@@ -330,14 +330,14 @@ NAME="AEN4081"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN4084"
+NAME="AEN4292"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4086"
+NAME="AEN4294"
></A
><H3
><A
@@ -358,11 +358,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>registering macro, not general purpose at all but used in different modules</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4091"
+NAME="AEN4300"
></A
><P
></P
@@ -400,7 +402,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4100"
+NAME="AEN4309"
></A
><H3
><A
@@ -424,11 +426,14 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Evaluate the global variables of a stylesheet. This need to be
+done on parsed stylesheets before starting to apply transformations</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4106"
+NAME="AEN4316"
></A
><P
></P
@@ -455,7 +460,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -470,7 +475,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of error</TD
></TR
></TBODY
></TABLE
@@ -481,7 +486,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4119"
+NAME="AEN4329"
></A
><H3
><A
@@ -506,11 +511,30 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+>: the XSLT transformation context
+<TT
+CLASS="PARAMETER"
+><I
+>params</I
+></TT
+>: a NULL terminated array of parameters name/value tuples</P
+><P
+>Evaluate the global variables of a stylesheet. This needs to be
+done on parsed stylesheets before starting to apply transformations.
+Each of the parameters is evaluated as an XPath expression and stored
+in the global variables/parameter hash table. If you want your
+parameter used literally, use xsltQuoteUserParams.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4125"
+NAME="AEN4339"
></A
><P
></P
@@ -569,7 +593,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of error</TD
></TR
></TBODY
></TABLE
@@ -580,7 +604,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4142"
+NAME="AEN4356"
></A
><H3
><A
@@ -605,11 +629,28 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+>: the XSLT transformation context
+<TT
+CLASS="PARAMETER"
+><I
+>params</I
+></TT
+>: a NULL terminated arry of parameters names/values tuples</P
+><P
+>Similar to xsltEvalUserParams, but the values are treated literally and
+are * *not* evaluated as XPath expressions. This should be done on parsed
+stylesheets before starting to apply transformations.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4148"
+NAME="AEN4366"
></A
><P
></P
@@ -668,7 +709,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -679,7 +720,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4165"
+NAME="AEN4383"
></A
><H3
><A
@@ -711,11 +752,44 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+>: the XSLT transformation context
+<TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+>: a null terminated string giving the name of the parameter
+<TT
+CLASS="PARAMETER"
+><I
+>value</I
+></TT
+> a null terminated string giving the XPath expression to be evaluated</P
+><P
+>This is normally called from xsltEvalUserParams to process a single
+parameter from a list of parameters. The <TT
+CLASS="PARAMETER"
+><I
+>value</I
+></TT
+> is evaluated as an
+XPath expression and the result is stored in the context's global
+variable/parameter hash table.</P
+><P
+>To have a parameter treated literally (not as an XPath expression)
+use xsltQuoteUserParams (or xsltQuoteOneUserParam). For more
+details see description of xsltProcessOneUserParamInternal.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4173"
+NAME="AEN4398"
></A
><P
></P
@@ -791,7 +865,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -802,7 +876,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4194"
+NAME="AEN4419"
></A
><H3
><A
@@ -834,11 +908,39 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+>: the XSLT transformation context
+<TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+>: a null terminated string giving the name of the parameter
+<TT
+CLASS="PARAMETER"
+><I
+>value</I
+></TT
+> a null terminated string giving the parameter value</P
+><P
+>This is normally called from xsltQuoteUserParams to process a single
+parameter from a list of parameters. The <TT
+CLASS="PARAMETER"
+><I
+>value</I
+></TT
+> is stored in the
+context's global variable/parameter hash table.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4202"
+NAME="AEN4433"
></A
><P
></P
@@ -914,7 +1016,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of error.</TD
></TR
></TBODY
></TABLE
@@ -925,7 +1027,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4223"
+NAME="AEN4454"
></A
><H3
><A
@@ -953,11 +1055,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT transformation variable declaration and record
+its value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4230"
+NAME="AEN4462"
></A
><P
></P
@@ -984,7 +1089,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1001,7 +1106,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the "variable" element</TD
></TR
></TBODY
></TABLE
@@ -1012,7 +1117,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4243"
+NAME="AEN4475"
></A
><H3
><A
@@ -1040,11 +1145,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT transformation param declaration and record
+its value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4250"
+NAME="AEN4483"
></A
><P
></P
@@ -1071,7 +1179,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -1088,7 +1196,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the "param" element</TD
></TR
></TBODY
></TABLE
@@ -1099,7 +1207,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4263"
+NAME="AEN4496"
></A
><H3
><A
@@ -1127,11 +1235,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT transformation variable declaration and record
+its value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4270"
+NAME="AEN4504"
></A
><P
></P
@@ -1158,7 +1269,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1175,7 +1286,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the "variable" element</TD
></TR
></TBODY
></TABLE
@@ -1186,7 +1297,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4283"
+NAME="AEN4517"
></A
><H3
><A
@@ -1214,11 +1325,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT transformation param declaration and record
+its value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4290"
+NAME="AEN4525"
></A
><P
></P
@@ -1245,7 +1359,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1262,7 +1376,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the "param" element</TD
></TR
></TBODY
></TABLE
@@ -1273,7 +1387,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4303"
+NAME="AEN4538"
></A
><H3
><A
@@ -1305,11 +1419,16 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT transformation param declaration, compute
+its value but doesn't record it.</P
+><P
+>It returns the new xsltStackElemPtr or NULL</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4311"
+NAME="AEN4548"
></A
><P
></P
@@ -1336,7 +1455,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1353,7 +1472,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the "param" element</TD
></TR
><TR
><TD
@@ -1379,7 +1498,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4328"
+NAME="AEN4565"
></A
><H3
><A
@@ -1407,11 +1526,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
></TR
></TABLE
><P
+>add the new element list at this level of the stack.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4335"
+NAME="AEN4573"
></A
><P
></P
@@ -1438,7 +1559,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> xn XSLT transformation context</TD
></TR
><TR
><TD
@@ -1455,7 +1576,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a stack element list</TD
></TR
><TR
><TD
@@ -1470,7 +1591,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>0 in case of success, -1 in case of failure.</TD
></TR
></TBODY
></TABLE
@@ -1481,7 +1602,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4352"
+NAME="AEN4590"
></A
><H3
><A
@@ -1505,11 +1626,14 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
></TR
></TABLE
><P
+>Free up the data associated to the global variables
+its value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4358"
+NAME="AEN4597"
></A
><P
></P
@@ -1536,7 +1660,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
></TBODY
></TABLE
@@ -1547,7 +1671,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4367"
+NAME="AEN4606"
></A
><H3
><A
@@ -1582,11 +1706,14 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Search in the Variable array of the context for the given
+variable value.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4376"
+NAME="AEN4616"
></A
><P
></P
@@ -1613,7 +1740,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -1630,7 +1757,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the variable name</TD
></TR
><TR
><TD
@@ -1647,7 +1774,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the variable namespace URI</TD
></TR
><TR
><TD
@@ -1662,7 +1789,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the value or NULL if not found</TD
></TR
></TBODY
></TABLE
@@ -1673,7 +1800,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4397"
+NAME="AEN4637"
></A
><H3
><A
@@ -1705,11 +1832,14 @@ HREF="XMLCHAR"
></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="AEN4405"
+NAME="AEN4646"
></A
><P
></P
@@ -1736,7 +1866,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a void * but the the XSLT transformation context actually</TD
></TR
><TR
><TD
@@ -1753,7 +1883,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the variable name</TD
></TR
><TR
><TD
@@ -1770,7 +1900,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the variable namespace URI</TD
></TR
><TR
><TD
@@ -1785,7 +1915,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the value or NULL if not found</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-xslt.html b/doc/html/libxslt-xslt.html
index 59295deb..86777f4b 100644
--- a/doc/html/libxslt-xslt.html
+++ b/doc/html/libxslt-xslt.html
@@ -215,12 +215,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The default version of XSLT supported</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN53"
+NAME="AEN54"
></A
><H3
><A
@@ -241,12 +243,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The XSLT "vendor" string for this processor</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN58"
+NAME="AEN60"
></A
><H3
><A
@@ -267,12 +271,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The XSLT "vendor" URL for this processor</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN63"
+NAME="AEN66"
></A
><H3
><A
@@ -293,12 +299,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The XSLT specification namespace</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN68"
+NAME="AEN72"
></A
><H3
><A
@@ -319,12 +327,18 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>This macro is needed on Win32 when using MSVC. It enables the client code
+to access exported variables. It should expand to nothing when compiling
+this library itself, but must expand to __declspec(dllimport) when a
+client includes the library header and that only if it links dynamically
+against this library.</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN73"
+NAME="AEN78"
></A
><H3
><A
@@ -345,6 +359,8 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Unregister all global variables set up by the XSLT library</P
+><P
></P
></DIV
></DIV
diff --git a/doc/html/libxslt-xsltinternals.html b/doc/html/libxslt-xsltinternals.html
index 48329357..025ad0c4 100644
--- a/doc/html/libxslt-xsltinternals.html
+++ b/doc/html/libxslt-xsltinternals.html
@@ -111,7 +111,7 @@ NAME="LIBXSLT-XSLTINTERNALS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN4596"
+NAME="AEN4842"
></A
><H2
>Name</H2
@@ -119,7 +119,7 @@ NAME="AEN4596"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN4599"
+NAME="AEN4845"
></A
><H2
>Synopsis</H2
@@ -413,7 +413,7 @@ HREF="XMLNODEPTR"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN4675"
+NAME="AEN4921"
></A
><H2
>Description</H2
@@ -423,14 +423,14 @@ NAME="AEN4675"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN4678"
+NAME="AEN4924"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4680"
+NAME="AEN4926"
></A
><H3
><A
@@ -451,12 +451,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Max number of specified xsl:sort on an element</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4685"
+NAME="AEN4932"
></A
><H3
><A
@@ -477,12 +479,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>specific value for pattern without priority expressed</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4690"
+NAME="AEN4938"
></A
><H3
><A
@@ -521,12 +525,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The in-memory structure corresponding to an XSLT Template</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4695"
+NAME="AEN4944"
></A
><H3
><A
@@ -552,7 +558,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4700"
+NAME="AEN4949"
></A
><H3
><A
@@ -589,12 +595,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Data structure of decimal-format</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4705"
+NAME="AEN4955"
></A
><H3
><A
@@ -620,7 +628,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4710"
+NAME="AEN4960"
></A
><H3
><A
@@ -646,12 +654,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Data structure associated to a parsed document</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4715"
+NAME="AEN4966"
></A
><H3
><A
@@ -677,7 +687,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4720"
+NAME="AEN4971"
></A
><H3
><A
@@ -759,7 +769,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4725"
+NAME="AEN4976"
></A
><H3
><A
@@ -785,7 +795,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4730"
+NAME="AEN4981"
></A
><H3
><A
@@ -814,12 +824,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The in-memory structure corresponding to element precomputed data,
+designed to be extended by extension implementors.</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4735"
+NAME="AEN4987"
></A
><H3
><A
@@ -847,7 +860,7 @@ HREF="TYPEDEF"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4741"
+NAME="AEN4993"
></A
><P
></P
@@ -883,7 +896,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4750"
+NAME="AEN5002"
></A
><H3
><A
@@ -919,11 +932,14 @@ HREF="libxslt-extensions.html#XSLTELEMPRECOMPPTR"
></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="AEN4759"
+NAME="AEN5012"
></A
><P
></P
@@ -950,7 +966,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -967,7 +983,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the input node</TD
></TR
><TR
><TD
@@ -984,7 +1000,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet node</TD
></TR
><TR
><TD
@@ -1001,7 +1017,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the compiled information from the stylesheet</TD
></TR
></TBODY
></TABLE
@@ -1012,7 +1028,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4780"
+NAME="AEN5033"
></A
><H3
><A
@@ -1061,7 +1077,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4785"
+NAME="AEN5038"
></A
><H3
><A
@@ -1085,11 +1101,16 @@ HREF="libxslt-extensions.html#XSLTELEMPRECOMPPTR"
></TR
></TABLE
><P
+>Deallocates an <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+> structure</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4791"
+NAME="AEN5046"
></A
><P
></P
@@ -1116,7 +1137,10 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the <A
+HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
+>xsltElemPreComp</A
+> to free up</TD
></TR
></TBODY
></TABLE
@@ -1127,7 +1151,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4800"
+NAME="AEN5056"
></A
><H3
><A
@@ -1193,12 +1217,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>The in-memory structure corresponding to XSLT stylesheet constructs
+precomputed data.</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4805"
+NAME="AEN5062"
></A
><H3
><A
@@ -1224,7 +1251,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4810"
+NAME="AEN5067"
></A
><H3
><A
@@ -1259,7 +1286,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4815"
+NAME="AEN5072"
></A
><H3
><A
@@ -1285,7 +1312,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4820"
+NAME="AEN5077"
></A
><H3
><A
@@ -1406,7 +1433,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4825"
+NAME="AEN5082"
></A
><H3
><A
@@ -1432,7 +1459,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4830"
+NAME="AEN5087"
></A
><H3
><A
@@ -1462,7 +1489,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4835"
+NAME="AEN5092"
></A
><H3
><A
@@ -1492,7 +1519,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4840"
+NAME="AEN5097"
></A
><H3
><A
@@ -1513,12 +1540,15 @@ CLASS="PROGRAMLISTING"
></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="AEN4845"
+NAME="AEN5103"
></A
><H3
><A
@@ -1539,12 +1569,15 @@ CLASS="PROGRAMLISTING"
></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="AEN4850"
+NAME="AEN5109"
></A
><H3
><A
@@ -1565,12 +1598,15 @@ CLASS="PROGRAMLISTING"
></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="AEN4855"
+NAME="AEN5115"
></A
><H3
><A
@@ -1594,11 +1630,13 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Create a new XSLT Stylesheet</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4861"
+NAME="AEN5122"
></A
><P
></P
@@ -1623,7 +1661,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the newly allocated xsltStylesheetPtr or NULL in case of error</TD
></TR
></TBODY
></TABLE
@@ -1634,7 +1672,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4870"
+NAME="AEN5131"
></A
><H3
><A
@@ -1661,11 +1699,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Load and parse an XSLT stylesheet</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4877"
+NAME="AEN5139"
></A
><P
></P
@@ -1692,7 +1732,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the filename/URL to the stylesheet</TD
></TR
><TR
><TD
@@ -1707,7 +1747,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>a new XSLT stylesheet structure.</TD
></TR
></TBODY
></TABLE
@@ -1718,7 +1758,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4890"
+NAME="AEN5152"
></A
><H3
><A
@@ -1742,11 +1782,18 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Free up the memory allocated by <TT
+CLASS="PARAMETER"
+><I
+>sheet</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4896"
+NAME="AEN5160"
></A
><P
></P
@@ -1773,7 +1820,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stylesheet</TD
></TR
></TBODY
></TABLE
@@ -1784,7 +1831,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4905"
+NAME="AEN5169"
></A
><H3
><A
@@ -1808,11 +1855,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Check if a string is ignorable</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4911"
+NAME="AEN5176"
></A
><P
></P
@@ -1839,7 +1888,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a string</TD
></TR
><TR
><TD
@@ -1854,7 +1903,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>1 if the string is NULL or made of blanks chars, 0 otherwise</TD
></TR
></TBODY
></TABLE
@@ -1865,7 +1914,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4924"
+NAME="AEN5189"
></A
><H3
><A
@@ -1889,11 +1938,18 @@ HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
></TR
></TABLE
><P
+>Free up the memory allocated by <TT
+CLASS="PARAMETER"
+><I
+>elem</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4930"
+NAME="AEN5197"
></A
><P
></P
@@ -1920,7 +1976,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT stack element</TD
></TR
></TBODY
></TABLE
@@ -1931,7 +1987,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4939"
+NAME="AEN5206"
></A
><H3
><A
@@ -1963,11 +2019,13 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Find decimal-format by name</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4947"
+NAME="AEN5215"
></A
><P
></P
@@ -1994,7 +2052,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -2011,7 +2069,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the decimal-format name to find</TD
></TR
><TR
><TD
@@ -2037,7 +2095,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4964"
+NAME="AEN5232"
></A
><H3
><A
@@ -2069,11 +2127,13 @@ HREF="XMLDOCPTR"
></TR
></TABLE
><P
+>parse an XSLT stylesheet adding the associated structures</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4972"
+NAME="AEN5241"
></A
><P
></P
@@ -2100,7 +2160,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -2117,7 +2177,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> and xmlDoc parsed XML</TD
></TR
><TR
><TD
@@ -2132,7 +2192,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>a new XSLT stylesheet structure.</TD
></TR
></TBODY
></TABLE
@@ -2143,7 +2203,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN4989"
+NAME="AEN5258"
></A
><H3
><A
@@ -2171,11 +2231,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse an XSLT stylesheet output element and record
+information related to the stylesheet output</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN4996"
+NAME="AEN5266"
></A
><P
></P
@@ -2202,7 +2265,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -2219,7 +2282,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the "output" element</TD
></TR
></TBODY
></TABLE
@@ -2230,7 +2293,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5009"
+NAME="AEN5279"
></A
><H3
><A
@@ -2257,11 +2320,13 @@ HREF="XMLDOCPTR"
></TR
></TABLE
><P
+>parse an XSLT stylesheet building the associated structures</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN5016"
+NAME="AEN5287"
></A
><P
></P
@@ -2288,7 +2353,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> and xmlDoc parsed XML</TD
></TR
><TR
><TD
@@ -2303,7 +2368,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>a new XSLT stylesheet structure.</TD
></TR
></TBODY
></TABLE
@@ -2314,7 +2379,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5029"
+NAME="AEN5300"
></A
><H3
><A
@@ -2341,11 +2406,24 @@ HREF="XMLDOCPTR"
></TR
></TABLE
><P
+>This function tries to locate the stylesheet PI in the given document
+If found, and if contained within the document, it will extract
+that subtree to build the stylesheet to process <TT
+CLASS="PARAMETER"
+><I
+>doc</I
+></TT
+> (doc itself will
+be modified). If found but referencing an external document it will
+attempt to load it and generate a stylesheet from it. In both cases,
+the resulting stylesheet and the document need to be freed once the
+transformation is done.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN5036"
+NAME="AEN5309"
></A
><P
></P
@@ -2387,7 +2465,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>a new XSLT stylesheet structure or NULL if not found.</TD
></TR
></TBODY
></TABLE
@@ -2398,7 +2476,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5049"
+NAME="AEN5322"
></A
><H3
><A
@@ -2430,11 +2508,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Convert one number.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN5057"
+NAME="AEN5331"
></A
><P
></P
@@ -2461,7 +2541,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT transformation context</TD
></TR
><TR
><TD
@@ -2478,7 +2558,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the formatting informations</TD
></TR
><TR
><TD
@@ -2495,7 +2575,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the data to format</TD
></TR
></TBODY
></TABLE
@@ -2506,7 +2586,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5074"
+NAME="AEN5348"
></A
><H3
><A
@@ -2545,11 +2625,47 @@ 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="AEN5084"
+NAME="AEN5366"
></A
><P
></P
@@ -2576,7 +2692,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the decimal format</TD
></TR
><TR
><TD
@@ -2593,7 +2709,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the format requested</TD
></TR
><TR
><TD
@@ -2610,7 +2726,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the value to format</TD
></TR
><TR
><TD
@@ -2627,7 +2743,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the place to ouput the result</TD
></TR
><TR
><TD
@@ -2653,7 +2769,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN5109"
+NAME="AEN5391"
></A
><H3
><A
@@ -2681,11 +2797,15 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>parse a template content-model
+Clean-up the template content from unwanted ignorable blank nodes
+and process xslt:text</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN5116"
+NAME="AEN5399"
></A
><P
></P
@@ -2712,7 +2832,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the XSLT stylesheet</TD
></TR
><TR
><TD
@@ -2729,7 +2849,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the container node (can be a document for literal results)</TD
></TR
></TBODY
></TABLE
diff --git a/doc/html/libxslt-xsltutils.html b/doc/html/libxslt-xsltutils.html
index b4dbed48..fd36caa2 100644
--- a/doc/html/libxslt-xsltutils.html
+++ b/doc/html/libxslt-xsltutils.html
@@ -123,7 +123,7 @@ NAME="LIBXSLT-XSLTUTILS"
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN1925"
+NAME="AEN2022"
></A
><H2
>Name</H2
@@ -131,7 +131,7 @@ NAME="AEN1925"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN1928"
+NAME="AEN2025"
></A
><H2
>Synopsis</H2
@@ -412,7 +412,7 @@ HREF="libxslt-xsltutils.html#XSLDROPCALL"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1999"
+NAME="AEN2096"
></A
><H2
>Description</H2
@@ -422,14 +422,14 @@ NAME="AEN1999"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2002"
+NAME="AEN2099"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2004"
+NAME="AEN2101"
></A
><H3
><A
@@ -455,7 +455,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2009"
+NAME="AEN2106"
></A
><H3
><A
@@ -481,7 +481,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2014"
+NAME="AEN2111"
></A
><H3
><A
@@ -502,11 +502,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Checks that the element pertains to XSLt namespace</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2019"
+NAME="AEN2117"
></A
><P
></P
@@ -544,7 +546,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2028"
+NAME="AEN2126"
></A
><H3
><A
@@ -565,11 +567,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Checks the value of an element in XSLT namespace</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2033"
+NAME="AEN2132"
></A
><P
></P
@@ -624,7 +628,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2046"
+NAME="AEN2145"
></A
><H3
><A
@@ -645,11 +649,13 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>check that a node is a 'real' one: document, element, text or attribute</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2051"
+NAME="AEN2151"
></A
><P
></P
@@ -687,7 +693,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2060"
+NAME="AEN2160"
></A
><H3
><A
@@ -722,11 +728,27 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>Similar to <GTKDOCLINK
+HREF="XMLGETNSPROP"
+>xmlGetNsProp</GTKDOCLINK
+>() but with a slightly different semantic</P
+><P
+>Search and get the value of an attribute associated to a node
+This attribute has to be anchored in the namespace specified,
+or has no namespace and the element is in that namespace.</P
+><P
+>This does the entity substitution.
+This function looks in DTD attribute declaration for <GTKDOCLINK
+HREF="FIXED-CAPS"
+>FIXED</GTKDOCLINK
+> or
+default declaration values unless DTD use has been turned off.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2069"
+NAME="AEN2174"
></A
><P
></P
@@ -753,7 +775,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node</TD
></TR
><TR
><TD
@@ -770,7 +792,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the attribute name</TD
></TR
><TR
><TD
@@ -787,7 +809,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the URI of the namespace</TD
></TR
><TR
><TD
@@ -802,7 +824,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the attribute value or NULL if not found.
+ It's up to the caller to free the memory.</TD
></TR
></TBODY
></TABLE
@@ -813,7 +836,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2090"
+NAME="AEN2195"
></A
><H3
><A
@@ -845,11 +868,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Display the context of an error.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2098"
+NAME="AEN2204"
></A
><P
></P
@@ -876,7 +901,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the transformation context</TD
></TR
><TR
><TD
@@ -893,7 +918,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -910,7 +935,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the current node being processed</TD
></TR
></TBODY
></TABLE
@@ -921,7 +946,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2115"
+NAME="AEN2221"
></A
><H3
><A
@@ -953,11 +978,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Process and xsl:message construct</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2123"
+NAME="AEN2230"
></A
><P
></P
@@ -984,7 +1011,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT processing context</TD
></TR
><TR
><TD
@@ -1001,7 +1028,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> The current node</TD
></TR
><TR
><TD
@@ -1018,7 +1045,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> The node containing the message instruction</TD
></TR
></TBODY
></TABLE
@@ -1029,7 +1056,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2140"
+NAME="AEN2247"
></A
><H3
><A
@@ -1054,11 +1081,44 @@ HREF="XMLGENERICERRORFUNC"
></TR
></TABLE
><P
+>Function to reset the handler and the error context for out of
+context error messages.
+This simply means that <TT
+CLASS="PARAMETER"
+><I
+>handler</I
+></TT
+> will be called for subsequent
+error messages while not parsing nor validating. And <TT
+CLASS="PARAMETER"
+><I
+>ctx</I
+></TT
+> will
+be passed as first argument to <TT
+CLASS="PARAMETER"
+><I
+>handler</I
+></TT
+>
+One can simply force messages to be emitted to another FILE * than
+stderr by setting <TT
+CLASS="PARAMETER"
+><I
+>ctx</I
+></TT
+> to this file handle and <TT
+CLASS="PARAMETER"
+><I
+>handler</I
+></TT
+> to NULL.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2146"
+NAME="AEN2259"
></A
><P
></P
@@ -1085,7 +1145,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the new error handling context</TD
></TR
><TR
><TD
@@ -1102,7 +1162,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the new handler function</TD
></TR
></TBODY
></TABLE
@@ -1113,7 +1173,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2159"
+NAME="AEN2272"
></A
><H3
><A
@@ -1138,11 +1198,44 @@ HREF="XMLGENERICERRORFUNC"
></TR
></TABLE
><P
+>Function to reset the handler and the error context for out of
+context error messages.
+This simply means that <TT
+CLASS="PARAMETER"
+><I
+>handler</I
+></TT
+> will be called for subsequent
+error messages while not parsing or validating. And <TT
+CLASS="PARAMETER"
+><I
+>ctx</I
+></TT
+> will
+be passed as first argument to <TT
+CLASS="PARAMETER"
+><I
+>handler</I
+></TT
+>
+One can simply force messages to be emitted to another FILE * than
+stderr by setting <TT
+CLASS="PARAMETER"
+><I
+>ctx</I
+></TT
+> to this file handle and <TT
+CLASS="PARAMETER"
+><I
+>handler</I
+></TT
+> to NULL.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2165"
+NAME="AEN2284"
></A
><P
></P
@@ -1169,7 +1262,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the new error handling context</TD
></TR
><TR
><TD
@@ -1186,7 +1279,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the new handler function</TD
></TR
></TBODY
></TABLE
@@ -1197,7 +1290,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2178"
+NAME="AEN2297"
></A
><H3
><A
@@ -1221,11 +1314,18 @@ HREF="XMLNODESETPTR"
></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"
><A
-NAME="AEN2184"
+NAME="AEN2305"
></A
><P
></P
@@ -1252,7 +1352,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node set</TD
></TR
></TBODY
></TABLE
@@ -1263,7 +1363,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2193"
+NAME="AEN2314"
></A
><H3
><A
@@ -1292,11 +1392,14 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>reorder the current node list accordingly to the set of sorting
+requirement provided by the arry of nodes.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2200"
+NAME="AEN2322"
></A
><P
></P
@@ -1323,7 +1426,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a XSLT process context</TD
></TR
><TR
><TD
@@ -1340,7 +1443,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> array of sort nodes</TD
></TR
><TR
><TD
@@ -1357,7 +1460,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the number of sorts in the array</TD
></TR
></TBODY
></TABLE
@@ -1368,7 +1471,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2217"
+NAME="AEN2339"
></A
><H3
><A
@@ -1399,11 +1502,35 @@ HREF="XMLCHAR"
></TR
></TABLE
><P
+>This function analyzes <TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+>, if the name contains a prefix,
+the function seaches the associated namespace in scope for it.
+It will also replace <TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+> value with the NCName, the old value being
+freed.
+Errors in the prefix lookup are signalled by setting <TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+> to NULL.</P
+><P
+>NOTE: the namespace returned is a pointer to the place where it is
+ defined and hence has the same lifespan as the document holding it.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2225"
+NAME="AEN2352"
></A
><P
></P
@@ -1430,7 +1557,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the node holding the QName</TD
></TR
><TR
><TD
@@ -1447,7 +1574,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> pointer to the initial QName value</TD
></TR
><TR
><TD
@@ -1462,7 +1589,13 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the namespace URI if there is a prefix, or NULL if <TT
+CLASS="PARAMETER"
+><I
+>name</I
+></TT
+> is
+ not prefixed.</TD
></TR
></TBODY
></TABLE
@@ -1473,7 +1606,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2242"
+NAME="AEN2370"
></A
><H3
><A
@@ -1505,11 +1638,29 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Save the result <TT
+CLASS="PARAMETER"
+><I
+>result</I
+></TT
+> obtained by applying the <TT
+CLASS="PARAMETER"
+><I
+>style</I
+></TT
+> stylesheet
+to an I/O output channel <TT
+CLASS="PARAMETER"
+><I
+>buf</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2250"
+NAME="AEN2382"
></A
><P
></P
@@ -1536,7 +1687,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an output buffer</TD
></TR
><TR
><TD
@@ -1553,7 +1704,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the result xmlDocPtr</TD
></TR
><TR
><TD
@@ -1570,7 +1721,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -1585,7 +1736,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of byte written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
@@ -1596,7 +1747,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2271"
+NAME="AEN2403"
></A
><H3
><A
@@ -1626,11 +1777,29 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Save the result <TT
+CLASS="PARAMETER"
+><I
+>result</I
+></TT
+> obtained by applying the <TT
+CLASS="PARAMETER"
+><I
+>style</I
+></TT
+> stylesheet
+to a file or URL <TT
+CLASS="PARAMETER"
+><I
+>URL</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2278"
+NAME="AEN2414"
></A
><P
></P
@@ -1674,7 +1843,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the result xmlDocPtr</TD
></TR
><TR
><TD
@@ -1691,7 +1860,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -1708,7 +1877,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the compression factor (0 - 9 included)</TD
></TR
><TR
><TD
@@ -1723,7 +1892,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of byte written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
@@ -1734,7 +1903,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2303"
+NAME="AEN2439"
></A
><H3
><A
@@ -1766,11 +1935,30 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Save the result <TT
+CLASS="PARAMETER"
+><I
+>result</I
+></TT
+> obtained by applying the <TT
+CLASS="PARAMETER"
+><I
+>style</I
+></TT
+> stylesheet
+to an open FILE * I/O.
+This does not close the FILE <TT
+CLASS="PARAMETER"
+><I
+>file</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2311"
+NAME="AEN2451"
></A
><P
></P
@@ -1797,7 +1985,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a FILE * I/O</TD
></TR
><TR
><TD
@@ -1814,7 +2002,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the result xmlDocPtr</TD
></TR
><TR
><TD
@@ -1831,7 +2019,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -1846,7 +2034,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of bytes written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
@@ -1857,7 +2045,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2332"
+NAME="AEN2472"
></A
><H3
><A
@@ -1886,11 +2074,25 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
></TR
></TABLE
><P
+>Save the result <TT
+CLASS="PARAMETER"
+><I
+>result</I
+></TT
+> obtained by applying the <TT
+CLASS="PARAMETER"
+><I
+>style</I
+></TT
+> stylesheet
+to an open file descriptor
+This does not close the descriptor.</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2339"
+NAME="AEN2482"
></A
><P
></P
@@ -1917,7 +2119,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a file descriptor</TD
></TR
><TR
><TD
@@ -1934,7 +2136,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the result xmlDocPtr</TD
></TR
><TR
><TD
@@ -1951,7 +2153,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the stylesheet</TD
></TR
><TR
><TD
@@ -1966,7 +2168,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of bytes written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
@@ -1977,7 +2179,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2360"
+NAME="AEN2503"
></A
><H3
><A
@@ -2005,11 +2207,18 @@ HREF="FILE-CAPS"
></TR
></TABLE
><P
+>Save the profiling informations on <TT
+CLASS="PARAMETER"
+><I
+>output</I
+></TT
+></P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2367"
+NAME="AEN2512"
></A
><P
></P
@@ -2036,7 +2245,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> an XSLT context</TD
></TR
><TR
><TD
@@ -2053,7 +2262,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> a FILE * for saving the informations</TD
></TR
></TBODY
></TABLE
@@ -2064,7 +2273,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2380"
+NAME="AEN2525"
></A
><H3
><A
@@ -2088,11 +2297,13 @@ HREF="LONG"
></TR
></TABLE
><P
+>Used for gathering profiling data</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2386"
+NAME="AEN2532"
></A
><P
></P
@@ -2117,7 +2328,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>the number of tenth of milliseconds since the beginning of the
+profiling</TD
></TR
></TBODY
></TABLE
@@ -2128,7 +2340,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2395"
+NAME="AEN2541"
></A
><H3
><A
@@ -2152,11 +2364,16 @@ HREF="LONG-DELTA"
></TR
></TABLE
><P
+>Used for to correct the calibration for <A
+HREF="libxslt-xsltutils.html#XSLTTIMESTAMP"
+>xsltTimestamp</A
+>()</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2401"
+NAME="AEN2549"
></A
><P
></P
@@ -2194,7 +2411,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2410"
+NAME="AEN2558"
></A
><H3
><A
@@ -2220,7 +2437,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2415"
+NAME="AEN2563"
></A
><H3
><A
@@ -2257,7 +2474,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2420"
+NAME="AEN2568"
></A
><H3
><A
@@ -2297,7 +2514,7 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2429"
+NAME="AEN2577"
></A
><P
></P
@@ -2386,7 +2603,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2450"
+NAME="AEN2598"
></A
><H3
><A
@@ -2418,7 +2635,7 @@ HREF="XMLNODEPTR"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2457"
+NAME="AEN2605"
></A
><P
></P
@@ -2488,7 +2705,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2474"
+NAME="AEN2622"
></A
><H3
><A
@@ -2514,7 +2731,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2479"
+NAME="AEN2627"
></A
><H3
><A
@@ -2540,7 +2757,7 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2484"
+NAME="AEN2632"
></A
><P
></P
@@ -2610,7 +2827,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2501"
+NAME="AEN2649"
></A
><H3
><A
@@ -2638,11 +2855,13 @@ HREF="XMLNODEPTR"
></TR
></TABLE
><P
+>Add template "call" to call stack</P
+><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2508"
+NAME="AEN2657"
></A
><P
></P
@@ -2669,7 +2888,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> current template being applied</TD
></TR
><TR
><TD
@@ -2686,7 +2905,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+> the source node being processed</TD
></TR
><TR
><TD
@@ -2701,7 +2920,8 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->&nbsp;</TD
+>: 1 on sucess 0 otherwise an error may be printed if
+ WITH_XSLT_DEBUG_BREAKPOINTS is defined</TD
></TR
></TBODY
></TABLE
@@ -2712,7 +2932,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2525"
+NAME="AEN2674"
></A
><H3
><A
@@ -2733,6 +2953,8 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
+>Drop the topmost item off the call stack</P
+><P
></P
></DIV
></DIV