diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-02-15 16:43:15 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-02-15 16:43:15 +0000 |
commit | 3ea65e43f4d51e4572aadaffe4c09e0b5ed89efb (patch) | |
tree | cf8ba37f76d0e59ba4eda0626f2fa7a460eab4c3 /doc | |
parent | d1906f7c3ae38fa30b96a0a3d28965b157e77a8a (diff) | |
download | libxslt-3ea65e43f4d51e4572aadaffe4c09e0b5ed89efb.tar.gz libxslt-3ea65e43f4d51e4572aadaffe4c09e0b5ed89efb.tar.bz2 libxslt-3ea65e43f4d51e4572aadaffe4c09e0b5ed89efb.zip |
one bug fix, preparing 0.2.0 release:
- libxlst/functions.c: fixed ID generation
- doc/xslt.html doc/html/*.html: updated/regenerated the doc
Daniel
Diffstat (limited to 'doc')
-rw-r--r-- | doc/html/libxslt-attributes.html | 40 | ||||
-rw-r--r-- | doc/html/libxslt-imports.html | 258 | ||||
-rw-r--r-- | doc/html/libxslt-keys.html | 103 | ||||
-rw-r--r-- | doc/html/libxslt-namespaces.html | 42 | ||||
-rw-r--r-- | doc/html/libxslt-numbersinternals.html | 12 | ||||
-rw-r--r-- | doc/html/libxslt-pattern.html | 572 | ||||
-rw-r--r-- | doc/html/libxslt-templates.html | 24 | ||||
-rw-r--r-- | doc/html/libxslt-transform.html | 49 | ||||
-rw-r--r-- | doc/html/libxslt-variables.html | 56 | ||||
-rw-r--r-- | doc/html/libxslt-xsltinternals.html | 212 | ||||
-rw-r--r-- | doc/html/libxslt-xsltutils.html | 533 | ||||
-rw-r--r-- | doc/xslt.html | 40 |
12 files changed, 1630 insertions, 311 deletions
diff --git a/doc/html/libxslt-attributes.html b/doc/html/libxslt-attributes.html index d0e49ab9..e6949e22 100644 --- a/doc/html/libxslt-attributes.html +++ b/doc/html/libxslt-attributes.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-ATTRIBUTES" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN1230" +NAME="AEN1478" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN1230" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN1233" +NAME="AEN1481" ></A ><H2 >Synopsis</H2 @@ -147,9 +147,9 @@ CLASS="SYNOPSIS" void <A HREF="libxslt-attributes.html#XSLTPARSESTYLESHEETATTRIBUTESET" >xsltParseStylesheetAttributeSet</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -173,9 +173,9 @@ HREF="XMLNODEPTR" void <A HREF="libxslt-attributes.html#XSLTFREEATTRIBUTESETSHASHES" >xsltFreeAttributeSetsHashes</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style); void <A HREF="libxslt-attributes.html#XSLTAPPLYATTRIBUTESET" @@ -203,7 +203,7 @@ HREF="XMLCHAR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1250" +NAME="AEN1498" ></A ><H2 >Description</H2 @@ -213,14 +213,14 @@ NAME="AEN1250" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1253" +NAME="AEN1501" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN1255" +NAME="AEN1503" ></A ><H3 ><A @@ -236,9 +236,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltParseStylesheetAttributeSet (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltParseStylesheetAttributeSet (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -305,7 +305,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1276" +NAME="AEN1524" ></A ><H3 ><A @@ -410,7 +410,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1302" +NAME="AEN1550" ></A ><H3 ><A @@ -426,9 +426,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltFreeAttributeSetsHashes (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltFreeAttributeSetsHashes (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -473,7 +473,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1318" +NAME="AEN1566" ></A ><H3 ><A diff --git a/doc/html/libxslt-imports.html b/doc/html/libxslt-imports.html index 5fb05af2..0de8f4d7 100644 --- a/doc/html/libxslt-imports.html +++ b/doc/html/libxslt-imports.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-IMPORTS" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN1354" +NAME="AEN1602" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN1354" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN1357" +NAME="AEN1605" ></A ><H2 >Synopsis</H2 @@ -144,12 +144,20 @@ CELLPADDING="6" CLASS="SYNOPSIS" > +#define <A +HREF="libxslt-imports.html#XSLT-GET-IMPORT-PTR-CAPS" +>XSLT_GET_IMPORT_PTR</A +> (res, style, name) +#define <A +HREF="libxslt-imports.html#XSLT-GET-IMPORT-INT-CAPS" +>XSLT_GET_IMPORT_INT</A +> (res, style, name) void <A HREF="libxslt-imports.html#XSLTPARSESTYLESHEETIMPORT" >xsltParseStylesheetImport</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -158,23 +166,23 @@ HREF="XMLNODEPTR" void <A HREF="libxslt-imports.html#XSLTPARSESTYLESHEETINCLUDE" >xsltParseStylesheetInclude</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK > cur); -<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > <A HREF="libxslt-imports.html#XSLTNEXTIMPORT" >xsltNextImport</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style); int <A HREF="libxslt-imports.html#XSLTFINDELEMSPACEHANDLING" @@ -212,7 +220,7 @@ HREF="XMLCHAR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1377" +NAME="AEN1627" ></A ><H2 >Description</H2 @@ -222,14 +230,198 @@ NAME="AEN1377" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1380" +NAME="AEN1630" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN1382" +NAME="AEN1632" +></A +><H3 +><A +NAME="XSLT-GET-IMPORT-PTR-CAPS" +></A +>XSLT_GET_IMPORT_PTR()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>#define XSLT_GET_IMPORT_PTR(res, style, name)</PRE +></TD +></TR +></TABLE +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>res</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>style</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>name</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN1654" +></A +><H3 +><A +NAME="XSLT-GET-IMPORT-INT-CAPS" +></A +>XSLT_GET_IMPORT_INT()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>#define XSLT_GET_IMPORT_INT(res, style, name)</PRE +></TD +></TR +></TABLE +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>res</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>style</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>name</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN1676" ></A ><H3 ><A @@ -245,9 +437,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltParseStylesheetImport (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltParseStylesheetImport (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -314,7 +506,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1403" +NAME="AEN1697" ></A ><H3 ><A @@ -330,9 +522,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltParseStylesheetInclude (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltParseStylesheetInclude (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -399,7 +591,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1424" +NAME="AEN1718" ></A ><H3 ><A @@ -415,12 +607,12 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK -> xsltNextImport (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +><A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A +> xsltNextImport (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -480,7 +672,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1445" +NAME="AEN1739" ></A ><H3 ><A @@ -581,7 +773,7 @@ should be CDTATA wrapped.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1470" +NAME="AEN1764" ></A ><H3 ><A diff --git a/doc/html/libxslt-keys.html b/doc/html/libxslt-keys.html index 8dec439a..cae27731 100644 --- a/doc/html/libxslt-keys.html +++ b/doc/html/libxslt-keys.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-KEYS" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN2013" +NAME="AEN2307" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN2013" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN2016" +NAME="AEN2310" ></A ><H2 >Synopsis</H2 @@ -147,9 +147,9 @@ CLASS="SYNOPSIS" int <A HREF="libxslt-keys.html#XSLTADDKEY" >xsltAddKey</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, const <GTKDOCLINK HREF="XMLCHAR" @@ -195,21 +195,25 @@ HREF="libxslt-keys.html#XSLTINITCTXTKEYS" > (<A HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" >xsltTransformContextPtr</A -> ctxt); +> ctxt, + <GTKDOCLINK +HREF="XSLTDOCUMENTPTR" +>xsltDocumentPtr</GTKDOCLINK +> doc); void <A HREF="libxslt-keys.html#XSLTFREEKEYS" >xsltFreeKeys</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style); void <A -HREF="libxslt-keys.html#XSLTFREECTXTKEYS" ->xsltFreeCtxtKeys</A -> (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt);</PRE +HREF="libxslt-keys.html#XSLTFREEDOCUMENTKEYS" +>xsltFreeDocumentKeys</A +> (<GTKDOCLINK +HREF="XSLTDOCUMENTPTR" +>xsltDocumentPtr</GTKDOCLINK +> doc);</PRE ></TD ></TR ></TABLE @@ -217,7 +221,7 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN2037" +NAME="AEN2332" ></A ><H2 >Description</H2 @@ -227,14 +231,14 @@ NAME="AEN2037" ><DIV CLASS="REFSECT1" ><A -NAME="AEN2040" +NAME="AEN2335" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN2042" +NAME="AEN2337" ></A ><H3 ><A @@ -250,9 +254,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xsltAddKey (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>int xsltAddKey (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, const <GTKDOCLINK HREF="XMLCHAR" @@ -396,7 +400,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2082" +NAME="AEN2377" ></A ><H3 ><A @@ -540,7 +544,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2118" +NAME="AEN2413" ></A ><H3 ><A @@ -559,7 +563,11 @@ CLASS="PROGRAMLISTING" >void xsltInitCtxtKeys (<A HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" >xsltTransformContextPtr</A -> ctxt);</PRE +> ctxt, + <GTKDOCLINK +HREF="XSLTDOCUMENTPTR" +>xsltDocumentPtr</GTKDOCLINK +> doc);</PRE ></TD ></TR ></TABLE @@ -594,7 +602,24 @@ CLASS="PARAMETER" WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XSLT transformation context</TD +> an XSLT transformation context</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" +> an XSLT document</TD ></TR ></TABLE ><P @@ -604,7 +629,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2134" +NAME="AEN2434" ></A ><H3 ><A @@ -620,9 +645,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltFreeKeys (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltFreeKeys (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -667,13 +692,13 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2150" +NAME="AEN2450" ></A ><H3 ><A -NAME="XSLTFREECTXTKEYS" +NAME="XSLTFREEDOCUMENTKEYS" ></A ->xsltFreeCtxtKeys ()</H3 +>xsltFreeDocumentKeys ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" @@ -683,16 +708,14 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltFreeCtxtKeys (<A -HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" ->xsltTransformContextPtr</A -> ctxt);</PRE +>void xsltFreeDocumentKeys (<GTKDOCLINK +HREF="XSLTDOCUMENTPTR" +>xsltDocumentPtr</GTKDOCLINK +> doc);</PRE ></TD ></TR ></TABLE ><P ->Free up all the space used by the key tables</P -><P ></P ><DIV CLASS="INFORMALTABLE" @@ -713,14 +736,14 @@ VALIGN="TOP" ><TT CLASS="PARAMETER" ><I ->ctxt</I +>doc</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" -> an XSLT transformation context</TD +> </TD ></TR ></TABLE ><P diff --git a/doc/html/libxslt-namespaces.html b/doc/html/libxslt-namespaces.html index 334cc8d7..844f0d24 100644 --- a/doc/html/libxslt-namespaces.html +++ b/doc/html/libxslt-namespaces.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-NAMESPACES" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN1506" +NAME="AEN1800" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN1506" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN1509" +NAME="AEN1803" ></A ><H2 >Synopsis</H2 @@ -147,9 +147,9 @@ CLASS="SYNOPSIS" void <A HREF="libxslt-namespaces.html#XSLTNAMESPACEALIAS" >xsltNamespaceAlias</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -224,9 +224,9 @@ HREF="XMLNSPTR" void <A HREF="libxslt-namespaces.html#XSLTFREENAMESPACEALIASHASHES" >xsltFreeNamespaceAliasHashes</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -235,7 +235,7 @@ HREF="XSLTSTYLESHEETPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1535" +NAME="AEN1829" ></A ><H2 >Description</H2 @@ -245,14 +245,14 @@ NAME="AEN1535" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1538" +NAME="AEN1832" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN1540" +NAME="AEN1834" ></A ><H3 ><A @@ -268,9 +268,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltNamespaceAlias (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltNamespaceAlias (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -337,7 +337,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1561" +NAME="AEN1855" ></A ><H3 ><A @@ -483,7 +483,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1597" +NAME="AEN1891" ></A ><H3 ><A @@ -646,7 +646,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1637" +NAME="AEN1931" ></A ><H3 ><A @@ -776,7 +776,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1669" +NAME="AEN1963" ></A ><H3 ><A @@ -792,9 +792,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltFreeNamespaceAliasHashes (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltFreeNamespaceAliasHashes (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR diff --git a/doc/html/libxslt-numbersinternals.html b/doc/html/libxslt-numbersinternals.html index 8a21cb51..edf2b3d1 100644 --- a/doc/html/libxslt-numbersinternals.html +++ b/doc/html/libxslt-numbersinternals.html @@ -109,7 +109,7 @@ NAME="LIBXSLT-NUMBERSINTERNALS" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN2439" +NAME="AEN2750" ></A ><H2 >Name</H2 @@ -117,7 +117,7 @@ NAME="AEN2439" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN2442" +NAME="AEN2753" ></A ><H2 >Synopsis</H2 @@ -176,7 +176,7 @@ HREF="XMLNODEPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN2455" +NAME="AEN2766" ></A ><H2 >Description</H2 @@ -186,14 +186,14 @@ NAME="AEN2455" ><DIV CLASS="REFSECT1" ><A -NAME="AEN2458" +NAME="AEN2769" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN2460" +NAME="AEN2771" ></A ><H3 ><A @@ -335,7 +335,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2495" +NAME="AEN2806" ></A ><H3 ><A diff --git a/doc/html/libxslt-pattern.html b/doc/html/libxslt-pattern.html index adfe3061..88ee749a 100644 --- a/doc/html/libxslt-pattern.html +++ b/doc/html/libxslt-pattern.html @@ -144,12 +144,52 @@ CELLPADDING="6" CLASS="SYNOPSIS" > +struct <A +HREF="libxslt-pattern.html#XSLTCOMPMATCH" +>xsltCompMatch</A +>; +typedef <A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +>; +<A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +> <A +HREF="libxslt-pattern.html#XSLTCOMPILEPATTERN" +>xsltCompilePattern</A +> (const <GTKDOCLINK +HREF="XMLCHAR" +>xmlChar</GTKDOCLINK +> *pattern); +void <A +HREF="libxslt-pattern.html#XSLTFREECOMPMATCHLIST" +>xsltFreeCompMatchList</A +> (<A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +> comp); +int <A +HREF="libxslt-pattern.html#XSLTTESTCOMPMATCHLIST" +>xsltTestCompMatchList</A +> (<A +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr</A +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> node, + <A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +> comp); int <A HREF="libxslt-pattern.html#XSLTADDTEMPLATE" >xsltAddTemplate</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <A HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR" @@ -176,14 +216,33 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" <GTKDOCLINK HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK -> node); +> node, + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A +> style); void <A HREF="libxslt-pattern.html#XSLTFREETEMPLATEHASHES" >xsltFreeTemplateHashes</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK -> style);</PRE +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A +> style); +int <A +HREF="libxslt-pattern.html#XSLTMATCHPATTERN" +>xsltMatchPattern</A +> (<A +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr</A +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> node, + const <GTKDOCLINK +HREF="XMLCHAR" +>xmlChar</GTKDOCLINK +> *pattern);</PRE ></TD ></TR ></TABLE @@ -191,7 +250,7 @@ HREF="XSLTSTYLESHEETPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN327" +NAME="AEN343" ></A ><H2 >Description</H2 @@ -201,14 +260,338 @@ NAME="AEN327" ><DIV CLASS="REFSECT1" ><A -NAME="AEN330" +NAME="AEN346" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN332" +NAME="AEN348" +></A +><H3 +><A +NAME="XSLTCOMPMATCH" +></A +>struct xsltCompMatch</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xsltCompMatch;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN353" +></A +><H3 +><A +NAME="XSLTCOMPMATCHPTR" +></A +>xsltCompMatchPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xsltCompMatch *xsltCompMatchPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN358" +></A +><H3 +><A +NAME="XSLTCOMPILEPATTERN" +></A +>xsltCompilePattern ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +> xsltCompilePattern (const <GTKDOCLINK +HREF="XMLCHAR" +>xmlChar</GTKDOCLINK +> *pattern);</PRE +></TD +></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" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>pattern</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" +>the generated pattern list or NULL in case of failure</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN380" +></A +><H3 +><A +NAME="XSLTFREECOMPMATCHLIST" +></A +>xsltFreeCompMatchList ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xsltFreeCompMatchList (<A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +> comp);</PRE +></TD +></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" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>comp</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an XSLT comp list</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN397" +></A +><H3 +><A +NAME="XSLTTESTCOMPMATCHLIST" +></A +>xsltTestCompMatchList ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xsltTestCompMatchList (<A +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr</A +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> node, + <A +HREF="libxslt-pattern.html#XSLTCOMPMATCHPTR" +>xsltCompMatchPtr</A +> comp);</PRE +></TD +></TR +></TABLE +><P +>Test wether the node matches one of the patterns in the list</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a XSLT process context</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>node</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a node</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>comp</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the precompiled pattern list</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +>1 if it matches, 0 if it doesn't and -1 in case of failure</TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN427" ></A ><H3 ><A @@ -224,9 +607,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->int xsltAddTemplate (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>int xsltAddTemplate (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <A HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR" @@ -354,7 +737,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN368" +NAME="AEN463" ></A ><H3 ><A @@ -380,12 +763,22 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" <GTKDOCLINK HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK -> node);</PRE +> node, + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A +> style);</PRE ></TD ></TR ></TABLE ><P ->Finds the template applying to this node</P +>Finds the template applying to this node, if <TT +CLASS="PARAMETER" +><I +>style</I +></TT +> is non-NULL +it means one need to look for the next imported template in scope.</P ><P ></P ><DIV @@ -438,6 +831,23 @@ VALIGN="TOP" WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>style</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the current style</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I @@ -456,7 +866,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN394" +NAME="AEN495" ></A ><H3 ><A @@ -472,9 +882,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltFreeTemplateHashes (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltFreeTemplateHashes (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -516,6 +926,126 @@ VALIGN="TOP" ></P ></DIV ></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN511" +></A +><H3 +><A +NAME="XSLTMATCHPATTERN" +></A +>xsltMatchPattern ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>int xsltMatchPattern (<A +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr</A +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> node, + const <GTKDOCLINK +HREF="XMLCHAR" +>xmlChar</GTKDOCLINK +> *pattern);</PRE +></TD +></TR +></TABLE +><P +>Determine if a node matches a pattern.</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>node</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> a node in the source tree</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>pattern</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an XSLT pattern</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV ></DIV ><DIV CLASS="NAVFOOTER" diff --git a/doc/html/libxslt-templates.html b/doc/html/libxslt-templates.html index 9528d30a..d122c2ed 100644 --- a/doc/html/libxslt-templates.html +++ b/doc/html/libxslt-templates.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-TEMPLATES" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN415" +NAME="AEN546" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN415" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN418" +NAME="AEN549" ></A ><H2 >Synopsis</H2 @@ -276,7 +276,7 @@ HREF="XMLCHAR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN456" +NAME="AEN587" ></A ><H2 >Description</H2 @@ -286,14 +286,14 @@ NAME="AEN456" ><DIV CLASS="REFSECT1" ><A -NAME="AEN459" +NAME="AEN590" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN461" +NAME="AEN592" ></A ><H3 ><A @@ -393,7 +393,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN486" +NAME="AEN617" ></A ><H3 ><A @@ -519,7 +519,7 @@ caller.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN517" +NAME="AEN648" ></A ><H3 ><A @@ -645,7 +645,7 @@ caller.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN548" +NAME="AEN679" ></A ><H3 ><A @@ -748,7 +748,7 @@ caller.</TD ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN574" +NAME="AEN705" ></A ><H3 ><A @@ -850,7 +850,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN600" +NAME="AEN731" ></A ><H3 ><A @@ -973,7 +973,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN631" +NAME="AEN762" ></A ><H3 ><A @@ -1096,7 +1096,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN662" +NAME="AEN793" ></A ><H3 ><A diff --git a/doc/html/libxslt-transform.html b/doc/html/libxslt-transform.html index 26bafa48..16226dc2 100644 --- a/doc/html/libxslt-transform.html +++ b/doc/html/libxslt-transform.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-TRANSFORM" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN693" +NAME="AEN824" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN693" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN696" +NAME="AEN827" ></A ><H2 >Synopsis</H2 @@ -150,9 +150,9 @@ HREF="XMLDOCPTR" > <A HREF="libxslt-transform.html#XSLTAPPLYSTYLESHEET" >xsltApplyStylesheet</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLDOCPTR" @@ -169,6 +169,10 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK > node, + <A +HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR" +>xsltTemplatePtr</A +> templ, <GTKDOCLINK HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK @@ -180,7 +184,7 @@ HREF="XMLNODEPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN707" +NAME="AEN839" ></A ><H2 >Description</H2 @@ -190,14 +194,14 @@ NAME="AEN707" ><DIV CLASS="REFSECT1" ><A -NAME="AEN710" +NAME="AEN842" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN712" +NAME="AEN844" ></A ><H3 ><A @@ -216,9 +220,9 @@ CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK -> xsltApplyStylesheet (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> xsltApplyStylesheet (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLDOCPTR" @@ -300,7 +304,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN738" +NAME="AEN870" ></A ><H3 ><A @@ -324,6 +328,10 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK > node, + <A +HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR" +>xsltTemplatePtr</A +> templ, <GTKDOCLINK HREF="XMLNODEPTR" >xmlNodePtr</GTKDOCLINK @@ -388,6 +396,23 @@ VALIGN="TOP" ><TT CLASS="PARAMETER" ><I +>templ</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> the template</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I >list</I ></TT > :</TD diff --git a/doc/html/libxslt-variables.html b/doc/html/libxslt-variables.html index 6108b733..89b41426 100644 --- a/doc/html/libxslt-variables.html +++ b/doc/html/libxslt-variables.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-VARIABLES" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN1690" +NAME="AEN1984" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN1690" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN1693" +NAME="AEN1987" ></A ><H2 >Synopsis</H2 @@ -172,9 +172,9 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" void <A HREF="libxslt-variables.html#XSLTPARSEGLOBALVARIABLE" >xsltParseGlobalVariable</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -183,9 +183,9 @@ HREF="XMLNODEPTR" void <A HREF="libxslt-variables.html#XSLTPARSEGLOBALPARAM" >xsltParseGlobalParam</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -284,7 +284,7 @@ HREF="XMLCHAR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1732" +NAME="AEN2026" ></A ><H2 >Description</H2 @@ -294,14 +294,14 @@ NAME="AEN1732" ><DIV CLASS="REFSECT1" ><A -NAME="AEN1735" +NAME="AEN2029" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN1737" +NAME="AEN2031" ></A ><H3 ><A @@ -359,7 +359,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1751" +NAME="AEN2045" ></A ><H3 ><A @@ -438,7 +438,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1771" +NAME="AEN2065" ></A ><H3 ><A @@ -501,7 +501,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1787" +NAME="AEN2081" ></A ><H3 ><A @@ -564,7 +564,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1803" +NAME="AEN2097" ></A ><H3 ><A @@ -580,9 +580,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltParseGlobalVariable (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltParseGlobalVariable (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -649,7 +649,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1824" +NAME="AEN2118" ></A ><H3 ><A @@ -665,9 +665,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltParseGlobalParam (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltParseGlobalParam (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, <GTKDOCLINK HREF="XMLNODEPTR" @@ -734,7 +734,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1845" +NAME="AEN2139" ></A ><H3 ><A @@ -819,7 +819,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1866" +NAME="AEN2160" ></A ><H3 ><A @@ -904,7 +904,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1887" +NAME="AEN2181" ></A ><H3 ><A @@ -967,7 +967,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1903" +NAME="AEN2197" ></A ><H3 ><A @@ -1091,7 +1091,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1934" +NAME="AEN2228" ></A ><H3 ><A @@ -1277,7 +1277,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1979" +NAME="AEN2273" ></A ><H3 ><A diff --git a/doc/html/libxslt-xsltinternals.html b/doc/html/libxslt-xsltinternals.html index cdb4059a..7ef92cd5 100644 --- a/doc/html/libxslt-xsltinternals.html +++ b/doc/html/libxslt-xsltinternals.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-XSLTINTERNALS" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN2171" +NAME="AEN2470" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN2171" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN2174" +NAME="AEN2473" ></A ><H2 >Synopsis</H2 @@ -172,6 +172,14 @@ struct <A HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMAT" >xsltDecimalFormat</A >; +struct <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEET" +>xsltStylesheet</A +>; +typedef <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A +>; enum <A HREF="libxslt-xsltinternals.html#XSLTOUTPUTTYPE" >xsltOutputType</A @@ -200,9 +208,9 @@ HREF="libxslt-xsltinternals.html#CHECK-STOPPEDE-CAPS" HREF="libxslt-xsltinternals.html#CHECK-STOPPED0-CAPS" >CHECK_STOPPED0</A > -<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > <A HREF="libxslt-xsltinternals.html#XSLTPARSESTYLESHEETFILE" >xsltParseStylesheetFile</A @@ -213,9 +221,9 @@ HREF="XMLCHAR" void <A HREF="libxslt-xsltinternals.html#XSLTFREESTYLESHEET" >xsltFreeStylesheet</A -> (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +> (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > sheet); int <A HREF="libxslt-xsltinternals.html#XSLTISBLANK" @@ -238,32 +246,32 @@ HREF="XSLTDECIMALFORMATPTR" HREF="libxslt-xsltinternals.html#XSLTDECIMALFORMATGETBYNAME" >xsltDecimalFormatGetByName</A > - (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > sheet, <GTKDOCLINK HREF="XMLCHAR" >xmlChar</GTKDOCLINK > *name); -<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > <A HREF="libxslt-xsltinternals.html#XSLTPARSESTYLESHEETPROCESS" >xsltParseStylesheetProcess</A > - (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > ret, <GTKDOCLINK HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > doc); -<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > <A HREF="libxslt-xsltinternals.html#XSLTPARSESTYLESHEETDOC" >xsltParseStylesheetDoc</A @@ -278,7 +286,7 @@ HREF="XMLDOCPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN2211" +NAME="AEN2512" ></A ><H2 >Description</H2 @@ -288,14 +296,14 @@ NAME="AEN2211" ><DIV CLASS="REFSECT1" ><A -NAME="AEN2214" +NAME="AEN2515" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN2216" +NAME="AEN2517" ></A ><H3 ><A @@ -324,7 +332,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2221" +NAME="AEN2522" ></A ><H3 ><A @@ -359,7 +367,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2226" +NAME="AEN2527" ></A ><H3 ><A @@ -385,7 +393,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2231" +NAME="AEN2532" ></A ><H3 ><A @@ -411,7 +419,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2236" +NAME="AEN2537" ></A ><H3 ><A @@ -429,6 +437,7 @@ CELLPADDING="6" CLASS="PROGRAMLISTING" >struct xsltTemplate { struct _xsltTemplate *next;/* chained list sorted by priority */ + struct _xsltStylesheet *style;/* the containing stylesheet */ xmlChar *match; /* the matching string */ int priority; /* as given from the stylesheet, not computed */ xmlChar *name; /* the local part of the name QName */ @@ -446,7 +455,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2241" +NAME="AEN2542" ></A ><H3 ><A @@ -472,7 +481,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2246" +NAME="AEN2547" ></A ><H3 ><A @@ -506,13 +515,43 @@ CLASS="PROGRAMLISTING" } xsltDecimalFormat, *xsltDecimalFormatPtr; /* - * The in-memory structure corresponding to an XSLT Stylesheet - * NOTE: most of the content is simply linked from the doc tree - * structure, no specific allocation is made. + * Data structure associated to a document */ -typedef struct _xsltStylesheet xsltStylesheet; -typedef xsltStylesheet *xsltStylesheetPtr; -struct _xsltStylesheet { + +typedef struct _xsltDocument xsltDocument; +typedef xsltDocument *xsltDocumentPtr; +struct _xsltDocument { + struct _xsltDocument *next; /* documents are kept in a chained list */ + int main; /* is this the main document */ + xmlDocPtr doc; /* the parsed document */ + void *keys; /* key tables storage */ +};</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN2552" +></A +><H3 +><A +NAME="XSLTSTYLESHEET" +></A +>struct xsltStylesheet</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>struct xsltStylesheet { /* * The stylesheet import relation is kept as a tree */ @@ -520,6 +559,8 @@ struct _xsltStylesheet { struct _xsltStylesheet *next; struct _xsltStylesheet *imports; + xsltDocumentPtr docList; /* the include document list */ + /* * General data on the style sheet document */ @@ -588,7 +629,33 @@ struct _xsltStylesheet { ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2251" +NAME="AEN2557" +></A +><H3 +><A +NAME="XSLTSTYLESHEETPTR" +></A +>xsltStylesheetPtr</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>typedef xsltStylesheet *xsltStylesheetPtr;</PRE +></TD +></TR +></TABLE +><P +></P +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN2562" ></A ><H3 ><A @@ -618,7 +685,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2256" +NAME="AEN2567" ></A ><H3 ><A @@ -648,7 +715,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2261" +NAME="AEN2572" ></A ><H3 ><A @@ -668,10 +735,17 @@ CLASS="PROGRAMLISTING" xsltStylesheetPtr style; /* the stylesheet used */ xsltOutputType type; /* the type of output */ + xsltTemplatePtr templ; /* the current template */ + int templNr; /* Nb of templates in the stack */ + int templMax; /* Size of the templtes stack */ + xsltTemplatePtr *templTab; /* the template stack */ + const xmlChar *mode; /* the current mode */ const xmlChar *modeURI; /* the current mode URI */ - xmlDocPtr doc; /* the current doc */ + xsltDocumentPtr docList; /* the document list */ + + xsltDocumentPtr document; /* the current document */ xmlNodePtr node; /* the current node */ xmlNodeSetPtr nodeList; /* the current node list */ @@ -681,8 +755,6 @@ CLASS="PROGRAMLISTING" xmlXPathContextPtr xpathCtxt; /* the XPath context */ void *variablesHash; /* hash table or wherever variables informations are stored */ - void *keys; /* key tables storage */ - xmlDocPtr extraDocs; /* extra docs parsed by document() */ xsltTransformState state; /* the current state */ };</PRE ></TD @@ -694,7 +766,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2266" +NAME="AEN2577" ></A ><H3 ><A @@ -720,7 +792,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2271" +NAME="AEN2582" ></A ><H3 ><A @@ -746,7 +818,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2276" +NAME="AEN2587" ></A ><H3 ><A @@ -772,7 +844,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2281" +NAME="AEN2592" ></A ><H3 ><A @@ -798,7 +870,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2286" +NAME="AEN2597" ></A ><H3 ><A @@ -814,9 +886,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +><A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > xsltParseStylesheetFile (const <GTKDOCLINK HREF="XMLCHAR" >xmlChar</GTKDOCLINK @@ -879,7 +951,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2307" +NAME="AEN2618" ></A ><H3 ><A @@ -895,9 +967,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" ->void xsltFreeStylesheet (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +>void xsltFreeStylesheet (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > sheet);</PRE ></TD ></TR @@ -947,7 +1019,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2324" +NAME="AEN2635" ></A ><H3 ><A @@ -1025,7 +1097,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2344" +NAME="AEN2655" ></A ><H3 ><A @@ -1093,7 +1165,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2361" +NAME="AEN2672" ></A ><H3 ><A @@ -1113,9 +1185,9 @@ CLASS="PROGRAMLISTING" HREF="XSLTDECIMALFORMATPTR" >xsltDecimalFormatPtr</GTKDOCLINK > xsltDecimalFormatGetByName - (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > sheet, <GTKDOCLINK HREF="XMLCHAR" @@ -1196,7 +1268,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2387" +NAME="AEN2698" ></A ><H3 ><A @@ -1212,13 +1284,13 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +><A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > xsltParseStylesheetProcess - (<GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + (<A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > ret, <GTKDOCLINK HREF="XMLDOCPTR" @@ -1299,7 +1371,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN2413" +NAME="AEN2724" ></A ><H3 ><A @@ -1315,9 +1387,9 @@ CELLPADDING="6" ><TD ><PRE CLASS="PROGRAMLISTING" -><GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK +><A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > xsltParseStylesheetDoc (<GTKDOCLINK HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK diff --git a/doc/html/libxslt-xsltutils.html b/doc/html/libxslt-xsltutils.html index 0632a343..9b905675 100644 --- a/doc/html/libxslt-xsltutils.html +++ b/doc/html/libxslt-xsltutils.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-XSLTUTILS" ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN769" +NAME="AEN906" ></A ><H2 >Name</H2 @@ -129,7 +129,7 @@ NAME="AEN769" ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN772" +NAME="AEN909" ></A ><H2 >Synopsis</H2 @@ -188,6 +188,48 @@ HREF="XMLCHAR" HREF="XMLCHAR" >xmlChar</GTKDOCLINK > *value); +<GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> <A +HREF="libxslt-xsltutils.html#XMLXPATHNEXTPRECEDING" +>xmlXPathNextPreceding</A +> (<GTKDOCLINK +HREF="XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</GTKDOCLINK +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> cur); +<GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> <A +HREF="libxslt-xsltutils.html#XMLXPATHNEXTANCESTOR" +>xmlXPathNextAncestor</A +> (<GTKDOCLINK +HREF="XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</GTKDOCLINK +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> cur); +<GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> <A +HREF="libxslt-xsltutils.html#XMLXPATHNEXTPRECEDINGSIBLING" +>xmlXPathNextPrecedingSibling</A +> (<GTKDOCLINK +HREF="XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</GTKDOCLINK +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> cur); #define <A HREF="libxslt-xsltutils.html#TODO-CAPS" >TODO</A @@ -282,9 +324,9 @@ HREF="XMLOUTPUTBUFFERPTR" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style); int <A HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFILENAME" @@ -294,9 +336,9 @@ HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFILENAME" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, int compression); int <A @@ -310,9 +352,9 @@ HREF="FILE-CAPS" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style); int <A HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFD" @@ -322,10 +364,21 @@ HREF="libxslt-xsltutils.html#XSLTSAVERESULTTOFD" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A +> style); +void <A +HREF="libxslt-xsltutils.html#XSLTDEBUG" +>xsltDebug</A +> (<A +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr</A +> ctxt, <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK -> style);</PRE +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> node);</PRE ></TD ></TR ></TABLE @@ -333,7 +386,7 @@ HREF="XSLTSTYLESHEETPTR" ><DIV CLASS="REFSECT1" ><A -NAME="AEN822" +NAME="AEN974" ></A ><H2 >Description</H2 @@ -343,14 +396,14 @@ NAME="AEN822" ><DIV CLASS="REFSECT1" ><A -NAME="AEN825" +NAME="AEN977" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A -NAME="AEN827" +NAME="AEN979" ></A ><H3 ><A @@ -450,7 +503,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN852" +NAME="AEN1004" ></A ><H3 ><A @@ -529,7 +582,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN871" +NAME="AEN1023" ></A ><H3 ><A @@ -671,7 +724,307 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN906" +NAME="AEN1058" +></A +><H3 +><A +NAME="XMLXPATHNEXTPRECEDING" +></A +>xmlXPathNextPreceding ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> xmlXPathNextPreceding (<GTKDOCLINK +HREF="XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</GTKDOCLINK +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> cur);</PRE +></TD +></TR +></TABLE +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN1083" +></A +><H3 +><A +NAME="XMLXPATHNEXTANCESTOR" +></A +>xmlXPathNextAncestor ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> xmlXPathNextAncestor (<GTKDOCLINK +HREF="XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</GTKDOCLINK +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> cur);</PRE +></TD +></TR +></TABLE +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN1108" +></A +><H3 +><A +NAME="XMLXPATHNEXTPRECEDINGSIBLING" +></A +>xmlXPathNextPrecedingSibling ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +><GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> xmlXPathNextPrecedingSibling (<GTKDOCLINK +HREF="XMLXPATHPARSERCONTEXTPTR" +>xmlXPathParserContextPtr</GTKDOCLINK +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> cur);</PRE +></TD +></TR +></TABLE +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>cur</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><I +CLASS="EMPHASIS" +>Returns</I +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> </TD +></TR +></TABLE +><P +></P +></DIV +></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN1133" ></A ><H3 ><A @@ -697,7 +1050,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN911" +NAME="AEN1138" ></A ><H3 ><A @@ -723,7 +1076,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN916" +NAME="AEN1143" ></A ><H3 ><A @@ -781,7 +1134,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN930" +NAME="AEN1157" ></A ><H3 ><A @@ -856,7 +1209,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN948" +NAME="AEN1175" ></A ><H3 ><A @@ -882,7 +1235,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN953" +NAME="AEN1180" ></A ><H3 ><A @@ -908,7 +1261,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN958" +NAME="AEN1185" ></A ><H3 ><A @@ -934,7 +1287,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN963" +NAME="AEN1190" ></A ><H3 ><A @@ -960,7 +1313,7 @@ CLASS="PROGRAMLISTING" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN968" +NAME="AEN1195" ></A ><H3 ><A @@ -1065,7 +1418,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN994" +NAME="AEN1221" ></A ><H3 ><A @@ -1177,7 +1530,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1019" +NAME="AEN1246" ></A ><H3 ><A @@ -1289,7 +1642,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1044" +NAME="AEN1271" ></A ><H3 ><A @@ -1357,7 +1710,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1061" +NAME="AEN1288" ></A ><H3 ><A @@ -1488,7 +1841,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1092" +NAME="AEN1319" ></A ><H3 ><A @@ -1512,9 +1865,9 @@ HREF="XMLOUTPUTBUFFERPTR" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -1624,7 +1977,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1125" +NAME="AEN1352" ></A ><H3 ><A @@ -1645,9 +1998,9 @@ CLASS="PROGRAMLISTING" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style, int compression);</PRE ></TD @@ -1775,7 +2128,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1161" +NAME="AEN1388" ></A ><H3 ><A @@ -1799,9 +2152,9 @@ HREF="FILE-CAPS" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -1912,7 +2265,7 @@ VALIGN="TOP" ><HR><DIV CLASS="REFSECT2" ><A -NAME="AEN1194" +NAME="AEN1421" ></A ><H3 ><A @@ -1933,9 +2286,9 @@ CLASS="PROGRAMLISTING" HREF="XMLDOCPTR" >xmlDocPtr</GTKDOCLINK > result, - <GTKDOCLINK -HREF="XSLTSTYLESHEETPTR" ->xsltStylesheetPtr</GTKDOCLINK + <A +HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR" +>xsltStylesheetPtr</A > style);</PRE ></TD ></TR @@ -2038,6 +2391,90 @@ VALIGN="TOP" ></P ></DIV ></DIV +><HR><DIV +CLASS="REFSECT2" +><A +NAME="AEN1452" +></A +><H3 +><A +NAME="XSLTDEBUG" +></A +>xsltDebug ()</H3 +><TABLE +BORDER="0" +BGCOLOR="#D6E8FF" +WIDTH="100%" +CELLPADDING="6" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +>void xsltDebug (<A +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr</A +> ctxt, + <GTKDOCLINK +HREF="XMLNODEPTR" +>xmlNodePtr</GTKDOCLINK +> node);</PRE +></TD +></TR +></TABLE +><P +>Process an debug node</P +><P +></P +><DIV +CLASS="INFORMALTABLE" +><P +></P +><TABLE +BORDER="0" +WIDTH="100%" +BGCOLOR="#FFD0D0" +CELLSPACING="0" +CELLPADDING="4" +CLASS="CALSTABLE" +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>ctxt</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> an XSLT processing context</TD +></TR +><TR +><TD +WIDTH="20%" +ALIGN="RIGHT" +VALIGN="TOP" +><TT +CLASS="PARAMETER" +><I +>node</I +></TT +> :</TD +><TD +WIDTH="80%" +ALIGN="LEFT" +VALIGN="TOP" +> The current node</TD +></TR +></TABLE +><P +></P +></DIV +></DIV ></DIV ><DIV CLASS="NAVFOOTER" diff --git a/doc/xslt.html b/doc/xslt.html index 3f3f0e8f..02abdd1b 100644 --- a/doc/xslt.html +++ b/doc/xslt.html @@ -144,6 +144,25 @@ platform, get in touch with me to upload the package. I will keep them in the href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog">Changelog</a> file for a really accurate description</h3> +<p>0.2.0: Feb 15 2000</p> +<ul> + <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>Still misses extension element/function/prefixes support. Support of + key() and document() is not complete</li> +</ul> + +<h3>0.1.0: Feb 8 2000</h3> +<ul> + <li>first beta version, released at the same time as libxml2-2.3.0</li> + <li>lots of bug fixes, first "testing" version, but incomplete</li> +</ul> + <h3>0.0.1: Jan 25 2000</h3> <ul> <li>first alpha version released at the same time as libxml2-2.2.12</li> @@ -162,7 +181,28 @@ the processing is redirected on the standard output.</p> <p>@@TODO</p> +<p>check the<a href="libxslt-lib.html"> generated pages</a> and the source of +xsltproc.c, basically done in a few steps:</p> +<ol> + <li>configure the parser for XSLT: + <p>xmlSubstituteEntitiesDefault(1);</p> + <p>xmlLoadExtDtdDefaultValue = 1; </p> + </li> + <li>parse the stylesheet with xsltParseStylesheetFile()</li> + <li>parse the document with xmlParseFile()</li> + <li>apply the stylesheet using xsltApplyStylesheet()</li> + <li>save the result using xsltSaveResultToFile() if needed set + xmlIndentTreeOutput to 1</li> +</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</p> + <h2><a name="Contributi">Contributions</a></h2> +<ul> + <li>Bjorn Reese is the author of the number support</li> +</ul> <p></p> |