1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-06-15 10:41:43 +03:00

fixed the API generation scripts. regenerated updated too updated too

* doc/Makefile.am doc/parsedecl.py: fixed the API generation
  scripts.
* doc/libxslt-api.xml doc/libxslt-refs.xml: regenerated
* doc/html/*.html: updated too
* python/libxsltclass.txt: updated too
Daniel
This commit is contained in:
Daniel Veillard
2002-11-26 15:05:17 +00:00
parent 9939488864
commit 433a51586a
25 changed files with 2168 additions and 1045 deletions

View File

@ -117,7 +117,9 @@ SIZE="3"
></DIV
><H1
><A
NAME="LIBXSLT-XSLTUTILS">xsltutils</H1
NAME="LIBXSLT-XSLTUTILS"
></A
>xsltutils</H1
><DIV
CLASS="REFNAMEDIV"
><A
@ -129,7 +131,9 @@ NAME="AEN2176"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN2179"><H2
NAME="AEN2179"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
@ -180,6 +184,11 @@ HREF="XMLCHAR"
HREF="XMLCHAR"
>xmlChar</GTKDOCLINK
> *nameSpace);
int <A
HREF="libxslt-xsltutils.html#XSLTGETUTF8CHAR"
>xsltGetUTF8Char</A
> (unsigned char *utf,
int *len);
void <A
HREF="libxslt-xsltutils.html#XSLTPRINTERRORCONTEXT"
>xsltPrintErrorContext</A
@ -371,6 +380,16 @@ HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output);
<GTKDOCLINK
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> <A
HREF="libxslt-xsltutils.html#XSLTGETPROFILEINFORMATION"
>xsltGetProfileInformation</A
> (<A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
> ctxt);
<GTKDOCLINK
HREF="LONG"
>long</GTKDOCLINK
> <A
@ -381,9 +400,9 @@ void <A
HREF="libxslt-xsltutils.html#XSLTCALIBRATEADJUST"
>xsltCalibrateAdjust</A
> (<GTKDOCLINK
HREF="LONG"
>long</GTKDOCLINK
> delta);
HREF="LONG-DELTA"
>long delta</GTKDOCLINK
>);
#define <A
HREF="libxslt-xsltutils.html#XSLT-TIMESTAMP-TICS-PER-SEC-CAPS"
>XSLT_TIMESTAMP_TICS_PER_SEC</A
@ -453,7 +472,7 @@ HREF="libxslt-xsltutils.html#XSLDROPCALL"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN2261"
NAME="AEN2265"
></A
><H2
>Description</H2
@ -463,14 +482,14 @@ NAME="AEN2261"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN2264"
NAME="AEN2268"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN2266"
NAME="AEN2270"
></A
><H3
><A
@ -496,7 +515,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2271"
NAME="AEN2275"
></A
><H3
><A
@ -522,7 +541,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2276"
NAME="AEN2280"
></A
><H3
><A
@ -549,7 +568,9 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2282"><P
NAME="AEN2286"
></A
><P
></P
><TABLE
BORDER="0"
@ -585,7 +606,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2291"
NAME="AEN2295"
></A
><H3
><A
@ -612,7 +633,9 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2297"><P
NAME="AEN2301"
></A
><P
></P
><TABLE
BORDER="0"
@ -665,7 +688,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2310"
NAME="AEN2314"
></A
><H3
><A
@ -692,7 +715,9 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2316"><P
NAME="AEN2320"
></A
><P
></P
><TABLE
BORDER="0"
@ -728,7 +753,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2325"
NAME="AEN2329"
></A
><H3
><A
@ -783,7 +808,9 @@ default declaration values unless DTD use has been turned off.</P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2339"><P
NAME="AEN2343"
></A
><P
></P
><TABLE
BORDER="0"
@ -861,7 +888,7 @@ WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>the attribute value or NULL if not found.
It's up to the caller to free the memory.</TD
It's up to the caller to free the memory.</TD
></TR
></TBODY
></TABLE
@ -872,7 +899,129 @@ It's up to the caller to free the memory.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2360"
NAME="AEN2364"
></A
><H3
><A
NAME="XSLTGETUTF8CHAR"
></A
>xsltGetUTF8Char ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xsltGetUTF8Char (unsigned char *utf,
int *len);</PRE
></TD
></TR
></TABLE
><P
>Read one UTF8 Char from <TT
CLASS="PARAMETER"
><I
>utf</I
></TT
>
Function copied from libxml2 <GTKDOCLINK
HREF="XMLGETUTF8CHAR"
>xmlGetUTF8Char</GTKDOCLINK
>() ... to discard ultimately
and use the original API</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2372"
></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
>utf</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> a sequence of UTF-8 encoded bytes</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>len</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> a pointer to <TT
CLASS="PARAMETER"
><I
>bytes</I
></TT
> len</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>the char value or -1 in case of error and update <TT
CLASS="PARAMETER"
><I
>len</I
></TT
> with the
number of bytes used</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2391"
></A
><H3
><A
@ -910,7 +1059,9 @@ HREF="XMLNODEPTR"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2369"><P
NAME="AEN2400"
></A
><P
></P
><TABLE
BORDER="0"
@ -980,7 +1131,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2386"
NAME="AEN2417"
></A
><H3
><A
@ -1018,7 +1169,9 @@ HREF="XMLNODEPTR"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2395"><P
NAME="AEN2426"
></A
><P
></P
><TABLE
BORDER="0"
@ -1088,7 +1241,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2412"
NAME="AEN2443"
></A
><H3
><A
@ -1150,7 +1303,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2424"><P
NAME="AEN2455"
></A
><P
></P
><TABLE
BORDER="0"
@ -1203,7 +1358,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2437"
NAME="AEN2468"
></A
><H3
><A
@ -1265,7 +1420,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2449"><P
NAME="AEN2480"
></A
><P
></P
><TABLE
BORDER="0"
@ -1318,7 +1475,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2462"
NAME="AEN2493"
></A
><H3
><A
@ -1362,7 +1519,9 @@ error messages while running the transformation.</P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2472"><P
NAME="AEN2503"
></A
><P
></P
><TABLE
BORDER="0"
@ -1432,7 +1591,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2489"
NAME="AEN2520"
></A
><H3
><A
@ -1473,7 +1632,9 @@ extra parameters, will use the specific transformation context if available</P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2498"><P
NAME="AEN2529"
></A
><P
></P
><TABLE
BORDER="0"
@ -1577,7 +1738,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2523"
NAME="AEN2554"
></A
><H3
><A
@ -1612,7 +1773,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2531"><P
NAME="AEN2562"
></A
><P
></P
><TABLE
BORDER="0"
@ -1648,7 +1811,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2540"
NAME="AEN2571"
></A
><H3
><A
@ -1684,7 +1847,9 @@ requirement provided by the arry of nodes.</P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2548"><P
NAME="AEN2579"
></A
><P
></P
><TABLE
BORDER="0"
@ -1754,7 +1919,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2565"
NAME="AEN2596"
></A
><H3
><A
@ -1807,13 +1972,15 @@ CLASS="PARAMETER"
> to NULL.</P
><P
>NOTE: the namespace returned is a pointer to the place where it is
defined and hence has the same lifespan as the document holding it.</P
defined and hence has the same lifespan as the document holding it.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2578"><P
NAME="AEN2609"
></A
><P
></P
><TABLE
BORDER="0"
@ -1879,7 +2046,7 @@ CLASS="PARAMETER"
>name</I
></TT
> is
not prefixed.</TD
not prefixed.</TD
></TR
></TBODY
></TABLE
@ -1890,7 +2057,7 @@ not prefixed.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2596"
NAME="AEN2627"
></A
><H3
><A
@ -1944,7 +2111,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2608"><P
NAME="AEN2639"
></A
><P
></P
><TABLE
BORDER="0"
@ -2032,7 +2201,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2629"
NAME="AEN2660"
></A
><H3
><A
@ -2084,7 +2253,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2640"><P
NAME="AEN2671"
></A
><P
></P
><TABLE
BORDER="0"
@ -2189,7 +2360,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2665"
NAME="AEN2696"
></A
><H3
><A
@ -2244,7 +2415,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2677"><P
NAME="AEN2708"
></A
><P
></P
><TABLE
BORDER="0"
@ -2332,7 +2505,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2698"
NAME="AEN2729"
></A
><H3
><A
@ -2379,7 +2552,9 @@ This does not close the descriptor.</P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2708"><P
NAME="AEN2739"
></A
><P
></P
><TABLE
BORDER="0"
@ -2467,7 +2642,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2729"
NAME="AEN2760"
></A
><H3
><A
@ -2522,7 +2697,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2741"><P
NAME="AEN2772"
></A
><P
></P
><TABLE
BORDER="0"
@ -2627,7 +2804,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2766"
NAME="AEN2797"
></A
><H3
><A
@ -2666,7 +2843,9 @@ CLASS="PARAMETER"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2775"><P
NAME="AEN2806"
></A
><P
></P
><TABLE
BORDER="0"
@ -2719,7 +2898,111 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2788"
NAME="AEN2819"
></A
><H3
><A
NAME="XSLTGETPROFILEINFORMATION"
></A
>xsltGetProfileInformation ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="XMLDOCPTR"
>xmlDocPtr</GTKDOCLINK
> xsltGetProfileInformation (<A
HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
>xsltTransformContextPtr</A
> ctxt);</PRE
></TD
></TR
></TABLE
><P
>This function should be called after the transformation completed
to extract template processing profiling informations if availble.
The informations are returned as an XML document tree like
&lt;?xml version="1.0"?&gt;
&lt;profile&gt;
&lt;template rank="1" match="*" name=""
mode="" calls="6" time="48" average="8"/&gt;
&lt;template rank="2" match="item2|item3" name=""
mode="" calls="10" time="30" average="3"/&gt;
&lt;template rank="3" match="item1" name=""
mode="" calls="5" time="17" average="3"/&gt;
&lt;/profile&gt;
The caller will need to free up the returned tree with <GTKDOCLINK
HREF="XMLFREEDOC"
>xmlFreeDoc</GTKDOCLINK
>()</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2828"
></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
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> a transformation context</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>the xmlDocPtr corresponding to the result or NULL if not available.</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2841"
></A
><H3
><A
@ -2749,7 +3032,9 @@ HREF="LONG"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2795"><P
NAME="AEN2848"
></A
><P
></P
><TABLE
BORDER="0"
@ -2787,7 +3072,7 @@ profiling</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2804"
NAME="AEN2857"
></A
><H3
><A
@ -2804,9 +3089,9 @@ CELLPADDING="6"
><PRE
CLASS="PROGRAMLISTING"
>void xsltCalibrateAdjust (<GTKDOCLINK
HREF="LONG"
>long</GTKDOCLINK
> delta);</PRE
HREF="LONG-DELTA"
>long delta</GTKDOCLINK
>);</PRE
></TD
></TR
></TABLE
@ -2820,7 +3105,9 @@ HREF="libxslt-xsltutils.html#XSLTTIMESTAMP"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2812"><P
NAME="AEN2865"
></A
><P
></P
><TABLE
BORDER="0"
@ -2838,14 +3125,14 @@ VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>delta</I
>Param1</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> a negative dealy value found</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
@ -2856,7 +3143,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2821"
NAME="AEN2874"
></A
><H3
><A
@ -2882,7 +3169,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2826"
NAME="AEN2879"
></A
><H3
><A
@ -2919,7 +3206,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2831"
NAME="AEN2884"
></A
><H3
><A
@ -2959,7 +3246,9 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2840"><P
NAME="AEN2893"
></A
><P
></P
><TABLE
BORDER="0"
@ -3046,7 +3335,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2861"
NAME="AEN2914"
></A
><H3
><A
@ -3078,7 +3367,9 @@ HREF="XMLNODEPTR"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2868"><P
NAME="AEN2921"
></A
><P
></P
><TABLE
BORDER="0"
@ -3149,7 +3440,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2885"
NAME="AEN2938"
></A
><H3
><A
@ -3175,7 +3466,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2890"
NAME="AEN2943"
></A
><H3
><A
@ -3201,7 +3492,9 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2895"><P
NAME="AEN2948"
></A
><P
></P
><TABLE
BORDER="0"
@ -3272,7 +3565,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2912"
NAME="AEN2965"
></A
><H3
><A
@ -3306,7 +3599,9 @@ HREF="XMLNODEPTR"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2920"><P
NAME="AEN2973"
></A
><P
></P
><TABLE
BORDER="0"
@ -3367,7 +3662,7 @@ WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>: 1 on sucess 0 otherwise an error may be printed if
WITH_XSLT_DEBUG_BREAKPOINTS is defined</TD
WITH_XSLT_DEBUG_BREAKPOINTS is defined</TD
></TR
></TBODY
></TABLE
@ -3378,7 +3673,7 @@ WITH_XSLT_DEBUG_BREAKPOINTS is defined</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN2937"
NAME="AEN2990"
></A
><H3
><A