preparing 1.0.7 cleanup similar to libxml2 one finished cleaning up
authorDaniel Veillard <veillard@src.gnome.org>
Sat, 10 Nov 2001 13:35:26 +0000 (13:35 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Sat, 10 Nov 2001 13:35:26 +0000 (13:35 +0000)
* configure.in: preparing 1.0.7
* libxslt.spec.in: cleanup similar to libxml2 one
* breakpoint/*.[hc]: finished cleaning up contributed code
* doc/*: updated and rebuilt the documentation
* xsltproc/xsltproc.c: cleanup of the timing code
* xsltproc/Makefile.am: auto* sucks
* libxslt/transform.c: added a missing include
Daniel

24 files changed:
ChangeLog
breakpoint/breakpoint.h
breakpoint/dbgbreakpoint.c
breakpoint/dbgcallstack.c
breakpoint/dbgmain.c
breakpoint/dbgsearch.c
config.h.in
configure.in
doc/downloads.html
doc/html/libxslt-attributes.html
doc/html/libxslt-imports.html
doc/html/libxslt-keys.html
doc/html/libxslt-namespaces.html
doc/html/libxslt-numbersinternals.html
doc/html/libxslt-transform.html
doc/html/libxslt-variables.html
doc/html/libxslt-xsltinternals.html
doc/html/libxslt-xsltutils.html
doc/news.html
doc/xslt.html
libxslt.spec.in
libxslt/transform.c
xsltproc/Makefile.am
xsltproc/xsltproc.c

index 553e61cb2a2b1a362f68e6cec618c1554c696932..7b7b662ea1a1a045ff013b09c70d5afd246d010f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Sat Nov 10 14:01:44 CET 2001 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in: preparing 1.0.7
+       * libxslt.spec.in: cleanup similar to libxml2 one
+       * breakpoint/*.[hc]: finished cleaning up contributed code
+       * doc/*: updated and rebuilt the documentation
+       * xsltproc/xsltproc.c: cleanup of the timing code
+       * xsltproc/Makefile.am: auto* sucks
+       * libxslt/transform.c: added a missing include
+
 Mon Nov  5 14:29:26 CET 2001 Daniel Veillard <daniel@veillard.com>
 
        * Makefile.am acconfig.h config.h.in configure.in 
index 4c6f17033a47675c8b8a3ce407a9e1d997fe7eb1..9af664f98dfe656b9fdd5cd1cf56523376e1f325 100644 (file)
 #include <libxml/xpath.h>
 #include <libxml/list.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Define the types of status whilst debugging*/
 typedef enum {
     DEBUG_NONE,                 /* no debugging allowed */
@@ -62,7 +66,7 @@ struct _xslBreakPoint {
 -----------------------------------------------------------
              Break point related functions
 ----------------------------------------------------------
-*
+*/
 
 /**
  * xslFindTemplateNode: 
@@ -81,7 +85,7 @@ xmlNodePtr xslFindTemplateNode(const xsltStylesheetPtr style,
  *
  * Return the break point number that we stoped at
 */
-int xslActiveBreakPoint();
+int xslActiveBreakPoint(void);
 
 
 /**
@@ -188,7 +192,7 @@ int xslIsBreakPointEnabled(int breakPointNumber);
  *
  * Returns  the number of break points present
  */
-int xslBreakPointCount();
+int xslBreakPointCount(void);
 
 
 /**
@@ -261,7 +265,7 @@ void xslDebugBreak(xmlNodePtr templ, xmlNodePtr node, xsltTemplatePtr root,
  *
  * Initialize debugger allocating any memory needed by debugger
  */
-void xslDebugInit();
+void xslDebugInit(void);
 
 
 /**
@@ -269,7 +273,7 @@ void xslDebugInit();
  *
  * Free up any memory taken by debugger
  */
-void xslDebugFree();
+void xslDebugFree(void);
 
 
 /** 
@@ -337,7 +341,7 @@ int xslAddCall(xsltTemplatePtr templ, xmlNodePtr source);
  *
  * Drop the topmost item off the call stack
  */
-void xslDropCall();
+void xslDropCall(void);
 
 
 /** 
@@ -379,7 +383,7 @@ xslCallPointPtr xslGetCall(int depth);
  *
  * Returns the top of the call stack
  */
-xslCallPointPtr xslGetCallStackTop();
+xslCallPointPtr xslGetCallStackTop(void);
 
 
 /**
@@ -387,10 +391,13 @@ xslCallPointPtr xslGetCallStackTop();
  *
  * Returns the depth of call stack
  */
-int xslCallDepth();
+int xslCallDepth(void);
 
 
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif
 
index c2bc233638617d71637a1ffef4df48ade86885ed..0f46d56ab26fbbee1976b1577fb9622a7048cfca 100644 (file)
@@ -43,7 +43,7 @@ xslActiveBreakPoint()
  *        0 otherwise 
  */
 int
-xslSetActiveBreakPoint(int breakPointNumber)
+xslSetActiveBreakPoint(int breakPointNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslSetActiveBreakPoint' not overloaded\n");
@@ -66,8 +66,8 @@ xslSetActiveBreakPoint(int breakPointNumber)
  *         0 otherwise 
 */
 int
-xslAddBreakPoint(const xmlChar * url, long lineNumber,
-                 const xmlChar * templateName, int type)
+xslAddBreakPoint(const xmlChar * url ATTRIBUTE_UNUSED, long lineNumber ATTRIBUTE_UNUSED,
+                 const xmlChar * templateName ATTRIBUTE_UNUSED, int type ATTRIBUTE_UNUSED)
 {
 
     xsltGenericError(xsltGenericErrorContext,
@@ -85,7 +85,7 @@ xslAddBreakPoint(const xmlChar * url, long lineNumber,
  *         0 otherwise
 */
 int
-xslDeleteBreakPoint(int breakPointNumber)
+xslDeleteBreakPoint(int breakPointNumber ATTRIBUTE_UNUSED)
 {
 
     xsltGenericError(xsltGenericErrorContext,
@@ -107,7 +107,7 @@ xslDeleteBreakPoint(int breakPointNumber)
  *         0 otherwise
 */
 int
-xslEnableBreakPoint(int breakPointNumber, int enable)
+xslEnableBreakPoint(int breakPointNumber ATTRIBUTE_UNUSED, int enable ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslEnableBreakPoint' not overloaded\n");
@@ -126,7 +126,7 @@ xslEnableBreakPoint(int breakPointNumber, int enable)
  *           1 if break point is enabled      
 */
 int
-xslIsBreakPointEnabled(int breakPointNumber)
+xslIsBreakPointEnabled(int breakPointNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslIsBreakPointEnabled' not overloaded\n");
@@ -155,7 +155,7 @@ xslBreakPointCount()
  *          NULL otherwise
 */
 xslBreakPointPtr
-xslGetBreakPoint(int breakPointNumber)
+xslGetBreakPoint(int breakPointNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslGetBreakPoint' not overloaded\n");
@@ -174,7 +174,7 @@ xslGetBreakPoint(int breakPointNumber)
  *          0 otherwise
  */
 int
-xslPrintBreakPoint(FILE * file, int breakPointNumber)
+xslPrintBreakPoint(FILE * file ATTRIBUTE_UNUSED, int breakPointNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslPrintBreakPoint' not overloaded\n");
@@ -194,7 +194,7 @@ xslPrintBreakPoint(FILE * file, int breakPointNumber)
  *         0 otherwise
 */
 int
-xslIsBreakPoint(const xmlChar * url, long lineNumber)
+xslIsBreakPoint(const xmlChar * url ATTRIBUTE_UNUSED, long lineNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslIsBreakPoint' not overloaded\n");
@@ -212,7 +212,7 @@ xslIsBreakPoint(const xmlChar * url, long lineNumber)
  *           0 otherwise
  */
 int
-xslIsBreakPointNode(xmlNodePtr node)
+xslIsBreakPointNode(xmlNodePtr node ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslIsBreakPointNode' not overloaded\n");
index 778a14e30a1d0ce52398a17bd769ff245ebf04b2..4831d0d47ff0b23ba805b6626084bb47d6d7b950 100644 (file)
@@ -17,6 +17,7 @@
 -----------------------------------------------------
 */
 
+#include "libxslt.h"
 #include "xsltutils.h"
 #include "breakpoint.h"
 
@@ -29,7 +30,8 @@
  * Returns a reference to the added info if sucessfull, otherwise NULL  
  */
 xslCallPointInfoPtr
-xslAddCallInfo(const xmlChar * templateName, const xmlChar * url)
+xslAddCallInfo(const xmlChar * templateName ATTRIBUTE_UNUSED,
+              const xmlChar * url ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslAddCallInfo' not overloaded\n");
@@ -47,7 +49,7 @@ xslAddCallInfo(const xmlChar * templateName, const xmlChar * url)
  * Returns : 1 on sucess, 0 otherwise
  */
 int
-xslAddCall(xsltTemplatePtr templ, xmlNodePtr source)
+xslAddCall(xsltTemplatePtr templ ATTRIBUTE_UNUSED, xmlNodePtr source ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslAddCall' not overloaded\n");
@@ -62,7 +64,7 @@ xslAddCall(xsltTemplatePtr templ, xmlNodePtr source)
  * Drop the topmost item off the call stack
  */
 void
-xslDropCall()
+xslDropCall(void)
 {
 
     xsltGenericError(xsltGenericErrorContext,
@@ -79,7 +81,7 @@ xslDropCall()
  * Returns 1 on sucess , 0 otherwise
  */
 int
-xslStepupToDepth(int depth)
+xslStepupToDepth(int depth ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslStepupToDepth' not overloaded\n");
@@ -95,7 +97,7 @@ xslStepupToDepth(int depth)
  * Returns 1 on sucess , 0 otherwise
  */
 int
-xslStepdownToDepth(int depth)
+xslStepdownToDepth(int depth ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslStepdownToDepth' not overloaded\n");
@@ -113,7 +115,7 @@ xslStepdownToDepth(int depth)
  *         NULL otherwise 
  */
 xslCallPointPtr
-xslGetCall(int depth)
+xslGetCall(int depth ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslGetCall' not overloaded\n");
@@ -128,7 +130,7 @@ xslGetCall(int depth)
  * Returns the top of the call stack
  */
 xslCallPointPtr
-xslGetCallStackTop()
+xslGetCallStackTop(void)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslGetCallStackTop' not overloaded\n");
@@ -143,7 +145,7 @@ xslGetCallStackTop()
  * Return the depth of call stack
  */
 int
-xslCallDepth()
+xslCallDepth(void)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslCallDepth' not overloaded\n");
index e1efda7582ac851f4ad62ec68e2233ab5f9ed760..1356a466d9d0404b95b604dc61e89a760b94b1b2 100644 (file)
@@ -52,6 +52,7 @@ xslDebugFree()
 
 extern char *xslShellReadline(char *prompt);
 
+
 /**
  * @templ : The source node being executed
  * @node : The data node being processed
@@ -61,8 +62,10 @@ extern char *xslShellReadline(char *prompt);
  * A break point has been found so pass control to user
  */
 void
-xslDebugBreak(xmlNodePtr templ, xmlNodePtr node, xsltTemplatePtr root,
-              xsltTransformContextPtr ctxt)
+xslDebugBreak(xmlNodePtr templ ATTRIBUTE_UNUSED,
+              xmlNodePtr node ATTRIBUTE_UNUSED,
+              xsltTemplatePtr root ATTRIBUTE_UNUSED,
+              xsltTransformContextPtr ctxt ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslDebugBreak' not overloaded\n");
index 3d911499c1ac131133212ea5310b75d12502862e..1d3fb78591718f22f05f491b5e70b20c67f16056 100644 (file)
@@ -30,7 +30,8 @@
  *           NULL otherwise 
  */
 xmlNodePtr
-xslFindTemplateNode(xsltStylesheetPtr style, const xmlChar * name)
+xslFindTemplateNode(xsltStylesheetPtr style ATTRIBUTE_UNUSED,
+                    const xmlChar * name ATTRIBUTE_UNUSED)
 {
 
     xsltGenericError(xsltGenericErrorContext,
@@ -51,8 +52,9 @@ xslFindTemplateNode(xsltStylesheetPtr style, const xmlChar * name)
  *         0 otherwise
 */
 xmlNodePtr
-xslFindNodeByLineNo(xsltTransformContextPtr ctxt,
-                    const xmlChar * url, long lineNumber)
+xslFindNodeByLineNo(xsltTransformContextPtr ctxt ATTRIBUTE_UNUSED,
+                    const xmlChar * url ATTRIBUTE_UNUSED,
+                    long lineNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslFindNodeByLineNo' not overloaded\n");
@@ -70,7 +72,7 @@ xslFindNodeByLineNo(xsltTransformContextPtr ctxt,
  *          0 otherwise 
  */
 int
-xslFindBreakPointById(int id)
+xslFindBreakPointById(int id ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslFindBreakPointById' not overloaded\n");
@@ -89,7 +91,8 @@ xslFindBreakPointById(int id)
  *         0 otherwise
 */
 int
-xslFindBreakPointByLineNo(const xmlChar * url, long lineNumber)
+xslFindBreakPointByLineNo(const xmlChar * url ATTRIBUTE_UNUSED,
+                          long lineNumber ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslFindBreakPointByLineNo' not overloaded\n");
@@ -108,7 +111,7 @@ xslFindBreakPointByLineNo(const xmlChar * url, long lineNumber)
  *          0 otherwise
 */
 int
-xslFindBreakPointByName(const xmlChar * templateName)
+xslFindBreakPointByName(const xmlChar * templateName ATTRIBUTE_UNUSED)
 {
     xsltGenericError(xsltGenericErrorContext,
                      "Error!: Debugger function 'xslFindBreakPointByName' not overloaded\n");
index 08af5633cd4039cdc295950fed32e2f048ee9d50..ce889f73edb2bd06b69a696ff6d54f4217e03e03 100644 (file)
@@ -55,6 +55,9 @@
 /* Define if you have the <nan.h> header file.  */
 #undef HAVE_NAN_H
 
+/* Define if you have the <stdarg.h> header file.  */
+#undef HAVE_STDARG_H
+
 /* Define if you have the <stdlib.h> header file.  */
 #undef HAVE_STDLIB_H
 
index 7dddf069f1ca578a1fa0ab909ebd95dca2d16bc0..208fb701c1e773d7052c0907f52809a5ac9b154b 100644 (file)
@@ -78,7 +78,7 @@ dnl
 
 AC_CHECK_HEADERS(sys/types.h sys/time.h stdlib.h unistd.h string.h)
 AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h)
-AC_CHECK_HEADERS(time.h sys/stat.h)
+AC_CHECK_HEADERS(time.h sys/stat.h stdarg.h)
 AC_CHECK_FUNCS(stat _stat)
 
 AC_CHECK_FUNC(isnan, , AC_CHECK_LIB(m, isnan,
index bdc3a44f792a883abdf5f1178bec83468c5fc807..d2ff660df7417c6f5f539565aa889d6d7890c711 100644 (file)
@@ -74,9 +74,15 @@ platform, get in touch with me to upload the package. I will keep them in the
 <a href="ftp://xmlsoft.org/contribs/">contrib directory</a>
 </p>
 <p>Libxslt is also available from CVS:</p>
-<ul><li><p>The <a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=libxslt">Gnome
+<ul>
+<li><p>The <a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;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></li></ul>
+    page; the CVS module is <b>libxslt</b>.</p></li>
+<li>
+<a href="ftp://xmlsoft.org/XSLT/cvs-snapshot.tar.gzftp://xmlsoft.org/XSLT/cvs-snapshot.tar.gzftp://xmlsoft.org/XSLT/cvs-snapshot.tar.gz">daily
+    snapshots from CVS</a>
+     are also provided</li>
+</ul>
 <p><a href="mailto:daniel@veillard.com">Daniel Veillard</a></p>
 </td></tr></table></td></tr></table></td></tr></table></td>
 </tr></table></td></tr></table>
index f9b6aa544970818cf93253159e28eb1a00cb82be..38e9f052c29e5a6a53b60c8558e9ca69cd7d82c5 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-ATTRIBUTES"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2498"
+NAME="AEN2534"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN2498"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2501"
+NAME="AEN2537"
 ></A
 ><H2
 >Synopsis</H2
@@ -190,7 +190,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2514"
+NAME="AEN2550"
 ></A
 ><H2
 >Description</H2
@@ -200,14 +200,14 @@ NAME="AEN2514"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2517"
+NAME="AEN2553"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2519"
+NAME="AEN2555"
 ></A
 ><H3
 ><A
@@ -242,7 +242,7 @@ elements needing preserving</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2527"
+NAME="AEN2563"
 ></A
 ><P
 ></P
@@ -297,7 +297,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2540"
+NAME="AEN2576"
 ></A
 ><H3
 ><A
@@ -327,7 +327,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2547"
+NAME="AEN2583"
 ></A
 ><P
 ></P
@@ -365,7 +365,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2556"
+NAME="AEN2592"
 ></A
 ><H3
 ><A
@@ -407,7 +407,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2566"
+NAME="AEN2602"
 ></A
 ><P
 ></P
index c9183322b4436f59fc28873724d0e6d382858fc6..b95fc0da9c498d7c145c0c4d1c683d56cef374a0 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-IMPORTS"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2592"
+NAME="AEN2628"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN2592"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2595"
+NAME="AEN2631"
 ></A
 ><H2
 >Synopsis</H2
@@ -229,7 +229,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2619"
+NAME="AEN2655"
 ></A
 ><H2
 >Description</H2
@@ -239,14 +239,14 @@ NAME="AEN2619"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2622"
+NAME="AEN2658"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2624"
+NAME="AEN2660"
 ></A
 ><H3
 ><A
@@ -273,7 +273,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2630"
+NAME="AEN2666"
 ></A
 ><P
 ></P
@@ -345,7 +345,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2647"
+NAME="AEN2683"
 ></A
 ><H3
 ><A
@@ -372,7 +372,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2653"
+NAME="AEN2689"
 ></A
 ><P
 ></P
@@ -444,7 +444,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2670"
+NAME="AEN2706"
 ></A
 ><H3
 ><A
@@ -479,7 +479,7 @@ elements needing stripping</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2678"
+NAME="AEN2714"
 ></A
 ><P
 ></P
@@ -534,7 +534,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2691"
+NAME="AEN2727"
 ></A
 ><H3
 ><A
@@ -569,7 +569,7 @@ elements needing stripping</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2699"
+NAME="AEN2735"
 ></A
 ><P
 ></P
@@ -624,7 +624,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2712"
+NAME="AEN2748"
 ></A
 ><H3
 ><A
@@ -657,7 +657,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2720"
+NAME="AEN2756"
 ></A
 ><P
 ></P
@@ -710,7 +710,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2733"
+NAME="AEN2769"
 ></A
 ><H3
 ><A
@@ -740,7 +740,7 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2740"
+NAME="AEN2776"
 ></A
 ><P
 ></P
@@ -793,7 +793,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2753"
+NAME="AEN2789"
 ></A
 ><H3
 ><A
@@ -828,7 +828,7 @@ respect the import precedence or the wildcards</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2761"
+NAME="AEN2797"
 ></A
 ><P
 ></P
@@ -899,7 +899,7 @@ should be CDTATA wrapped.</TD
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2778"
+NAME="AEN2814"
 ></A
 ><H3
 ><A
@@ -940,7 +940,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2788"
+NAME="AEN2824"
 ></A
 ><P
 ></P
index 08fecccb324075a96f67d01312039425e4c766e2..b9bf9acdb88f538aceb1ed0790c1e6eed3bd6a52 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-KEYS"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3470"
+NAME="AEN3506"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN3470"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN3473"
+NAME="AEN3509"
 ></A
 ><H2
 >Synopsis</H2
@@ -227,7 +227,7 @@ HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3496"
+NAME="AEN3532"
 ></A
 ><H2
 >Description</H2
@@ -237,14 +237,14 @@ NAME="AEN3496"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3499"
+NAME="AEN3535"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3501"
+NAME="AEN3537"
 ></A
 ><H3
 ><A
@@ -294,7 +294,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3513"
+NAME="AEN3549"
 ></A
 ><P
 ></P
@@ -432,7 +432,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3546"
+NAME="AEN3582"
 ></A
 ><H3
 ><A
@@ -477,7 +477,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3557"
+NAME="AEN3593"
 ></A
 ><P
 ></P
@@ -581,7 +581,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3582"
+NAME="AEN3618"
 ></A
 ><H3
 ><A
@@ -616,7 +616,7 @@ Should be done before global varibales are initialized.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3590"
+NAME="AEN3626"
 ></A
 ><P
 ></P
@@ -671,7 +671,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3603"
+NAME="AEN3639"
 ></A
 ><H3
 ><A
@@ -701,7 +701,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3610"
+NAME="AEN3646"
 ></A
 ><P
 ></P
@@ -739,7 +739,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3619"
+NAME="AEN3655"
 ></A
 ><H3
 ><A
@@ -769,7 +769,7 @@ HREF="libxslt-xsltinternals.html#XSLTDOCUMENTPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3626"
+NAME="AEN3662"
 ></A
 ><P
 ></P
index 0692d659f6a6e5bb7ca346c76d9033f66c031c04..a3907ac85c8cef0f8c280226fba112274c388271 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-NAMESPACES"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2814"
+NAME="AEN2850"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN2814"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2817"
+NAME="AEN2853"
 ></A
 ><H2
 >Synopsis</H2
@@ -255,7 +255,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2848"
+NAME="AEN2884"
 ></A
 ><H2
 >Description</H2
@@ -265,14 +265,14 @@ NAME="AEN2848"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2851"
+NAME="AEN2887"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2853"
+NAME="AEN2889"
 ></A
 ><H3
 ><A
@@ -307,7 +307,7 @@ them as well as the corresponding namespace.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2861"
+NAME="AEN2897"
 ></A
 ><P
 ></P
@@ -362,7 +362,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2874"
+NAME="AEN2910"
 ></A
 ><H3
 ><A
@@ -409,7 +409,7 @@ Handle namespace aliases</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2885"
+NAME="AEN2921"
 ></A
 ><P
 ></P
@@ -513,7 +513,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2910"
+NAME="AEN2946"
 ></A
 ><H3
 ><A
@@ -563,7 +563,7 @@ and add a new namespace decalaration on the node</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2922"
+NAME="AEN2958"
 ></A
 ><P
 ></P
@@ -684,7 +684,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2951"
+NAME="AEN2987"
 ></A
 ><H3
 ><A
@@ -732,7 +732,7 @@ aliases</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2962"
+NAME="AEN2998"
 ></A
 ><P
 ></P
@@ -819,7 +819,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2983"
+NAME="AEN3019"
 ></A
 ><H3
 ><A
@@ -867,7 +867,7 @@ aliases</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2994"
+NAME="AEN3030"
 ></A
 ><P
 ></P
@@ -954,7 +954,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3015"
+NAME="AEN3051"
 ></A
 ><H3
 ><A
@@ -984,7 +984,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3022"
+NAME="AEN3058"
 ></A
 ><P
 ></P
index 82e8b65f94a2cc3ff976243143d822174c8f2075..042dbffa1367589fd6990d422586e9ccb7660897 100644 (file)
@@ -111,7 +111,7 @@ NAME="LIBXSLT-NUMBERSINTERNALS"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN4215"
+NAME="AEN4251"
 ></A
 ><H2
 >Name</H2
@@ -119,7 +119,7 @@ NAME="AEN4215"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN4218"
+NAME="AEN4254"
 ></A
 ><H2
 >Synopsis</H2
@@ -178,7 +178,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4231"
+NAME="AEN4267"
 ></A
 ><H2
 >Description</H2
@@ -188,14 +188,14 @@ NAME="AEN4231"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4234"
+NAME="AEN4270"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4236"
+NAME="AEN4272"
 ></A
 ><H3
 ><A
@@ -238,7 +238,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4246"
+NAME="AEN4282"
 ></A
 ><P
 ></P
@@ -342,7 +342,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4271"
+NAME="AEN4307"
 ></A
 ><H3
 ><A
@@ -378,7 +378,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4279"
+NAME="AEN4315"
 ></A
 ><P
 ></P
index 01d3a624009d5b912ec702c03a3ce35f9a213f62..9841d5d3fa44f19130dc437ca53677dec98da1a9 100644 (file)
@@ -636,6 +636,25 @@ HREF="libxslt-transform.html#XSLTREGISTERALLELEMENT"
 >          (<A
 HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
 >xsltTransformContextPtr</A
+> ctxt);
+void        <A
+HREF="libxslt-transform.html#XSLHANDLEDEBUGGER"
+>xslHandleDebugger</A
+>               (<GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur,
+                                             <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+                                             <A
+HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
+>xsltTemplatePtr</A
+> templ,
+                                             <A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
 > ctxt);</PRE
 ></TD
 ></TR
@@ -644,7 +663,7 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1094"
+NAME="AEN1099"
 ></A
 ><H2
 >Description</H2
@@ -654,14 +673,14 @@ NAME="AEN1094"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1097"
+NAME="AEN1102"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1099"
+NAME="AEN1104"
 ></A
 ><H3
 ><A
@@ -688,7 +707,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1105"
+NAME="AEN1110"
 ></A
 ><P
 ></P
@@ -726,7 +745,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1114"
+NAME="AEN1119"
 ></A
 ><H3
 ><A
@@ -753,7 +772,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1120"
+NAME="AEN1125"
 ></A
 ><P
 ></P
@@ -789,7 +808,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1129"
+NAME="AEN1134"
 ></A
 ><H3
 ><A
@@ -827,7 +846,7 @@ HREF="XMLDOCPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1138"
+NAME="AEN1143"
 ></A
 ><P
 ></P
@@ -897,7 +916,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1155"
+NAME="AEN1160"
 ></A
 ><H3
 ><A
@@ -932,7 +951,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1163"
+NAME="AEN1168"
 ></A
 ><P
 ></P
@@ -970,7 +989,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1172"
+NAME="AEN1177"
 ></A
 ><H3
 ><A
@@ -1018,7 +1037,7 @@ its own transformation context.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1183"
+NAME="AEN1188"
 ></A
 ><P
 ></P
@@ -1156,7 +1175,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1216"
+NAME="AEN1221"
 ></A
 ><H3
 ><A
@@ -1190,7 +1209,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1224"
+NAME="AEN1229"
 ></A
 ><P
 ></P
@@ -1245,7 +1264,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1237"
+NAME="AEN1242"
 ></A
 ><H3
 ><A
@@ -1292,7 +1311,7 @@ module elements.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1248"
+NAME="AEN1253"
 ></A
 ><P
 ></P
@@ -1379,7 +1398,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1269"
+NAME="AEN1274"
 ></A
 ><H3
 ><A
@@ -1418,7 +1437,7 @@ NOTE: This may lead to a non-wellformed output XML wise !</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1278"
+NAME="AEN1283"
 ></A
 ><P
 ></P
@@ -1505,7 +1524,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1299"
+NAME="AEN1304"
 ></A
 ><H3
 ><A
@@ -1548,7 +1567,7 @@ the given output.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1309"
+NAME="AEN1314"
 ></A
 ><P
 ></P
@@ -1652,7 +1671,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1334"
+NAME="AEN1339"
 ></A
 ><H3
 ><A
@@ -1731,7 +1750,7 @@ since the interface uses only UTF8</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1350"
+NAME="AEN1355"
 ></A
 ><P
 ></P
@@ -1870,7 +1889,7 @@ error.</TD
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1383"
+NAME="AEN1388"
 ></A
 ><H3
 ><A
@@ -1918,7 +1937,7 @@ caller to handle them back (they may be reused).</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1394"
+NAME="AEN1399"
 ></A
 ><P
 ></P
@@ -2024,7 +2043,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1419"
+NAME="AEN1424"
 ></A
 ><H3
 ><A
@@ -2066,7 +2085,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1429"
+NAME="AEN1434"
 ></A
 ><P
 ></P
@@ -2155,7 +2174,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1450"
+NAME="AEN1455"
 ></A
 ><H3
 ><A
@@ -2198,7 +2217,7 @@ called directly</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1460"
+NAME="AEN1465"
 ></A
 ><P
 ></P
@@ -2287,7 +2306,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1481"
+NAME="AEN1486"
 ></A
 ><H3
 ><A
@@ -2329,7 +2348,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1491"
+NAME="AEN1496"
 ></A
 ><P
 ></P
@@ -2418,7 +2437,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1512"
+NAME="AEN1517"
 ></A
 ><H3
 ><A
@@ -2460,7 +2479,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1522"
+NAME="AEN1527"
 ></A
 ><P
 ></P
@@ -2549,7 +2568,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1543"
+NAME="AEN1548"
 ></A
 ><H3
 ><A
@@ -2591,7 +2610,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1553"
+NAME="AEN1558"
 ></A
 ><P
 ></P
@@ -2680,7 +2699,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1574"
+NAME="AEN1579"
 ></A
 ><H3
 ><A
@@ -2722,7 +2741,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1584"
+NAME="AEN1589"
 ></A
 ><P
 ></P
@@ -2811,7 +2830,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1605"
+NAME="AEN1610"
 ></A
 ><H3
 ><A
@@ -2853,7 +2872,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1615"
+NAME="AEN1620"
 ></A
 ><P
 ></P
@@ -2942,7 +2961,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1636"
+NAME="AEN1641"
 ></A
 ><H3
 ><A
@@ -2984,7 +3003,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1646"
+NAME="AEN1651"
 ></A
 ><P
 ></P
@@ -3073,7 +3092,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1667"
+NAME="AEN1672"
 ></A
 ><H3
 ><A
@@ -3115,7 +3134,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1677"
+NAME="AEN1682"
 ></A
 ><P
 ></P
@@ -3204,7 +3223,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1698"
+NAME="AEN1703"
 ></A
 ><H3
 ><A
@@ -3246,7 +3265,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1708"
+NAME="AEN1713"
 ></A
 ><P
 ></P
@@ -3335,7 +3354,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1729"
+NAME="AEN1734"
 ></A
 ><H3
 ><A
@@ -3377,7 +3396,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1739"
+NAME="AEN1744"
 ></A
 ><P
 ></P
@@ -3466,7 +3485,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1760"
+NAME="AEN1765"
 ></A
 ><H3
 ><A
@@ -3508,7 +3527,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1770"
+NAME="AEN1775"
 ></A
 ><P
 ></P
@@ -3597,7 +3616,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1791"
+NAME="AEN1796"
 ></A
 ><H3
 ><A
@@ -3639,7 +3658,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1801"
+NAME="AEN1806"
 ></A
 ><P
 ></P
@@ -3728,7 +3747,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1822"
+NAME="AEN1827"
 ></A
 ><H3
 ><A
@@ -3770,7 +3789,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1832"
+NAME="AEN1837"
 ></A
 ><P
 ></P
@@ -3859,7 +3878,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1853"
+NAME="AEN1858"
 ></A
 ><H3
 ><A
@@ -3901,7 +3920,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1863"
+NAME="AEN1868"
 ></A
 ><P
 ></P
@@ -3990,7 +4009,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1884"
+NAME="AEN1889"
 ></A
 ><H3
 ><A
@@ -4032,7 +4051,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1894"
+NAME="AEN1899"
 ></A
 ><P
 ></P
@@ -4121,7 +4140,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1915"
+NAME="AEN1920"
 ></A
 ><H3
 ><A
@@ -4163,7 +4182,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLEPRECOMPPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1925"
+NAME="AEN1930"
 ></A
 ><P
 ></P
@@ -4252,7 +4271,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN1946"
+NAME="AEN1951"
 ></A
 ><H3
 ><A
@@ -4282,7 +4301,7 @@ HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1953"
+NAME="AEN1958"
 ></A
 ><P
 ></P
@@ -4317,6 +4336,139 @@ VALIGN="TOP"
 ></P
 ></DIV
 ></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN1967"
+></A
+><H3
+><A
+NAME="XSLHANDLEDEBUGGER"
+></A
+>xslHandleDebugger ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void        xslHandleDebugger               (<GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> cur,
+                                             <GTKDOCLINK
+HREF="XMLNODEPTR"
+>xmlNodePtr</GTKDOCLINK
+> node,
+                                             <A
+HREF="libxslt-xsltinternals.html#XSLTTEMPLATEPTR"
+>xsltTemplatePtr</A
+> templ,
+                                             <A
+HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR"
+>xsltTransformContextPtr</A
+> ctxt);</PRE
+></TD
+></TR
+></TABLE
+><P
+>If either cur or node are a breakpoint, or xslDebugStatus in state 
+where debugging must occcur at this time then transfer control
+to the xslDebugBreak function</P
+><P
+></P
+><DIV
+CLASS="INFORMALTABLE"
+><A
+NAME="AEN1977"
+></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
+>cur</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> source node being executed</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>node</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> data node being processed</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>templ</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> temlate that applies to node</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>ctxt</I
+></TT
+>&nbsp;:</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the xslt transform context </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
 ></DIV
 ><DIV
 CLASS="NAVFOOTER"
index 3cc8786bd7c7316a684dae0163bfa7aa95972d96..5e85455e00e472d269ed19d4ad83f080584e975f 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-VARIABLES"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3036"
+NAME="AEN3072"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN3036"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN3039"
+NAME="AEN3075"
 ></A
 ><H2
 >Synopsis</H2
@@ -320,7 +320,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3087"
+NAME="AEN3123"
 ></A
 ><H2
 >Description</H2
@@ -330,14 +330,14 @@ NAME="AEN3087"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3090"
+NAME="AEN3126"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3092"
+NAME="AEN3128"
 ></A
 ><H3
 ><A
@@ -364,7 +364,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3098"
+NAME="AEN3134"
 ></A
 ><P
 ></P
@@ -402,7 +402,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3107"
+NAME="AEN3143"
 ></A
 ><H3
 ><A
@@ -433,7 +433,7 @@ done on parsed stylesheets before starting to apply transformations</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3114"
+NAME="AEN3150"
 ></A
 ><P
 ></P
@@ -486,7 +486,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3127"
+NAME="AEN3163"
 ></A
 ><H3
 ><A
@@ -534,7 +534,7 @@ parameter used literally, use xsltQuoteUserParams.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3137"
+NAME="AEN3173"
 ></A
 ><P
 ></P
@@ -604,7 +604,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3154"
+NAME="AEN3190"
 ></A
 ><H3
 ><A
@@ -650,7 +650,7 @@ stylesheets before starting to apply transformations.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3164"
+NAME="AEN3200"
 ></A
 ><P
 ></P
@@ -720,7 +720,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3181"
+NAME="AEN3217"
 ></A
 ><H3
 ><A
@@ -789,7 +789,7 @@ details see description of xsltProcessOneUserParamInternal.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3196"
+NAME="AEN3232"
 ></A
 ><P
 ></P
@@ -876,7 +876,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3217"
+NAME="AEN3253"
 ></A
 ><H3
 ><A
@@ -940,7 +940,7 @@ context's global variable/parameter hash table.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3231"
+NAME="AEN3267"
 ></A
 ><P
 ></P
@@ -1027,7 +1027,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3252"
+NAME="AEN3288"
 ></A
 ><H3
 ><A
@@ -1062,7 +1062,7 @@ its value.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3260"
+NAME="AEN3296"
 ></A
 ><P
 ></P
@@ -1117,7 +1117,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3273"
+NAME="AEN3309"
 ></A
 ><H3
 ><A
@@ -1152,7 +1152,7 @@ its value.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3281"
+NAME="AEN3317"
 ></A
 ><P
 ></P
@@ -1207,7 +1207,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3294"
+NAME="AEN3330"
 ></A
 ><H3
 ><A
@@ -1242,7 +1242,7 @@ its value.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3302"
+NAME="AEN3338"
 ></A
 ><P
 ></P
@@ -1297,7 +1297,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3315"
+NAME="AEN3351"
 ></A
 ><H3
 ><A
@@ -1332,7 +1332,7 @@ its value.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3323"
+NAME="AEN3359"
 ></A
 ><P
 ></P
@@ -1387,7 +1387,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3336"
+NAME="AEN3372"
 ></A
 ><H3
 ><A
@@ -1428,7 +1428,7 @@ its value but doesn't record it.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3346"
+NAME="AEN3382"
 ></A
 ><P
 ></P
@@ -1498,7 +1498,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3363"
+NAME="AEN3399"
 ></A
 ><H3
 ><A
@@ -1532,7 +1532,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTACKELEMPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3371"
+NAME="AEN3407"
 ></A
 ><P
 ></P
@@ -1602,7 +1602,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3388"
+NAME="AEN3424"
 ></A
 ><H3
 ><A
@@ -1633,7 +1633,7 @@ its value.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3395"
+NAME="AEN3431"
 ></A
 ><P
 ></P
@@ -1671,7 +1671,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3404"
+NAME="AEN3440"
 ></A
 ><H3
 ><A
@@ -1713,7 +1713,7 @@ variable value.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3414"
+NAME="AEN3450"
 ></A
 ><P
 ></P
@@ -1800,7 +1800,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3435"
+NAME="AEN3471"
 ></A
 ><H3
 ><A
@@ -1839,7 +1839,7 @@ interpretor.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3444"
+NAME="AEN3480"
 ></A
 ><P
 ></P
index c59afbe8bae456e7296763930b4d83fd8f48f435..f4bb372cf5181c81d3f9b0512b6af2896baa6730 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-XSLTINTERNALS"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3640"
+NAME="AEN3676"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN3640"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN3643"
+NAME="AEN3679"
 ></A
 ><H2
 >Synopsis</H2
@@ -425,7 +425,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3719"
+NAME="AEN3755"
 ></A
 ><H2
 >Description</H2
@@ -435,14 +435,14 @@ NAME="AEN3719"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3722"
+NAME="AEN3758"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3724"
+NAME="AEN3760"
 ></A
 ><H3
 ><A
@@ -470,7 +470,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3730"
+NAME="AEN3766"
 ></A
 ><H3
 ><A
@@ -498,7 +498,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3736"
+NAME="AEN3772"
 ></A
 ><H3
 ><A
@@ -544,7 +544,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3742"
+NAME="AEN3778"
 ></A
 ><H3
 ><A
@@ -570,7 +570,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3747"
+NAME="AEN3783"
 ></A
 ><H3
 ><A
@@ -614,7 +614,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3753"
+NAME="AEN3789"
 ></A
 ><H3
 ><A
@@ -640,7 +640,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3758"
+NAME="AEN3794"
 ></A
 ><H3
 ><A
@@ -673,7 +673,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3764"
+NAME="AEN3800"
 ></A
 ><H3
 ><A
@@ -699,7 +699,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3769"
+NAME="AEN3805"
 ></A
 ><H3
 ><A
@@ -781,7 +781,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3774"
+NAME="AEN3810"
 ></A
 ><H3
 ><A
@@ -807,7 +807,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3779"
+NAME="AEN3815"
 ></A
 ><H3
 ><A
@@ -844,7 +844,7 @@ designed to be extended by extension implementors.</P
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3785"
+NAME="AEN3821"
 ></A
 ><H3
 ><A
@@ -872,7 +872,7 @@ HREF="TYPEDEF"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3791"
+NAME="AEN3827"
 ></A
 ><P
 ></P
@@ -908,7 +908,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3800"
+NAME="AEN3836"
 ></A
 ><H3
 ><A
@@ -951,7 +951,7 @@ stylesheet language like xsl:if or xsl:apply-templates.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3810"
+NAME="AEN3846"
 ></A
 ><P
 ></P
@@ -1040,7 +1040,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3831"
+NAME="AEN3867"
 ></A
 ><H3
 ><A
@@ -1089,7 +1089,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3836"
+NAME="AEN3872"
 ></A
 ><H3
 ><A
@@ -1122,7 +1122,7 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3844"
+NAME="AEN3880"
 ></A
 ><P
 ></P
@@ -1163,7 +1163,7 @@ HREF="libxslt-xsltinternals.html#XSLTELEMPRECOMP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3854"
+NAME="AEN3890"
 ></A
 ><H3
 ><A
@@ -1237,7 +1237,7 @@ precomputed data.</P
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3860"
+NAME="AEN3896"
 ></A
 ><H3
 ><A
@@ -1263,7 +1263,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3865"
+NAME="AEN3901"
 ></A
 ><H3
 ><A
@@ -1298,7 +1298,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3870"
+NAME="AEN3906"
 ></A
 ><H3
 ><A
@@ -1324,7 +1324,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3875"
+NAME="AEN3911"
 ></A
 ><H3
 ><A
@@ -1445,7 +1445,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3880"
+NAME="AEN3916"
 ></A
 ><H3
 ><A
@@ -1471,7 +1471,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3885"
+NAME="AEN3921"
 ></A
 ><H3
 ><A
@@ -1501,7 +1501,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3890"
+NAME="AEN3926"
 ></A
 ><H3
 ><A
@@ -1531,7 +1531,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3895"
+NAME="AEN3931"
 ></A
 ><H3
 ><A
@@ -1560,7 +1560,7 @@ will return from the function</P
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3901"
+NAME="AEN3937"
 ></A
 ><H3
 ><A
@@ -1589,7 +1589,7 @@ will goto the error: label</P
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3907"
+NAME="AEN3943"
 ></A
 ><H3
 ><A
@@ -1618,7 +1618,7 @@ will return from the function with a 0 value</P
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3913"
+NAME="AEN3949"
 ></A
 ><H3
 ><A
@@ -1648,7 +1648,7 @@ HREF="libxslt-xsltinternals.html#XSLTSTYLESHEETPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3920"
+NAME="AEN3956"
 ></A
 ><P
 ></P
@@ -1684,7 +1684,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3929"
+NAME="AEN3965"
 ></A
 ><H3
 ><A
@@ -1717,7 +1717,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3937"
+NAME="AEN3973"
 ></A
 ><P
 ></P
@@ -1770,7 +1770,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3950"
+NAME="AEN3986"
 ></A
 ><H3
 ><A
@@ -1805,7 +1805,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3958"
+NAME="AEN3994"
 ></A
 ><P
 ></P
@@ -1843,7 +1843,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3967"
+NAME="AEN4003"
 ></A
 ><H3
 ><A
@@ -1873,7 +1873,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3974"
+NAME="AEN4010"
 ></A
 ><P
 ></P
@@ -1926,7 +1926,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN3987"
+NAME="AEN4023"
 ></A
 ><H3
 ><A
@@ -1961,7 +1961,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3995"
+NAME="AEN4031"
 ></A
 ><P
 ></P
@@ -1999,7 +1999,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4004"
+NAME="AEN4040"
 ></A
 ><H3
 ><A
@@ -2037,7 +2037,7 @@ HREF="XMLCHAR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4013"
+NAME="AEN4049"
 ></A
 ><P
 ></P
@@ -2107,7 +2107,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4030"
+NAME="AEN4066"
 ></A
 ><H3
 ><A
@@ -2145,7 +2145,7 @@ HREF="XMLDOCPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4039"
+NAME="AEN4075"
 ></A
 ><P
 ></P
@@ -2215,7 +2215,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4056"
+NAME="AEN4092"
 ></A
 ><H3
 ><A
@@ -2250,7 +2250,7 @@ information related to the stylesheet output</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4064"
+NAME="AEN4100"
 ></A
 ><P
 ></P
@@ -2305,7 +2305,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4077"
+NAME="AEN4113"
 ></A
 ><H3
 ><A
@@ -2338,7 +2338,7 @@ HREF="XMLDOCPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4085"
+NAME="AEN4121"
 ></A
 ><P
 ></P
@@ -2391,7 +2391,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4098"
+NAME="AEN4134"
 ></A
 ><H3
 ><A
@@ -2435,7 +2435,7 @@ transformation is done.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4107"
+NAME="AEN4143"
 ></A
 ><P
 ></P
@@ -2488,7 +2488,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4120"
+NAME="AEN4156"
 ></A
 ><H3
 ><A
@@ -2526,7 +2526,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4129"
+NAME="AEN4165"
 ></A
 ><P
 ></P
@@ -2598,7 +2598,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4146"
+NAME="AEN4182"
 ></A
 ><H3
 ><A
@@ -2677,7 +2677,7 @@ X      any other characters can be used in the prefix or suffix
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4164"
+NAME="AEN4200"
 ></A
 ><P
 ></P
@@ -2781,7 +2781,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN4189"
+NAME="AEN4225"
 ></A
 ><H3
 ><A
@@ -2817,7 +2817,7 @@ and process xslt:text</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4197"
+NAME="AEN4233"
 ></A
 ><P
 ></P
index 08ac4598d4b30d5e6db00caddb1b0d4fdfc1c814..38dd7817c36532975307c1480a82385f75694730 100644 (file)
@@ -123,7 +123,7 @@ NAME="LIBXSLT-XSLTUTILS"
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1967"
+NAME="AEN2003"
 ></A
 ><H2
 >Name</H2
@@ -131,7 +131,7 @@ NAME="AEN1967"
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1970"
+NAME="AEN2006"
 ></A
 ><H2
 >Synopsis</H2
@@ -354,7 +354,7 @@ HREF="libxslt-xsltutils.html#XSLT-TIMESTAMP-TICS-PER-SEC-CAPS"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2026"
+NAME="AEN2062"
 ></A
 ><H2
 >Description</H2
@@ -364,14 +364,14 @@ NAME="AEN2026"
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2029"
+NAME="AEN2065"
 ></A
 ><H2
 >Details</H2
 ><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2031"
+NAME="AEN2067"
 ></A
 ><H3
 ><A
@@ -397,7 +397,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2036"
+NAME="AEN2072"
 ></A
 ><H3
 ><A
@@ -423,7 +423,7 @@ CLASS="PROGRAMLISTING"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2041"
+NAME="AEN2077"
 ></A
 ><H3
 ><A
@@ -450,7 +450,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2047"
+NAME="AEN2083"
 ></A
 ><P
 ></P
@@ -488,7 +488,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2056"
+NAME="AEN2092"
 ></A
 ><H3
 ><A
@@ -515,7 +515,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2062"
+NAME="AEN2098"
 ></A
 ><P
 ></P
@@ -570,7 +570,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2075"
+NAME="AEN2111"
 ></A
 ><H3
 ><A
@@ -597,7 +597,7 @@ CLASS="PROGRAMLISTING"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2081"
+NAME="AEN2117"
 ></A
 ><P
 ></P
@@ -635,7 +635,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2090"
+NAME="AEN2126"
 ></A
 ><H3
 ><A
@@ -690,7 +690,7 @@ default declaration values unless DTD use has been turned off.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2104"
+NAME="AEN2140"
 ></A
 ><P
 ></P
@@ -778,7 +778,7 @@ It's up to the caller to free the memory.</TD
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2125"
+NAME="AEN2161"
 ></A
 ><H3
 ><A
@@ -816,7 +816,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2134"
+NAME="AEN2170"
 ></A
 ><P
 ></P
@@ -888,7 +888,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2151"
+NAME="AEN2187"
 ></A
 ><H3
 ><A
@@ -926,7 +926,7 @@ HREF="XMLNODEPTR"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2160"
+NAME="AEN2196"
 ></A
 ><P
 ></P
@@ -998,7 +998,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2177"
+NAME="AEN2213"
 ></A
 ><H3
 ><A
@@ -1060,7 +1060,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2189"
+NAME="AEN2225"
 ></A
 ><P
 ></P
@@ -1115,7 +1115,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2202"
+NAME="AEN2238"
 ></A
 ><H3
 ><A
@@ -1177,7 +1177,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2214"
+NAME="AEN2250"
 ></A
 ><P
 ></P
@@ -1232,7 +1232,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2227"
+NAME="AEN2263"
 ></A
 ><H3
 ><A
@@ -1267,7 +1267,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2235"
+NAME="AEN2271"
 ></A
 ><P
 ></P
@@ -1305,7 +1305,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2244"
+NAME="AEN2280"
 ></A
 ><H3
 ><A
@@ -1341,7 +1341,7 @@ requirement provided by the arry of nodes.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2252"
+NAME="AEN2288"
 ></A
 ><P
 ></P
@@ -1413,7 +1413,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2269"
+NAME="AEN2305"
 ></A
 ><H3
 ><A
@@ -1472,7 +1472,7 @@ defined and hence has the same lifespan as the document holding it.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2282"
+NAME="AEN2318"
 ></A
 ><P
 ></P
@@ -1548,7 +1548,7 @@ not prefixed.</TD
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2300"
+NAME="AEN2336"
 ></A
 ><H3
 ><A
@@ -1602,7 +1602,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2312"
+NAME="AEN2348"
 ></A
 ><P
 ></P
@@ -1689,7 +1689,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2333"
+NAME="AEN2369"
 ></A
 ><H3
 ><A
@@ -1741,7 +1741,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2344"
+NAME="AEN2380"
 ></A
 ><P
 ></P
@@ -1845,7 +1845,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2369"
+NAME="AEN2405"
 ></A
 ><H3
 ><A
@@ -1900,7 +1900,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2381"
+NAME="AEN2417"
 ></A
 ><P
 ></P
@@ -1987,7 +1987,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2402"
+NAME="AEN2438"
 ></A
 ><H3
 ><A
@@ -2034,7 +2034,7 @@ This does not close the descriptor.</P
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2412"
+NAME="AEN2448"
 ></A
 ><P
 ></P
@@ -2121,7 +2121,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2433"
+NAME="AEN2469"
 ></A
 ><H3
 ><A
@@ -2160,7 +2160,7 @@ CLASS="PARAMETER"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2442"
+NAME="AEN2478"
 ></A
 ><P
 ></P
@@ -2215,7 +2215,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2455"
+NAME="AEN2491"
 ></A
 ><H3
 ><A
@@ -2245,7 +2245,7 @@ HREF="LONG"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2462"
+NAME="AEN2498"
 ></A
 ><P
 ></P
@@ -2282,7 +2282,7 @@ profiling</TD
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2471"
+NAME="AEN2507"
 ></A
 ><H3
 ><A
@@ -2315,7 +2315,7 @@ HREF="libxslt-xsltutils.html#XSLTTIMESTAMP"
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2479"
+NAME="AEN2515"
 ></A
 ><P
 ></P
@@ -2353,7 +2353,7 @@ VALIGN="TOP"
 ><HR><DIV
 CLASS="REFSECT2"
 ><A
-NAME="AEN2488"
+NAME="AEN2524"
 ></A
 ><H3
 ><A
index b13769e582de21ac1ae93ad7e0c424435aac7da8..27f653df1c0fb7a958ef27254596040d380b5e3a 100644 (file)
@@ -62,6 +62,13 @@ A:link, A:visited, A:active { text-decoration: underline }
 <td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd">
 <h3>CVS only : check the <a href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog">Changelog</a> file
 for a really accurate description</h3>
+<h3>1.0.7: Nov 10 2001</h3>
+<ul>
+<li>remove a compilation problem with LIBXSLT_PUBLIC</li>
+<li>Finishing the integration steps for Keith Isdale debugger</li>
+<li>fixes the handling of indent=&quot;no&quot; on HTML output</li>
+<li>fixes on the configure script and RPM spec file</li>
+</ul>
 <h3>1.0.6: Oct 30 2001</h3>
 <ul>
 <li>bug fixes on number formatting (Thomas), date/time functions (Bruce
index 9d043ba448eefb8403ebc7f9e2c9cc550582fc61..3723dbf8f058b55648f3c0431b34499bcc701c61 100644 (file)
@@ -187,6 +187,10 @@ platform, get in touch with me to upload the package. I will keep them in the
     href="http://developer.gnome.org/tools/cvs.html">Gnome CVS Tools</a>
     page; the CVS module is <b>libxslt</b>.</p>
   </li>
+  <li><a
+    href="ftp://xmlsoft.org/XSLT/cvs-snapshot.tar.gzftp://xmlsoft.org/XSLT/cvs-snapshot.tar.gzftp://xmlsoft.org/XSLT/cvs-snapshot.tar.gz">daily
+    snapshots from CVS</a>
+     are also provided</li>
 </ul>
 
 <h2><a name="News">News</a></h2>
@@ -195,6 +199,14 @@ 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>
 
+<h3>1.0.7: Nov 10 2001</h3>
+<ul>
+  <li>remove a compilation problem with LIBXSLT_PUBLIC</li>
+  <li>Finishing the integration steps for Keith Isdale debugger</li>
+  <li>fixes the handling of indent="no" on HTML output</li>
+  <li>fixes on the configure script and RPM spec file</li>
+</ul>
+
 <h3>1.0.6: Oct 30 2001</h3>
 <ul>
   <li>bug fixes on number formatting (Thomas), date/time functions (Bruce
index d52287c786d9239af3e5a220d41b1ea240319e30..f47be8a7331e6576a1f7aaaf73e9adce02b5926e 100644 (file)
@@ -1,21 +1,16 @@
-# Note that this is NOT a relocatable package
-%define ver      @VERSION@
-%define prefix   /usr
-%define datadir  %{prefix}/share
-
 Summary: Library providing the Gnome XSLT engine
 Name: libxslt
-Version: %ver
+Version: @VERSION@
 Release: 1
 Copyright: LGPL
 Group: Development/Libraries
-Source: ftp://xmlsoft.org/XSLT/libxslt-%{ver}.tar.gz
-BuildRoot: /var/tmp/libxslt-%{PACKAGE_VERSION}-root
+Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+URL: http://xmlsoft.org/XSLT/
 Requires: libxml2 >= @LIBXML_REQUIRED_VERSION@
 BuildRequires: libxml2-devel >= @LIBXML_REQUIRED_VERSION@
-
-URL: http://xmlsoft.org/XSLT/
-Docdir: %{prefix}/doc
+Prefix: %{_prefix}
+Docdir: %{_docdir}
 
 %description
 This C library allows to transform XML files into other XML files
@@ -27,7 +22,7 @@ installed. The xsltproc command is a command line interface to the XSLT engine
 Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
 Group: Development/Libraries
 Requires: libxslt = %{version}
-Requires: libxml2-devel >= 2.3.10
+Requires: libxml2-devel >= @LIBXML_REQUIRED_VERSION@
 
 %description devel
 This C library allows to transform XML files into other XML files
@@ -35,28 +30,22 @@ This C library allows to transform XML files into other XML files
 mechanism. To use it you need to have a version of libxml2 >= 2.3.8
 installed.
 
-%changelog
-
-* Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com>
-
-- created based on libxml2 spec file
-
 %prep
-%setup
+%setup -q
 
 %build
 # Needed for snapshot releases.
 if [ ! -f configure ]; then
 %ifarch alpha
-  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc"
+  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir}
 %else
-  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --sysconfdir="/etc"
+  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir}
 %endif
 else
 %ifarch alpha
-  CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc"
+  CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir}
 %else
-  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc"
+  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir}
 %endif
 fi
 
@@ -70,9 +59,9 @@ fi
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{datadir}/man/man1
-install -d $RPM_BUILD_ROOT%{datadir}/man/man4
-make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{datadir}/man install
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT%{_mandir}/man4
+make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -86,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO FEATURES
 %doc doc/*.html doc/html doc/tutorial
-%doc %{prefix}/share/man/man1/xsltproc.1*
+%doc %{_mandir}/man1/xsltproc.1*
 
 %{prefix}/lib/lib*.so.*
 %{prefix}/bin/xsltproc
@@ -99,3 +88,14 @@ rm -rf $RPM_BUILD_ROOT
 %{prefix}/lib/*.sh
 %{prefix}/include/*
 %{prefix}/bin/xslt-config
+
+%changelog
+
+* Sat Nov 10 2001 Daniel.Veillard <daniel@veillard.com>
+
+- cleaned up the specfile
+
+* Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com>
+
+- created based on libxml2 spec file
+
index 0d2fbd2765236d0f87a125f4720ca1ef97d9668e..168c8d6642ca8883447f0c8c2c6fcaffa3f5c957 100644 (file)
@@ -31,6 +31,7 @@
 #include <libxml/parserInternals.h>
 #include <libxml/xpathInternals.h>
 #include <libxml/HTMLtree.h>
+#include <libxml/debugXML.h>
 #include <libxml/uri.h>
 #include "xslt.h"
 #include "xsltInternals.h"
index 919bf8bc9b8bbac2e816e865ba54d15d3813d868..0f69a5243ad0830eb5381dad5f4b7f9142f30a91 100644 (file)
@@ -9,11 +9,11 @@ if DV_STATIC_LINK
 all: xsltproc
 
 if WITH_DEBUGGER
-xsltproc: xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../breakpoint/.libs/libxsltbreakpoint.a ../../XML/.libs/libxml2.a
-       gcc -g -O -o xsltproc  xsltproc.o ../libxslt/.libs/libxslt.a ../breakpoint/.libs/libxsltbreakpoint.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a -lz -lm
+xsltproc$(EXEEXT): xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../breakpoint/.libs/libxsltbreakpoint.a ../../XML/.libs/libxml2.a
+       gcc -g -O -o xsltproc$(EXEEXT) xsltproc.o ../libxslt/.libs/libxslt.a ../breakpoint/.libs/libxsltbreakpoint.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a -lz -lm
 else
-xsltproc: xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a
-       gcc -g -O -o xsltproc  xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a -lz -lm
+xsltproc$(EXEEXT): xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a
+       gcc -g -O -o xsltproc$(EXEEXT) xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a -lz -lm
 endif
 
 programs=
index e4da623e1a80d1ce8afe9c75c8a1ee741515602d..cdc9e1eaffafc849676b1d8b7abeeaeed473277f 100644 (file)
@@ -23,6 +23,9 @@
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
 #include <libxml/xmlmemory.h>
 #include <libxml/debugXML.h>
 #include <libxml/HTMLtree.h>
 #define gettimeofday(p1,p2)
 #endif /* _MS_VER */
 #else /* WIN32 */
+#if defined(HAVE_SYS_TIME_H)
 #include <sys/time.h>
+#elif defined(HAVE_TIME_H)
+#include <time.h>
+#endif
 #endif /* WIN32 */
 
 #ifndef HAVE_STAT
@@ -87,11 +94,104 @@ static int xinclude = 0;
 #endif
 static int profile = 0;
 
-static struct timeval begin, end;
 static const char *params[16 + 1];
 static int nbparams = 0;
 static const char *output = NULL;
 
+/*
+ * Internal timing routines to remove the necessity to have unix-specific
+ * function calls
+ */
+
+#if defined(HAVE_GETTIMEOFDAY)
+static struct timeval begin, end;
+/*
+ * startTimer: call where you want to start timing
+ */
+static void startTimer(void)
+{
+    gettimeofday(&begin,NULL);
+}
+/*
+ * endTimer: call where you want to stop timing and to print out a
+ *           message about the timing performed; format is a printf
+ *           type argument
+ */
+static void endTimer(const char *format, ...)
+{
+    long msec;
+    va_list ap;
+
+    gettimeofday(&end, NULL);
+    msec = end.tv_sec - begin.tv_sec;
+    msec *= 1000;
+    msec += (end.tv_usec - begin.tv_usec) / 1000;
+
+#ifndef HAVE_STDARG_H
+#error "endTimer required stdarg functions"
+#endif
+    va_start(ap, format);
+    vfprintf(stderr,format,ap);
+    va_end(ap);
+
+    fprintf(stderr, " took %ld ms\n", msec);
+}
+#elif defined(HAVE_TIME_H)
+/*
+ * No gettimeofday function, so we have to make do with calling clock.
+ * This is obviously less accurate, but there's little we can do about
+ * that.
+ */
+
+clock_t begin, end;
+static void startTimer(void)
+{
+    begin=clock();
+}
+static void endTimer(char *format, ...)
+{
+    long msec;
+    va_list ap;
+
+    end=clock();
+    msec = ((end-begin) * 1000) / CLOCKS_PER_SEC;
+
+#ifndef HAVE_STDARG_H
+#error "endTimer required stdarg functions"
+#endif
+    va_start(ap, format);
+    vfprintf(stderr,format,ap);
+    va_end(ap);
+    fprintf(stderr, " took %ld ms\n", msec);
+}
+#else
+/*
+ * We don't have a gettimeofday or time.h, so we just don't do timing
+ */
+static void startTimer(void)
+{
+  /*
+   * Do nothing
+   */
+}
+static void endTimer(char *format, ...)
+{
+  /*
+   * We cannot do anything because we don't have a timing function
+   */
+#ifdef HAVE_STDARG_H
+    va_start(ap, format);
+    vfprintf(stderr,format,ap);
+    va_end(ap);
+    fprintf(stderr, " was not timed\n", msec);
+#else
+  /* We don't have gettimeofday, time or stdarg.h, what crazy world is
+   * this ?!
+   */
+#endif
+}
+#endif
+
 static void
 xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
     xmlDocPtr res;
@@ -99,22 +199,15 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
 #ifdef LIBXML_XINCLUDE_ENABLED
     if (xinclude) {
        if (timing)
-           gettimeofday(&begin, NULL);
+           startTimer();
        xmlXIncludeProcess(doc);
        if (timing) {
-           long msec;
-
-           gettimeofday(&end, NULL);
-           msec = end.tv_sec - begin.tv_sec;
-           msec *= 1000;
-           msec += (end.tv_usec - begin.tv_usec) / 1000;
-           fprintf(stderr, "XInclude processing %s took %ld ms\n",
-                   filename, msec);
+           endTimer("XInclude processing %s", filename);
        }
     }
 #endif
     if (timing)
-       gettimeofday(&begin, NULL);
+        startTimer();
     if (output == NULL) {
        if (repeat) {
            int j;
@@ -142,19 +235,10 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
            res = xsltApplyStylesheet(cur, doc, params);
        }
        if (timing) {
-           long msec;
-
-           gettimeofday(&end, NULL);
-           msec = end.tv_sec - begin.tv_sec;
-           msec *= 1000;
-           msec += (end.tv_usec - begin.tv_usec) / 1000;
            if (repeat)
-               fprintf(stderr,
-                       "Applying stylesheet %d times took %ld ms\n",
-                       repeat, msec);
+               endTimer("Applying stylesheet %d times", repeat);
            else
-               fprintf(stderr,
-                       "Applying stylesheet took %ld ms\n", msec);
+               endTimer("Applying stylesheet");
        }
        xmlFreeDoc(doc);
        if (res == NULL) {
@@ -172,37 +256,19 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
 #endif
            if (cur->methodURI == NULL) {
                if (timing)
-                   gettimeofday(&begin, NULL);
+                   startTimer();
                xsltSaveResultToFile(stdout, res, cur);
-               if (timing) {
-                   long msec;
-
-                   gettimeofday(&end, NULL);
-                   msec = end.tv_sec - begin.tv_sec;
-                   msec *= 1000;
-                   msec += (end.tv_usec - begin.tv_usec) / 1000;
-                   fprintf(stderr, "Saving result took %ld ms\n",
-                           msec);
-               }
+               if (timing)
+                   endTimer("Saving result");
            } else {
                if (xmlStrEqual
                    (cur->method, (const xmlChar *) "xhtml")) {
                    fprintf(stderr, "non standard output xhtml\n");
                    if (timing)
-                       gettimeofday(&begin, NULL);
+                       startTimer();
                    xsltSaveResultToFile(stdout, res, cur);
-                   if (timing) {
-                       long msec;
-
-                       gettimeofday(&end, NULL);
-                       msec = end.tv_sec - begin.tv_sec;
-                       msec *= 1000;
-                       msec +=
-                           (end.tv_usec - begin.tv_usec) / 1000;
-                       fprintf(stderr,
-                               "Saving result took %ld ms\n",
-                               msec);
-                   }
+                   if (timing)
+                       endTimer("Saving result");
                } else {
                    fprintf(stderr,
                            "Unsupported non standard output %s\n",
@@ -216,17 +282,8 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
        xmlFreeDoc(res);
     } else {
        xsltRunStylesheet(cur, doc, params, output, NULL, NULL);
-       if (timing) {
-           long msec;
-
-           gettimeofday(&end, NULL);
-           msec = end.tv_sec - begin.tv_sec;
-           msec *= 1000;
-           msec += (end.tv_usec - begin.tv_usec) / 1000;
-           fprintf(stderr,
-               "Running stylesheet and saving result took %ld ms\n",
-                   msec);
-       }
+       if (timing)
+           endTimer("Running stylesheet and saving result");
        xmlFreeDoc(doc);
     }
 }
@@ -421,18 +478,10 @@ main(int argc, char **argv)
         }
         if ((argv[i][0] != '-') || (strcmp(argv[i], "-") == 0)) {
             if (timing)
-                gettimeofday(&begin, NULL);
+                startTimer();
            style = xmlParseFile((const char *) argv[i]);
-            if (timing) {
-                long msec;
-
-                gettimeofday(&end, NULL);
-                msec = end.tv_sec - begin.tv_sec;
-                msec *= 1000;
-                msec += (end.tv_usec - begin.tv_usec) / 1000;
-                fprintf(stderr, "Parsing stylesheet %s took %ld ms\n",
-                        argv[i], msec);
-            }
+            if (timing) 
+               endTimer("Parsing stylesheet %s", argv[i]);
            if (style == NULL) {
                fprintf(stderr,  "cannot parse %s\n", argv[i]);
                cur = NULL;
@@ -471,7 +520,7 @@ main(int argc, char **argv)
         for (; i < argc; i++) {
            doc = NULL;
             if (timing)
-                gettimeofday(&begin, NULL);
+                startTimer();
 #ifdef LIBXML_HTML_ENABLED
             if (html)
                 doc = htmlParseFile(argv[i], NULL);
@@ -487,16 +536,8 @@ main(int argc, char **argv)
                 fprintf(stderr, "unable to parse %s\n", argv[i]);
                 continue;
             }
-            if (timing) {
-                long msec;
-
-                gettimeofday(&end, NULL);
-                msec = end.tv_sec - begin.tv_sec;
-                msec *= 1000;
-                msec += (end.tv_usec - begin.tv_usec) / 1000;
-                fprintf(stderr, "Parsing document %s took %ld ms\n",
-                        argv[i], msec);
-            }
+            if (timing)
+               endTimer("Parsing document %s", argv[i]);
            xsltProcess(doc, cur, argv[i]);
         }
     }