mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-06-18 09:01:51 +03:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user