From 732901867d7cd6ffd448425f61460d5fd64aceb6 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 10 Jul 2001 16:08:10 +0000 Subject: [PATCH] releaseing 1.0.0 added another entry point fixed a comment block updated * configure.in libxslt/xsltwin32config.h: releaseing 1.0.0 * win32/libxslt/libxslt.def: added another entry point * libxslt/transform.c: fixed a comment block * doc/xslt.html doc/html/*: updated and regenerated the docs Daniel --- ChangeLog | 7 + configure.in | 6 +- doc/html/libxslt-attributes.html | 20 +- doc/html/libxslt-imports.html | 36 +-- doc/html/libxslt-keys.html | 28 +- doc/html/libxslt-namespaces.html | 32 +- doc/html/libxslt-numbersinternals.html | 16 +- doc/html/libxslt-pattern.html | 4 +- doc/html/libxslt-templates.html | 44 ++- doc/html/libxslt-transform.html | 416 ++++++++++++++++++++----- doc/html/libxslt-variables.html | 58 ++-- doc/html/libxslt-xsltinternals.html | 225 +++++++++---- doc/html/libxslt-xsltutils.html | 261 +++++++++++++--- doc/xslt.html | 102 +++--- libxslt/transform.c | 2 +- libxslt/xsltwin32config.h | 6 +- win32/libxslt/libxslt.def | 1 + 17 files changed, 929 insertions(+), 335 deletions(-) diff --git a/ChangeLog b/ChangeLog index 641115f7..b693f57b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Jul 10 18:03:36 CEST 2001 Daniel Veillard + + * configure.in libxslt/xsltwin32config.h: releaseing 1.0.0 + * win32/libxslt/libxslt.def: added another entry point + * libxslt/transform.c: fixed a comment block + * doc/xslt.html doc/html/*: updated and regenerated the docs + Tue Jul 10 17:25:59 CEST 2001 Daniel Veillard * win32/libxslt/libxslt.def: added missing functions diff --git a/configure.in b/configure.in index aad38e2d..c9cb14b2 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ AC_INIT(libxslt/xslt.c) -LIBXSLT_MAJOR_VERSION=0 -LIBXSLT_MINOR_VERSION=14 +LIBXSLT_MAJOR_VERSION=1 +LIBXSLT_MINOR_VERSION=0 LIBXSLT_MICRO_VERSION=0 PACKAGE=libxslt @@ -129,7 +129,7 @@ dnl dnl find libxml dnl XML_CONFIG="xml2-config" -LIBXML_REQUIRED_VERSION=2.3.14 +LIBXML_REQUIRED_VERSION=2.4.0 AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION) if test "x$LIBXML_PREFIX" != "x" then diff --git a/doc/html/libxslt-attributes.html b/doc/html/libxslt-attributes.html index eb47657b..166cfc22 100644 --- a/doc/html/libxslt-attributes.html +++ b/doc/html/libxslt-attributes.html @@ -122,7 +122,7 @@ NAME="LIBXSLT-ATTRIBUTES" >

Name

Synopsis

Description

Details



Name

Synopsis

Description

Details







Name

Synopsis

Description

Details





Name

Synopsis

Description

Details






Name

Synopsis

Description

Details


style is non-NULL -it means one need to look for the next imported template in scope.

  the node being processed the namespaces in scope -int nsNr: the number of namespaces in scope the namespaces in scope  the number of namespaces in scope



  the attribute namespace URI





Name

Synopsis

xmlDocPtr doc, const char **params); +xmlDocPtr xsltProfileStylesheet (xsltStylesheetPtr style, + xmlDocPtr doc, + const char **params, + FILE *output); int xsltRunStylesheetxmlNodePtr list, - int real); + xsltTemplatePtr templ, + xsltStackElemPtr params); void xsltDocumentElemxsltStylePreCompPtr comp); comp); +void xsltRegisterAllElement (xsltTransformContextPtr ctxt);

Description

Details




xsltProfileStylesheet ()

xmlDocPtr   xsltProfileStylesheet           (xsltStylesheetPtr style,
+                                             xmlDocPtr doc,
+                                             const char **params,
+                                             FILE *output);

Apply the stylesheet to the document and dump the profiling to +the given output.

style : a parsed XSLT stylesheet
doc : a parsed XML document
params : a NULL terminated arry of parameters names/values tuples
output : a FILE * for the profiling output
Returns :the result document or NULL in case of error



xmlNodePtr list, - int real);xsltTemplatePtr templ, + xsltStackElemPtr params);

Process the apply-templates node on the source node

Process the apply-templates node on the source node, if params are passed +they are pushed on the variable stack but not popped, it's left to the +caller to handle them back (they may be reused).

realtempl : is this a real template processing if is this a real template processing, the template processedparams : a set of parameters for the template or NULL

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information

precomputed informations precomputed information


xsltRegisterAllElement ()

void        xsltRegisterAllElement          (xsltTransformContextPtr ctxt);

Registers all default XSLT elements in this context

ctxt : the XPath context

Name

Synopsis

Description

Details



Evaluate the global variables of a stylesheet. This need to be +>Evaluate the global variables of a stylesheet. This needs to be done on parsed stylesheets before starting to apply transformations










Name

Synopsis

xmlDocPtr doc); +xsltStylesheetPtr xsltLoadStylesheetPI (xmlDocPtr doc); void xsltNumberFormat

Description

Details































  the "output" element


xsltLoadStylesheetPI ()

xsltStylesheetPtr xsltLoadStylesheetPI      (xmlDocPtr doc);

This function tries to locate the stylesheet PI in the given document +If found, and if contained within the document, it will extract +that subtree to build the stylesheet to process doc (doc itself will +be modified). If found but referencing an external document it will +attempt to load it and generate a stylesheet from it. In both cases, +the resulting stylesheet and the document need to be freed once the +transformation is done.

doc : 
Returns :a new XSLT stylesheet structure or NULL if not found.



Name

Synopsis

xsltStylesheetPtr style); style); +void xsltSaveProfiling (xsltTransformContextPtr ctxt, + FILE *output); +long xsltTimestamp (void);

Description

Details












handler will be called for subsequent -error messages while not parsing nor validating. And ctx




This function analyze This function analyzes name




the number of byte written or -1 in case of failure.the number of bytes written or -1 in case of failure.

the number of byte written or -1 in case of failure.the number of bytes written or -1 in case of failure.


xsltSaveProfiling ()

void        xsltSaveProfiling               (xsltTransformContextPtr ctxt,
+                                             FILE *output);

Save the profiling informations on output

ctxt : an XSLT context
output : a FILE * for saving the informations


xsltTimestamp ()

long        xsltTimestamp                   (void);

Used for gathering profiling data

Returns :the number of milliseconds since the beginning of the +profiling
The XSLT C library for Gnome - + @@ -42,9 +42,9 @@ alt="Red Hat Logo">

Introduction

-

This document describes libxslt, the -XSLT C library developped for the Gnome project.

+

This document describes libxslt, +the XSLT C library developped for the +Gnome project.

Here are some key points about libxslt:

    @@ -72,35 +72,35 @@ href="http://www.gnome.org/">Gnome project.

    doc).
  • Look at the mailing-list archive.
  • -
  • Of course since libxslt is based on libxml, it's a good idea to at least - read libxml description
  • +
  • Of course since libxslt is based on libxml, it's a good idea to at + least read libxml description
  • Reporting bugs and getting help

    -

    Well, bugs or missing features are always possible, and I will make a point -of fixing them in a timely fashion. The best way to report a bug is to use the -Gnome bug -tracking database (make sure to use the "libxslt" module name). I look at -reports there regularly and it's good to have a reminder when a bug is still -open. Check the instructions on -reporting bugs and be sure to specify that the bug is for the package -libxslt.

    +

    Well, bugs or missing features are always possible, and I will make a +point of fixing them in a timely fashion. The best way to report a bug is to +use the Gnome +bug tracking database (make sure to use the "libxslt" module name). I +look at reports there regularly and it's good to have a reminder when a bug +is still open. Check the instructions on reporting +bugs and be sure to specify that the bug is for the package libxslt.

    There is also a mailing-list xslt@gnome.org for libxslt, with an on-line archive. To subscribe to this list, please visit the associated Web page and -follow the instructions.

    +href="http://mail.gnome.org/mailman/listinfo/xslt">associated Web page +and follow the instructions.

    Alternatively, you can just send the bug to the xslt@gnome.org list, if it's really libxslt -related I will approve it.. Please do not send me mail directly especially for -portability problem, it makes things really harder to track and in some cases -I'm not the best person to answer a given question, ask the list instead. -Do not send code, I won't debug it (but patches are really -appreciated!).

    +related I will approve it.. Please do not send me mail directly especially +for portability problem, it makes things really harder to track and in some +cases I'm not the best person to answer a given question, ask the list +instead. Do not send code, I won't debug it (but patches are +really appreciated!).

    Check the following too before posting:

      @@ -108,8 +108,8 @@ appreciated!).

      version, and that the problem still shows up in those
    • check the list archives to see if the problem was reported already, in this case - there is probably a fix available, similary check the registered open - bugs
    • + there is probably a fix available, similary check the registered + open bugs
    • make sure you can reproduce the bug with xsltproc, a very useful thing to do is run the transformation with -v argument and redirrect the standard error to a file, then search in this file for the transformation @@ -123,10 +123,11 @@ probably be processed faster.

      If you're looking for help, a quick look at the list archive may actually -provide the answer, I usually send source samples when answering libxslt usage -questions. The auto-generated -documentation is not as polished as I would like (I need to learn more -about Docbook), but it's a good starting point.

      +provide the answer, I usually send source samples when answering libxslt +usage questions. The auto-generated documentation is +not as polished as I would like (I need to learn more about Docbook), but +it's a good starting point.

      How to help

      @@ -178,8 +179,8 @@ platform, get in touch with me to upload the package. I will keep them in the
    • The Gnome CVS base. Check the Gnome CVS Tools page; - the CVS module is libxslt.

      + href="http://developer.gnome.org/tools/cvs.html">Gnome CVS Tools + page; the CVS module is libxslt.

    @@ -189,6 +190,22 @@ 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 file for a really accurate description

+

1.0.0: July 10 2001

+
    +
  • a lot of cleanup, a lot of regression tests added or fixed
  • +
  • added a documentation for writing + extensions
  • +
  • fixed some variable evaluation problems (with William)
  • +
  • added profiling of stylesheed excution accessible as the xsltproc + --profile option
  • +
  • fixed element-available() and the implementation of the various + chunking methods present, Norm Walsh provided a lot of feedback
  • +
  • exclude-result-prefixes and namespaces output should now work as + expected
  • +
  • added support of embedded stylesheet as described in section 2.7 of the + spec
  • +
+

0.14.0: July 5 2001

  • lot of bug fixes, and code cleanup
  • @@ -337,10 +354,11 @@ for a really accurate description

  • second beta version, released at the same time as libxml2-2.3.1
  • getting close to feature completion, lot of bug fixes, some in the HTML and XPath support of libxml
  • -
  • start becoming usable for real work. This version can now regenerate the - XML 2e HTML from the original XML sources and the associated stylesheets - (in section I of the - XML REC)
  • +
  • start becoming usable for real work. This version can now regenerate + the XML 2e HTML from the original XML sources and the associated + stylesheets (in section I of the XML + REC)
  • Still misses extension element/function/prefixes support. Support of key() and document() is not complete
  • @@ -404,9 +422,9 @@ href="tutorial/libxslttutorial.html">tutorial.

    Steps 2,3, and 5 will probably need to be changed depending on you -processing needs and environment for example if reading/saving from/to memory, -or if you want to apply XInclude processing to the stylesheet or input -documents.

    +processing needs and environment for example if reading/saving from/to +memory, or if you want to apply XInclude processing to the stylesheet or +input documents.

    Contributions

    -

    I'm still waiting for someone to contribute a simple XSLT processing module -for Apache :-)

    +

    I'm still waiting for someone to contribute a simple XSLT processing +module for Apache :-)

    diff --git a/libxslt/transform.c b/libxslt/transform.c index 7fd5d62b..47d37cab 100644 --- a/libxslt/transform.c +++ b/libxslt/transform.c @@ -3356,7 +3356,7 @@ xsltRunStylesheet(xsltStylesheetPtr style, xmlDocPtr doc, } /** - * xsltRegisterAllElements: + * xsltRegisterAllElement: * @ctxt: the XPath context * * Registers all default XSLT elements in this context diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h index cfca0dc5..b9f94e11 100644 --- a/libxslt/xsltwin32config.h +++ b/libxslt/xsltwin32config.h @@ -21,21 +21,21 @@ extern "C" { * * the version string like "1.2.3" */ -#define LIBXSLT_DOTTED_VERSION "0.14.0" +#define LIBXSLT_DOTTED_VERSION "1.0.0" /** * LIBXSLT_VERSION: * * the version number: 1.2.3 value is 1002003 */ -#define LIBXSLT_VERSION 1400 +#define LIBXSLT_VERSION 10000 /** * LIBXSLT_VERSION_STRING: * * the version number string, 1.2.3 value is "1002003" */ -#define LIBXSLT_VERSION_STRING "1400" +#define LIBXSLT_VERSION_STRING "10000" /** * WITH_XSLT_DEBUG: diff --git a/win32/libxslt/libxslt.def b/win32/libxslt/libxslt.def index d8fe803b..c28a2007 100644 --- a/win32/libxslt/libxslt.def +++ b/win32/libxslt/libxslt.def @@ -140,6 +140,7 @@ EXPORTS xsltRunStylesheet xsltLoadStylesheetPI + xsltRegisterAllElement