+Tue Jul 10 18:03:36 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * configure.in libxslt/xsltwin32config.h: releaseing 1.0.0
+ * win32/libxslt/libxslt.def: added another entry point
+ * libxslt/transform.c: fixed a comment block
+ * doc/xslt.html doc/html/*: updated and regenerated the docs
+
Tue Jul 10 17:25:59 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* win32/libxslt/libxslt.def: added missing functions
AC_INIT(libxslt/xslt.c)
-LIBXSLT_MAJOR_VERSION=0
-LIBXSLT_MINOR_VERSION=14
+LIBXSLT_MAJOR_VERSION=1
+LIBXSLT_MINOR_VERSION=0
LIBXSLT_MICRO_VERSION=0
PACKAGE=libxslt
dnl find libxml
dnl
XML_CONFIG="xml2-config"
-LIBXML_REQUIRED_VERSION=2.3.14
+LIBXML_REQUIRED_VERSION=2.4.0
AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
if test "x$LIBXML_PREFIX" != "x"
then
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2154"
+NAME="AEN2262"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2157"
+NAME="AEN2265"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2170"
+NAME="AEN2278"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2173"
+NAME="AEN2281"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2175"
+NAME="AEN2283"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2183"
+NAME="AEN2291"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2196"
+NAME="AEN2304"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2203"
+NAME="AEN2311"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2212"
+NAME="AEN2320"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2222"
+NAME="AEN2330"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2248"
+NAME="AEN2356"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2251"
+NAME="AEN2359"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2273"
+NAME="AEN2381"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2276"
+NAME="AEN2384"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2278"
+NAME="AEN2386"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2284"
+NAME="AEN2392"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2301"
+NAME="AEN2409"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2307"
+NAME="AEN2415"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2324"
+NAME="AEN2432"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2332"
+NAME="AEN2440"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2345"
+NAME="AEN2453"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2353"
+NAME="AEN2461"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2366"
+NAME="AEN2474"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2374"
+NAME="AEN2482"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2387"
+NAME="AEN2495"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2395"
+NAME="AEN2503"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2412"
+NAME="AEN2520"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2422"
+NAME="AEN2530"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2993"
+NAME="AEN3101"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2996"
+NAME="AEN3104"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3019"
+NAME="AEN3127"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3022"
+NAME="AEN3130"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3024"
+NAME="AEN3132"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3036"
+NAME="AEN3144"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3069"
+NAME="AEN3177"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3080"
+NAME="AEN3188"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3105"
+NAME="AEN3213"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3113"
+NAME="AEN3221"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3126"
+NAME="AEN3234"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3133"
+NAME="AEN3241"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3142"
+NAME="AEN3250"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3149"
+NAME="AEN3257"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2448"
+NAME="AEN2556"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2451"
+NAME="AEN2559"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2482"
+NAME="AEN2590"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2485"
+NAME="AEN2593"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2487"
+NAME="AEN2595"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2495"
+NAME="AEN2603"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2508"
+NAME="AEN2616"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2519"
+NAME="AEN2627"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2544"
+NAME="AEN2652"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2556"
+NAME="AEN2664"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2585"
+NAME="AEN2693"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2596"
+NAME="AEN2704"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2617"
+NAME="AEN2725"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2628"
+NAME="AEN2736"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2649"
+NAME="AEN2757"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2656"
+NAME="AEN2764"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN3645"
+NAME="AEN3778"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN3648"
+NAME="AEN3781"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3661"
+NAME="AEN3794"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3664"
+NAME="AEN3797"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3666"
+NAME="AEN3799"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3676"
+NAME="AEN3809"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3701"
+NAME="AEN3834"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3709"
+NAME="AEN3842"
></A
><P
></P
>style</I
></TT
> is non-NULL
-it means one need to look for the next imported template in scope.</P
+it means one needs to look for the next imported template in scope.</P
><P
></P
><DIV
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the node being processed</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the namespaces in scope
-<TT
-CLASS="PARAMETER"
-><I
->int</I
-></TT
-> nsNr: the number of namespaces in scope</TD
+> the namespaces in scope</TD
></TR
><TR
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the number of namespaces in scope</TD
></TR
><TR
><TD
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN677"
+NAME="AEN676"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN687"
+NAME="AEN686"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN708"
+NAME="AEN707"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN719"
+NAME="AEN718"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN744"
+NAME="AEN743"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN755"
+NAME="AEN754"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the attribute namespace URI</TD
></TR
><TR
><TD
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN784"
+NAME="AEN783"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN793"
+NAME="AEN792"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN810"
+NAME="AEN809"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN819"
+NAME="AEN818"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN836"
+NAME="AEN835"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN846"
+NAME="AEN845"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN867"
+NAME="AEN866"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN877"
+NAME="AEN876"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN898"
+NAME="AEN897"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN907"
+NAME="AEN906"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN929"
+NAME="AEN928"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN932"
+NAME="AEN931"
></A
><H2
>Synopsis</H2
>xmlDocPtr</GTKDOCLINK
> doc,
const char **params);
+<GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> <A
+HREF="libxslt-transform.html#XSLTPROFILESTYLESHEET"
+>xsltProfileStylesheet</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</A
+> style,
+ <GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc,
+ const char **params,
+ <GTKDOCLINK
+HREF="FILE-CAPS"
+>FILE</GTKDOCLINK
+> *output);
int <A
HREF="libxslt-transform.html#XSLTRUNSTYLESHEET"
>xsltRunStylesheet</A
HREF="XMLNODEPTR"
>xmlNodePtr</GTKDOCLINK
> list,
- int real);
+ <A
+HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
+>xsltTemplatePtr</A
+> templ,
+ <A
+HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
+>xsltStackElemPtr</A
+> params);
void <A
HREF="libxslt-transform.html#XSLTDOCUMENTELEM"
>xsltDocumentElem</A
<A
HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
>xsltStylePreCompPtr</A
-> comp);</PRE
+> comp);
+void <A
+HREF="libxslt-transform.html#XSLTREGISTERALLELEMENT"
+>xsltRegisterAllElement</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt);</PRE
></TD
></TR
></TABLE
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1035"
+NAME="AEN1043"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1038"
+NAME="AEN1046"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1040"
+NAME="AEN1048"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1046"
+NAME="AEN1054"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1055"
+NAME="AEN1063"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1061"
+NAME="AEN1069"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1070"
+NAME="AEN1078"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1079"
+NAME="AEN1087"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1100"
+NAME="AEN1108"
+></A
+><H3
+><A
+NAME="XSLTPROFILESTYLESHEET"
+></A
+>xsltProfileStylesheet ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> xsltProfileStylesheet (<A
+HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</A
+> style,
+ <GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc,
+ const char **params,
+ <GTKDOCLINK
+HREF="FILE-CAPS"
+>FILE</GTKDOCLINK
+> *output);</PRE
+></TD
+></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="AEN1118"
+></A
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TBODY
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>style</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a parsed XSLT stylesheet</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>doc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a parsed XML document</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>params</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a NULL terminated arry of parameters names/values tuples</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>output</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a FILE * for the profiling output</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>the result document or NULL in case of error</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1143"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1116"
+NAME="AEN1159"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1149"
+NAME="AEN1192"
></A
><H3
><A
HREF="XMLNODEPTR"
>xmlNodePtr</GTKDOCLINK
> list,
- int real);</PRE
+ <A
+HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
+>xsltTemplatePtr</A
+> templ,
+ <A
+HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
+>xsltStackElemPtr</A
+> params);</PRE
></TD
></TR
></TABLE
><P
->Process the apply-templates node on the source node</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="AEN1158"
+NAME="AEN1203"
></A
><P
></P
><TT
CLASS="PARAMETER"
><I
->real</I
+>templ</I
></TT
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> is this a real template processing</TD
+> if is this a real template processing, the template processed</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>params</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a set of parameters for the template or NULL</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1179"
+NAME="AEN1228"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1189"
+NAME="AEN1238"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1210"
+NAME="AEN1259"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1220"
+NAME="AEN1269"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1241"
+NAME="AEN1290"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1251"
+NAME="AEN1300"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1272"
+NAME="AEN1321"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1282"
+NAME="AEN1331"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1303"
+NAME="AEN1352"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1313"
+NAME="AEN1362"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1334"
+NAME="AEN1383"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1344"
+NAME="AEN1393"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1365"
+NAME="AEN1414"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1375"
+NAME="AEN1424"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1396"
+NAME="AEN1445"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1406"
+NAME="AEN1455"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1427"
+NAME="AEN1476"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1437"
+NAME="AEN1486"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1458"
+NAME="AEN1507"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1468"
+NAME="AEN1517"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1489"
+NAME="AEN1538"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1499"
+NAME="AEN1548"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1520"
+NAME="AEN1569"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1530"
+NAME="AEN1579"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1551"
+NAME="AEN1600"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1561"
+NAME="AEN1610"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1582"
+NAME="AEN1631"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1592"
+NAME="AEN1641"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1613"
+NAME="AEN1662"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1623"
+NAME="AEN1672"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1644"
+NAME="AEN1693"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1654"
+NAME="AEN1703"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1675"
+NAME="AEN1724"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1685"
+NAME="AEN1734"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> precomputed informations</TD
+> precomputed information</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1755"
+></A
+><H3
+><A
+NAME="XSLTREGISTERALLELEMENT"
+></A
+>xsltRegisterAllElement ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltRegisterAllElement (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Registers all default XSLT elements in this context</P
+><P
+></P
+><DIV
+CLASS="INFORMALTABLE"
+><A
+NAME="AEN1762"
+></A
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TBODY
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the XPath context</TD
></TR
></TBODY
></TABLE
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN2670"
+NAME="AEN2778"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN2673"
+NAME="AEN2781"
></A
><H2
>Synopsis</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2711"
+NAME="AEN2819"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN2714"
+NAME="AEN2822"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2716"
+NAME="AEN2824"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2722"
+NAME="AEN2830"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2731"
+NAME="AEN2839"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2738"
+NAME="AEN2846"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2751"
+NAME="AEN2859"
></A
><H3
><A
></TR
></TABLE
><P
->Evaluate the global variables of a stylesheet. This need to be
+>Evaluate the global variables of a stylesheet. This needs to be
done on parsed stylesheets before starting to apply transformations</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2758"
+NAME="AEN2866"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2775"
+NAME="AEN2883"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2783"
+NAME="AEN2891"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2796"
+NAME="AEN2904"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2804"
+NAME="AEN2912"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2817"
+NAME="AEN2925"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2825"
+NAME="AEN2933"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2838"
+NAME="AEN2946"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2846"
+NAME="AEN2954"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2859"
+NAME="AEN2967"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2869"
+NAME="AEN2977"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2886"
+NAME="AEN2994"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2894"
+NAME="AEN3002"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2911"
+NAME="AEN3019"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2918"
+NAME="AEN3026"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2927"
+NAME="AEN3035"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2937"
+NAME="AEN3045"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2958"
+NAME="AEN3066"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2967"
+NAME="AEN3075"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN3163"
+NAME="AEN3271"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN3166"
+NAME="AEN3274"
></A
><H2
>Synopsis</H2
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> doc);
+<A
+HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</A
+> <A
+HREF="libxslt-xsltinternals.html#XSLTLOADSTYLESHEETPI"
+>xsltLoadStylesheetPI</A
+> (<GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc);
void <A
HREF="libxslt-xsltinternals.html#XSLTNUMBERFORMAT"
>xsltNumberFormat</A
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3231"
+NAME="AEN3342"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN3234"
+NAME="AEN3345"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3236"
+NAME="AEN3347"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3242"
+NAME="AEN3353"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3248"
+NAME="AEN3359"
></A
><H3
><A
xmlChar *modeURI; /* the URI part of the mode QName */
xmlNodePtr content; /* the template replacement value */
xmlNodePtr elem; /* the source element */
+
+ int inheritedNsNr; /* number of inherited namespaces */
+ xmlNsPtr *inheritedNs;/* inherited non-excluded namespaces */
+
+ /* Profiling informations */
+ int nbCalls; /* the number of time the template was called */
+ unsigned long time; /* the time spent in this template */
};</PRE
></TD
></TR
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3254"
+NAME="AEN3365"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3259"
+NAME="AEN3370"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3265"
+NAME="AEN3376"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3270"
+NAME="AEN3381"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3276"
+NAME="AEN3387"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3281"
+NAME="AEN3392"
></A
><H3
><A
int varsNr; /* Nb of variable list in the stack */
int varsMax; /* Size of the variable list stack */
xsltStackElemPtr *varsTab; /* the variable list stack */
+ int varsBase; /* the var base for current templ */
/*
* Extensions
int xinclude; /* should XInclude be processed */
const char * outputFile; /* the output URI if known */
+
+ int profile; /* is this run profiled */
+ long prof; /* the current profiled value */
+ int profNr; /* Nb of templates in the stack */
+ int profMax; /* Size of the templtaes stack */
+ long *profTab; /* the profile template stack */
};</PRE
></TD
></TR
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3286"
+NAME="AEN3397"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3291"
+NAME="AEN3402"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3297"
+NAME="AEN3408"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3302"
+NAME="AEN3413"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3312"
+NAME="AEN3423"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3333"
+NAME="AEN3444"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3338"
+NAME="AEN3449"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3343"
+NAME="AEN3454"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3348"
+NAME="AEN3459"
></A
><H3
><A
int warnings; /* number of warnings found at compilation */
int errors; /* number of errors found at compilation */
- xmlChar *exclPrefix; /* array of excluded prefixes */
+ xmlChar *exclPrefix; /* last excluded prefixes */
xmlChar **exclPrefixTab; /* array of excluded prefixes */
int exclPrefixNr; /* number of excluded prefixes in scope */
int exclPrefixMax; /* size of the array */
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3353"
+NAME="AEN3464"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3358"
+NAME="AEN3469"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3363"
+NAME="AEN3474"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3368"
+NAME="AEN3479"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3374"
+NAME="AEN3485"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3380"
+NAME="AEN3491"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3386"
+NAME="AEN3497"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3393"
+NAME="AEN3504"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3402"
+NAME="AEN3513"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3410"
+NAME="AEN3521"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3423"
+NAME="AEN3534"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3431"
+NAME="AEN3542"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3440"
+NAME="AEN3551"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3447"
+NAME="AEN3558"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3460"
+NAME="AEN3571"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3468"
+NAME="AEN3579"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3477"
+NAME="AEN3588"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3486"
+NAME="AEN3597"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3503"
+NAME="AEN3614"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3512"
+NAME="AEN3623"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3529"
+NAME="AEN3640"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3537"
+NAME="AEN3648"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the "output" element</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3550"
+NAME="AEN3661"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3558"
+NAME="AEN3669"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3571"
+NAME="AEN3682"
+></A
+><H3
+><A
+NAME="XSLTLOADSTYLESHEETPI"
+></A
+>xsltLoadStylesheetPI ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><A
+HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
+>xsltStylesheetPtr</A
+> xsltLoadStylesheetPI (<GTKDOCLINK
+HREF="XMLDOCPTR"
+>xmlDocPtr</GTKDOCLINK
+> doc);</PRE
+></TD
+></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="AEN3691"
+></A
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TBODY
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>doc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> </TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>a new XSLT stylesheet structure or NULL if not found.</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN3704"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3580"
+NAME="AEN3713"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN3597"
+NAME="AEN3730"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN3615"
+NAME="AEN3748"
></A
><P
></P
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN1711"
+NAME="AEN1776"
></A
><H2
>Name</H2
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN1714"
+NAME="AEN1779"
></A
><H2
>Synopsis</H2
<A
HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
>xsltStylesheetPtr</A
-> style);</PRE
+> style);
+void <A
+HREF="libxslt-xsltutils.html#XSLTSAVEPROFILING"
+>xsltSaveProfiling</A
+> (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="FILE-CAPS"
+>FILE</GTKDOCLINK
+> *output);
+<GTKDOCLINK
+HREF="LONG"
+>long</GTKDOCLINK
+> <A
+HREF="libxslt-xsltutils.html#XSLTTIMESTAMP"
+>xsltTimestamp</A
+> (void);</PRE
></TD
></TR
></TABLE
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1761"
+NAME="AEN1831"
></A
><H2
>Description</H2
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN1764"
+NAME="AEN1834"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1766"
+NAME="AEN1836"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1772"
+NAME="AEN1842"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1778"
+NAME="AEN1848"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1784"
+NAME="AEN1854"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1793"
+NAME="AEN1863"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1799"
+NAME="AEN1869"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1812"
+NAME="AEN1882"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1826"
+NAME="AEN1896"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1847"
+NAME="AEN1917"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1852"
+NAME="AEN1922"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1857"
+NAME="AEN1927"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1862"
+NAME="AEN1932"
></A
><H3
><A
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1867"
+NAME="AEN1937"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1876"
+NAME="AEN1946"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1893"
+NAME="AEN1963"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1905"
+NAME="AEN1975"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1918"
+NAME="AEN1988"
></A
><H3
><A
>handler</I
></TT
> will be called for subsequent
-error messages while not parsing nor validating. And <TT
+error messages while not parsing or validating. And <TT
CLASS="PARAMETER"
><I
>ctx</I
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1930"
+NAME="AEN2000"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1943"
+NAME="AEN2013"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1951"
+NAME="AEN2021"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1960"
+NAME="AEN2030"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1968"
+NAME="AEN2038"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN1985"
+NAME="AEN2055"
></A
><H3
><A
></TR
></TABLE
><P
->This function analyze <TT
+>This function analyzes <TT
CLASS="PARAMETER"
><I
>name</I
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN1998"
+NAME="AEN2068"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2016"
+NAME="AEN2086"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2028"
+NAME="AEN2098"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2049"
+NAME="AEN2119"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2060"
+NAME="AEN2130"
></A
><P
></P
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2085"
+NAME="AEN2155"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2097"
+NAME="AEN2167"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the number of byte written or -1 in case of failure.</TD
+>the number of bytes written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN2118"
+NAME="AEN2188"
></A
><H3
><A
><DIV
CLASS="INFORMALTABLE"
><A
-NAME="AEN2128"
+NAME="AEN2198"
></A
><P
></P
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the number of byte written or -1 in case of failure.</TD
+>the number of bytes written or -1 in case of failure.</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2219"
+></A
+><H3
+><A
+NAME="XSLTSAVEPROFILING"
+></A
+>xsltSaveProfiling ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xsltSaveProfiling (<A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt,
+ <GTKDOCLINK
+HREF="FILE-CAPS"
+>FILE</GTKDOCLINK
+> *output);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Save the profiling informations on <TT
+CLASS="PARAMETER"
+><I
+>output</I
+></TT
+></P
+><P
+></P
+><DIV
+CLASS="INFORMALTABLE"
+><A
+NAME="AEN2228"
+></A
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TBODY
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> an XSLT context</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>output</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a FILE * for saving the informations</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN2241"
+></A
+><H3
+><A
+NAME="XSLTTIMESTAMP"
+></A
+>xsltTimestamp ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+><GTKDOCLINK
+HREF="LONG"
+>long</GTKDOCLINK
+> xsltTimestamp (void);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Used for gathering profiling data</P
+><P
+></P
+><DIV
+CLASS="INFORMALTABLE"
+><A
+NAME="AEN2248"
+></A
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TBODY
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>the number of milliseconds since the beginning of the
+profiling</TD
></TR
></TBODY
></TABLE
<html>
<head>
<title>The XSLT C library for Gnome</title>
- <meta name="GENERATOR" content="amaya V4.1">
+ <meta name="GENERATOR" content="amaya V5.0">
<meta http-equiv="Content-Type" content="text/html">
</head>
<h2><a name="Introducti">Introduction</a></h2>
-<p>This document describes <a href="http://xmlsoft.org/XSLT/">libxslt</a>, the
-<a href="http://www.w3.org/TR/xslt">XSLT</a> C library developped for the <a
-href="http://www.gnome.org/">Gnome</a> project.</p>
+<p>This document describes <a href="http://xmlsoft.org/XSLT/">libxslt</a>,
+the <a href="http://www.w3.org/TR/xslt">XSLT</a> C library developped for the
+<a href="http://www.gnome.org/">Gnome</a> project.</p>
<p>Here are some key points about libxslt:</p>
<ul>
doc</a>).</li>
<li>Look at the <a href="http://mail.gnome.org/archives/xslt/">mailing-list
archive</a>.</li>
- <li>Of course since libxslt is based on libxml, it's a good idea to at least
- read <a href="http://xmlsoft.org/">libxml description</a></li>
+ <li>Of course since libxslt is based on libxml, it's a good idea to at
+ least read <a href="http://xmlsoft.org/">libxml description</a></li>
</ol>
<h2><a name="Reporting">Reporting bugs and getting help</a></h2>
-<p>Well, bugs or missing features are always possible, and I will make a point
-of fixing them in a timely fashion. The best way to report a bug is to use the
-<a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">Gnome bug
-tracking database</a> (make sure to use the "libxslt" module name). I look at
-reports there regularly and it's good to have a reminder when a bug is still
-open. Check the <a href="http://bugs.gnome.org/Reporting.html">instructions on
-reporting bugs</a> and be sure to specify that the bug is for the package
-libxslt.</p>
+<p>Well, bugs or missing features are always possible, and I will make a
+point of fixing them in a timely fashion. The best way to report a bug is to
+use the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">Gnome
+bug tracking database</a> (make sure to use the "libxslt" module name). I
+look at reports there regularly and it's good to have a reminder when a bug
+is still open. Check the <a
+href="http://bugs.gnome.org/Reporting.html">instructions on reporting
+bugs</a> and be sure to specify that the bug is for the package libxslt.</p>
<p>There is also a mailing-list <a
href="mailto:xslt@gnome.org">xslt@gnome.org</a> for libxslt, with an <a
href="http://mail.gnome.org/archives/xslt/">on-line archive</a>. To subscribe
to this list, please visit the <a
-href="http://mail.gnome.org/mailman/listinfo/xslt">associated Web</a> page and
-follow the instructions.</p>
+href="http://mail.gnome.org/mailman/listinfo/xslt">associated Web</a> page
+and follow the instructions.</p>
<p>Alternatively, you can just send the bug to the <a
href="mailto:xslt@gnome.org">xslt@gnome.org</a> list, if it's really libxslt
-related I will approve it.. Please do not send me mail directly especially for
-portability problem, it makes things really harder to track and in some cases
-I'm not the best person to answer a given question, ask the list instead.
-<strong>Do not send code, I won't debug it</strong> (but patches are really
-appreciated!).</p>
+related I will approve it.. Please do not send me mail directly especially
+for portability problem, it makes things really harder to track and in some
+cases I'm not the best person to answer a given question, ask the list
+instead. <strong>Do not send code, I won't debug it</strong> (but patches are
+really appreciated!).</p>
<p>Check the following too before posting:</p>
<ul>
version</a>, and that the problem still shows up in those</li>
<li>check the <a href="http://mail.gnome.org/archives/xslt/">list
archives</a> to see if the problem was reported already, in this case
- there is probably a fix available, similary check the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml&product=libxslt&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&email1=&emailtype1=substring&emailassigned_to1=1&emailreporter1=1&emailcc1=1&emaillongdesc1=1&email2=&emailtype2=substring&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emaillongdesc2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&status_whiteboard=&status_whiteboard_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">registered open
- bugs</a></li>
+ there is probably a fix available, similary check the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml&product=libxslt&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&email1=&emailtype1=substring&emailassigned_to1=1&emailreporter1=1&emailcc1=1&emaillongdesc1=1&email2=&emailtype2=substring&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emaillongdesc2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&status_whiteboard=&status_whiteboard_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">registered
+ open bugs</a></li>
<li>make sure you can reproduce the bug with xsltproc, a very useful thing
to do is run the transformation with -v argument and redirrect the
standard error to a file, then search in this file for the transformation
<p>If you're looking for help, a quick look at <a
href="http://mail.gnome.org/archives/xslt/">the list archive</a> may actually
-provide the answer, I usually send source samples when answering libxslt usage
-questions. The <a href="html/libxslt-lib.html#LIBXSLT-LIB">auto-generated
-documentation</a> is not as polished as I would like (I need to learn more
-about Docbook), but it's a good starting point.</p>
+provide the answer, I usually send source samples when answering libxslt
+usage questions. The <a
+href="html/libxslt-lib.html#LIBXSLT-LIB">auto-generated documentation</a> is
+not as polished as I would like (I need to learn more about Docbook), but
+it's a good starting point.</p>
<h2><a name="help">How to help</a></h2>
<li><p>The <a
href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&dir=libxslt">Gnome
CVS base</a>. Check the <a
- href="http://developer.gnome.org/tools/cvs.html">Gnome CVS Tools</a> page;
- the CVS module is <b>libxslt</b>.</p>
+ href="http://developer.gnome.org/tools/cvs.html">Gnome CVS Tools</a>
+ page; the CVS module is <b>libxslt</b>.</p>
</li>
</ul>
href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog">Changelog</a> file
for a really accurate description</h3>
+<h3>1.0.0: July 10 2001</h3>
+<ul>
+ <li>a lot of cleanup, a lot of regression tests added or fixed</li>
+ <li>added a documentation for <a href="extensions.html">writing
+ extensions</a></li>
+ <li>fixed some variable evaluation problems (with William)</li>
+ <li>added profiling of stylesheed excution accessible as the xsltproc
+ --profile option</li>
+ <li>fixed element-available() and the implementation of the various
+ chunking methods present, Norm Walsh provided a lot of feedback</li>
+ <li>exclude-result-prefixes and namespaces output should now work as
+ expected</li>
+ <li>added support of embedded stylesheet as described in section 2.7 of the
+ spec</li>
+</ul>
+
<h3>0.14.0: July 5 2001</h3>
<ul>
<li>lot of bug fixes, and code cleanup</li>
<li>second beta version, released at the same time as libxml2-2.3.1</li>
<li>getting close to feature completion, lot of bug fixes, some in the HTML
and XPath support of libxml</li>
- <li>start becoming usable for real work. This version can now regenerate the
- XML 2e HTML from the original XML sources and the associated stylesheets
- (in <a href="http://www.w3.org/TR/REC-xml#b4d250b6c21">section I of the
- XML REC</a>)</li>
+ <li>start becoming usable for real work. This version can now regenerate
+ the XML 2e HTML from the original XML sources and the associated
+ stylesheets (in <a
+ href="http://www.w3.org/TR/REC-xml#b4d250b6c21">section I of the XML
+ REC</a>)</li>
<li>Still misses extension element/function/prefixes support. Support of
key() and document() is not complete</li>
</ul>
</ol>
<p>Steps 2,3, and 5 will probably need to be changed depending on you
-processing needs and environment for example if reading/saving from/to memory,
-or if you want to apply XInclude processing to the stylesheet or input
-documents.</p>
+processing needs and environment for example if reading/saving from/to
+memory, or if you want to apply XInclude processing to the stylesheet or
+input documents.</p>
<h2><a name="Contributi">Contributions</a></h2>
<ul>
for libxslt</a></li>
<li><a
href="http://mail.gnome.org/archives/xml/2001-March/msg00014.html">Matt
- Sergeant</a> developped <a
- href="http://axkit.org/download/">XML::LibXSLT</a>, a perl wrapper for
- libxml2/libxslt as part of the <a href="http://axkit.com/">AxKit XML
- application server</a></li>
+ Sergeant</a>
+ developped <a href="http://axkit.org/download/">XML::LibXSLT</a>, a perl
+ wrapper for libxml2/libxslt as part of the <a
+ href="http://axkit.com/">AxKit XML application server</a></li>
<li>there is a module for <a
href="http://acs-misc.sourceforge.net/nsxml.html">libxml/libxslt support
in OpenNSD/AOLServer</a></li>
</ul>
-<p>I'm still waiting for someone to contribute a simple XSLT processing module
-for Apache :-)</p>
+<p>I'm still waiting for someone to contribute a simple XSLT processing
+module for Apache :-)</p>
<p></p>
}
/**
- * xsltRegisterAllElements:
+ * xsltRegisterAllElement:
* @ctxt: the XPath context
*
* Registers all default XSLT elements in this context
*
* the version string like "1.2.3"
*/
-#define LIBXSLT_DOTTED_VERSION "0.14.0"
+#define LIBXSLT_DOTTED_VERSION "1.0.0"
/**
* LIBXSLT_VERSION:
*
* the version number: 1.2.3 value is 1002003
*/
-#define LIBXSLT_VERSION 1400
+#define LIBXSLT_VERSION 10000
/**
* LIBXSLT_VERSION_STRING:
*
* the version number string, 1.2.3 value is "1002003"
*/
-#define LIBXSLT_VERSION_STRING "1400"
+#define LIBXSLT_VERSION_STRING "10000"
/**
* WITH_XSLT_DEBUG:
\r
xsltRunStylesheet\r
xsltLoadStylesheetPI\r
+ xsltRegisterAllElement\r
\r
\r
\r