UNPKG

node10-libxslt

Version:

[Fork] Node.js bindings for libxslt compatible with libxmljs

1,075 lines (987 loc) 118 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>The XSLT C library for GNOME</title> <meta name="GENERATOR" content="amaya 8.5, see http://www.w3.org/Amaya/"> <meta http-equiv="Content-Type" content="text/html"> </head> <body bgcolor="#ffffff"> <h1 align="center">The XSLT C library for GNOME</h1> <h1 style="text-align: center">libxslt</h1> <p>Libxslt is the <a href="http://www.w3.org/TR/xslt">XSLT</a> C library developed for the GNOME project. XSLT itself is a an XML language to define transformation for XML. Libxslt is based on <a href="http://xmlsoft.org/">libxml2</a> the XML C library developed for the GNOME project. It also implements most of the <a href="http://www.exslt.org/">EXSLT</a> set of processor-portable extensions functions and some of Saxon's evaluate and expressions extensions.</p> <p>People can either embed the library in their application or use xsltproc the command line processing tool. This library is free software and can be reused in commercial applications (see the <a href="intro.html">intro</a>)</p> <p>External documents:</p> <ul> <li>John Fleck wrote <a href="tutorial/libxslttutorial.html">a tutorial for libxslt</a></li> <li><a href="xsltproc.html">xsltproc user manual</a></li> <li><a href="http://xmlsoft.org/">the libxml documentation</a></li> </ul> <p></p> <p>Logo designed by <a href="mailto:liyanage@access.ch">Marc Liyanage</a>.</p> <h2><a name="Introducti">Introduction</a></h2> <p>This document describes <a href="http://xmlsoft.org/XSLT/">libxslt</a>, the <a href="http://www.w3.org/TR/xslt">XSLT</a> C library developed for the <a href="http://www.gnome.org/">GNOME</a> project.</p> <p>Here are some key points about libxslt:</p> <ul> <li>Libxslt is a C implementation</li> <li>Libxslt is based on libxml for XML parsing, tree manipulation and XPath support</li> <li>It is written in plain C, making as few assumptions as possible, and sticking closely to ANSI C/POSIX for easy embedding. Should works on Linux/Unix/Windows.</li> <li>This library is released under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT Licence</a></li> <li>Though not designed primarily with performances in mind, libxslt seems to be a relatively fast processor.</li> </ul> <h2><a name="Documentat">Documentation</a></h2> <p>There are some on-line resources about using libxslt:</p> <ol> <li>Check the <a href="html/libxslt-lib.html#LIBXSLT-LIB">API documentation</a> automatically extracted from code comments (using the program apibuild.py, developed for libxml, together with the xsl script 'newapi.xsl' and the libxslt xsltproc program).</li> <li>Look at the <a href="http://mail.gnome.org/archives/xslt/">mailing-list archive</a>.</li> <li>Of course since libxslt is based on libxml, it's a good idea to at least read <a href="http://xmlsoft.org/">libxml description</a></li> </ol> <h2><a name="Reporting">Reporting bugs and getting help</a></h2> <p>If you need help with the XSLT language itself, here are a number of useful resources:</p> <ul> <li>I strongly suggest to subscribe to <a href="http://www.mulberrytech.com/xsl/xsl-list">XSL-list</a>, check <a href="http://www.biglist.com/lists/xsl-list/archives/">the XSL-list archives</a></li> <li>The <a href="http://www.dpawson.co.uk/xsl/xslfaq.html">XSL FAQ</a>.</li> <li>The <a href="http://www.nwalsh.com/docs/tutorials/xsl/xsl/slides.html">tutorial</a> written by Paul Grosso and Norman Walsh is a very good on-line introdution to the language.</li> <li>The <a href="http://www.zvon.org/xxl/XSLTutorial/Books/Book1/index.html">only Zvon XSLT tutorial</a> details a lot of constructs with examples.</li> <li><a href="http://www.jenitennison.com/xslt/index.html">Jeni Tennison's XSLT</a> pages provide links to a lot of answers</li> <li>the <a href="http://incrementaldevelopment.com/xsltrick/">Gallery of XSLT Tricks</a> provides non-standard use case of XSLT</li> <li>And I suggest to buy Michael Kay "XSLT Programmer's Reference" book published by <a href="http://www.wrox.com/">Wrox</a> if you plan to work seriously with XSLT in the future.</li> </ul> <p>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 <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=libxslt">GNOME bug tracking database</a> (make sure to use the "libxslt" module name). Before filing a bug, check the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">list of existing libxslt bugs</a> to make sure it hasn't already been filed. I look at reports there regularly and it's good to have a reminder when a bug is still open. Be sure to specify that the bug is for the package libxslt.</p> <p>For small problems you can try to get help on IRC, the #xml channel on irc.gnome.org (port 6667) usually have a few person subscribed which may help (but there is no guarantee and if a real issue is raised it should go on the mailing-list for archival).</p> <p>There is also a mailing-list <a href="mailto:xslt@gnome.org">xslt@gnome.org</a> for libxslt, with an <a href="http://mail.gnome.org/archives/xslt/">on-line archive</a>. To subscribe to this list, please visit the <a href="http://mail.gnome.org/mailman/listinfo/xslt">associated Web</a> page and follow the instructions.</p> <p>Alternatively, you can just send the bug to the <a href="mailto:xslt@gnome.org">xslt@gnome.org</a> 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. <strong>Do not send code, I won't debug it</strong> (but patches are really appreciated!).</p> <p>Please note that with the current amount of virus and SPAM, sending mail to the list without being subscribed won't work. There is *far too many bounces* (in the order of a thousand a day !) I cannot approve them manually anymore. If your mail to the list bounced waiting for administrator approval, it is LOST ! Repost it and fix the problem triggering the error. Also please note that <span style="color: #FF0000; background-color: #FFFFFF">emails with a legal warning asking to not copy or redistribute freely the information they contain</span> are <strong>NOT</strong> acceptable for the mailing-list, such mail will as much as possible be discarded automatically, and are less likely to be answered if they made it to the list, <strong>DO NOT</strong> post to the list from an email address where such legal requirements are automatically added, get private paying support if you can't share information.</p> <p>Check the following too <span style="color: #E50000">before posting</span>:</p> <ul> <li><a href="search.php">use the search engine</a> to get information related to your problem.</li> <li>make sure you are <a href="ftp://xmlsoft.org/libxslt/">using a recent version</a>, and that the problem still shows up in those</li> <li>check the <a href="http://mail.gnome.org/archives/xslt/">list archives</a> to see if the problem was reported already, in this case there is probably a fix available, similarly check the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">registered open bugs</a></li> <li>make sure you can reproduce the bug with xsltproc, a very useful thing to do is run the transformation with -v argument and redirect the standard error to a file, then search in this file for the transformation logs just preceding the possible problem</li> <li>Please send the command showing the error as well as the input and stylesheet (as an attachment)</li> </ul> <p>Then send the bug with associated information to reproduce it to the <a href="mailto:xslt@gnome.org">xslt@gnome.org</a> list; if it's really libxslt related I will approve it. Please do not send mail to me directly, it makes things really hard to track and in some cases I am not the best person to answer a given question, ask on the list.</p> <p>To <span style="color: #E50000">be really clear about support</span>:</p> <ul> <li>Support or help <span style="color: #E50000">request MUST be sent to the list or on bugzilla</span> in case of problems, so that the Question and Answers can be shared publicly. Failing to do so carries the implicit message "I want free support but I don't want to share the benefits with others" and is not welcome. I will automatically Carbon-Copy the xslt@gnome.org mailing list for any technical reply made about libxml2 or libxslt.</li> <li>There is <span style="color: #E50000">no guarantee for support</span>, if your question remains unanswered after a week, repost it, making sure you gave all the detail needed and the information requested.</li> <li>Failing to provide information as requested or double checking first for prior feedback also carries the implicit message "the time of the library maintainers is less valuable than my time" and might not be welcome.</li> </ul> <p>Of course, bugs reports with a suggested patch for fixing them will probably be processed faster.</p> <p>If you're looking for help, a quick look at <a href="http://mail.gnome.org/archives/xslt/">the list archive</a> may actually provide the answer, I usually send source samples when answering libxslt usage questions. The <a href="html/libxslt-lib.html#LIBXSLT-LIB">auto-generated documentation</a> is not as polished as I would like (I need to learn more about Docbook), but it's a good starting point.</p> <h2><a name="help">How to help</a></h2> <p>You can help the project in various ways, the best thing to do first is to subscribe to the mailing-list as explained before, check the <a href="http://mail.gnome.org/archives/xslt/">archives </a>and the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">GNOME bug database:</a>:</p> <ol> <li>provide patches when you find problems</li> <li>provide the diffs when you port libxslt to a new platform. They may not be integrated in all cases but help pinpointing portability problems and</li> <li>provide documentation fixes (either as patches to the code comments or as HTML diffs).</li> <li>provide new documentations pieces (translations, examples, etc ...)</li> <li>Check the TODO file and try to close one of the items</li> <li>take one of the points raised in the archive or the bug database and provide a fix. <a href="mailto:daniel@veillard.com">Get in touch with me </a>before to avoid synchronization problems and check that the suggested fix will fit in nicely :-)</li> </ol> <h2><a name="Downloads">Downloads</a></h2> <p>The latest versions of libxslt can be found on the <a href="ftp://xmlsoft.org/libxslt/">xmlsoft.org</a> server. (NOTE that you need the <a href="http://rpmfind.net/linux/RPM/libxml2.html">libxml2</a>, <a href="http://rpmfind.net/linux/RPM/libxml2-devel.html">libxml2-devel</a>, <a href="http://rpmfind.net/linux/RPM/libxslt.html">libxslt</a> and <a href="http://rpmfind.net/linux/RPM/libxslt-devel.html">libxslt-devel</a> packages installed to compile applications using libxslt.) <a href="mailto:igor@zlatkovic.com">Igor Zlatkovic</a> is now the maintainer of the Windows port, <a href="http://www.zlatkovic.com/projects/libxml/index.html">he provides binaries</a>. <a href="http://opencsw.org/">CSW</a> provides <a href="http://opencsw.org/packages/libxslt">Solaris binaries</a>, and <a href="mailto:Steve.Ball@explain.com.au">Steve Ball</a> provides <a href="http://www.explain.com.au/oss/libxml2xslt.html">Mac Os X binaries</a>.</p> <p><a name="Snapshot">Snapshot:</a></p> <ul> <li>Code from the GNOME GIT base libxslt module, updated hourly <a href="ftp://xmlsoft.org/libxml2/libxslt-git-snapshot.tar.gz">libxslt-git-snapshot.tar.gz</a>.</li> </ul> <p><a name="Contribs">Contribs:</a></p> <p>I do accept external contributions, especially if compiling on another platform, get in touch with me to upload the package. I will keep them in the <a href="ftp://xmlsoft.org/libxml2/contribs/">contrib directory</a></p> <p>Libxslt is also available from GIT:</p> <ul> <li><p>See <a href="http://git.gnome.org/browse/libxslt/">libxslt Git web</a>. To checkout a local tree use:</p> <pre>git clone git://git.gnome.org/libxslt</pre> </li> <li>The <strong>libxml2</strong> module is also present <a href="http://git.gnome.org/browse/libxml2/">there</a></li> </ul> <h2><a name="FAQ">FAQ</a></h2> <ol> <li><em>Troubles compiling or linking programs using libxslt</em> <p>Usually the problem comes from the fact that the compiler doesn't get the right compilation or linking flags. There is a small shell script <code>xslt-config</code> which is installed as part of libxslt usual install process which provides those flags. Use</p> <p><code>xslt-config --cflags</code></p> <p>to get the compilation flags and</p> <p><code>xslt-config --libs</code></p> <p>to get the linker flags. Usually this is done directly from the Makefile as:</p> <p><code>CFLAGS=`xslt-config --cflags`</code></p> <p><code>LIBS=`xslt-config --libs`</code></p> <p>Note also that if you use the EXSLT extensions from the program then you should prepend <code>-lexslt</code> to the LIBS options</p> </li> <li><em>passing parameters on the xsltproc command line doesn't work</em> <p><em>xsltproc --param test alpha foo.xsl foo.xml</em></p> <p><em>the param does not get passed and ends up as ""</em></p> <p>In a nutshell do a double escaping at the shell prompt:</p> <p>xsltproc --param test "'alpha'" foo.xsl foo.xml</p> <p>i.e. the string value is surrounded by " and ' then terminated by ' and ". Libxslt interpret the parameter values as XPath expressions, so the string -&gt;<code>alpha</code>&lt;- is intepreted as the node set matching this string. You really want -&gt;<code>'alpha'</code>&lt;- to be passed to the processor. And to allow this you need to escape the quotes at the shell level using -&gt;<code>"'alpha'"</code>&lt;- .</p> <p>or use</p> <p>xsltproc --stringparam test alpha foo.xsl foo.xml</p> </li> <li><em>Is there C++ bindings ?</em> <p>Yes for example <a href="http://pmade.org/pjones/software/xmlwrapp/">xmlwrapp</a> , see <a href="python.html">the related pages about bindings</a></p> </li> </ol> <h2><a name="News">News</a></h2> <p>See the <a href="http://git.gnome.org/browse/libxslt/">git page</a> to get a description of the recent commits.</p> <p>Those are the public releases made:</p> <h3>1.1.27: Sep 12 2012</h3> <ul> <li> Portability:<br/> xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLED (Michael Bonfils),<br/> Portability fix for testThreads.c (IlyaS),<br/> FreeBSD portability fixes (Pedro F. Giffuni),<br/> check for gmtime - on mingw* hosts will enable date-time function (Roumen Petrov),<br/> use only native crypto-API for mingw* hosts (Roumen Petrov),<br/> autogen: Only check for libtoolize (Colin Walters),<br/> minimal mingw support (Roumen Petrov),<br/> configure: acconfig.h is deprecated since autoconf-2.50 (Stefan Kost),<br/> Fix a small out of tree compilation issue (Hao Hu),<br/> Fix python generator to not use deprecated xmllib (Daniel Veillard),<br/> link python module with python library (Frederic Crozat)<br/> </li> <li> Documentation:<br/> Tiny doc improvement (Daniel Veillard),<br/> Various documentation fixes for docs on internals (C. M. Sperberg-McQueen)<br/> </li> <li> Bug fixes:<br/> Report errors on variable use in key (Daniel Veillard),<br/> The XSLT namespace string is a constant one (Daniel Veillard),<br/> Fix handling of names in xsl:attribute (Nick Wellnhofer),<br/> Reserved namespaces in xsl:element and xsl:attribute (Nick Wellnhofer),<br/> Null-terminate result string of cry:rc4_decrypt (Nick Wellnhofer),<br/> EXSLT date normalization fix (James Muscat),<br/> Exit after compilation of invalid func:result (Nick Wellnhofer),<br/> Fix for EXSLT func:function (Nick Wellnhofer),<br/> Rewrite EXSLT string:replace to be conformant (Nick Wellnhofer),<br/> Avoid a heap use after free error (Chris Evans),<br/> Fix a dictionary string usage (Chris Evans),<br/> Output should not include extraneous newlines when indent is off (Laurence Rowe),<br/> document('') fails to return stylesheets parsed from memory (Jason Viers),<br/> xsltproc should return an error code if xinclude fails (Malcolm Purvis),<br/> Forwards-compatible processing of unknown top level elements (Nick Wellnhofer),<br/> Fix system-property with unknown namespace (Nick Wellnhofer),<br/> Hardening of code checking node types in EXSLT (Daniel Veillard),<br/> Hardening of code checking node types in various entry point (Daniel Veillard),<br/> Cleanup of the pattern compilation code (Daniel Veillard),<br/> Fix default template processing on namespace nodes (Daniel Veillard),<br/> Fix a bug in selecting XSLT elements (Daniel Veillard),<br/> Fixed bug #616839 (Daniel Mustieles),<br/> Fix some case of pattern parsing errors (Abhishek Arya),<br/> preproc: fix the build (Stefan Kost),<br/> Fix a memory leak with xsl:number (Daniel Veillard),<br/> Fix a problem with ESXLT date:add() with January (money_seshu Dronamraju),<br/> Fix a memory leak if compiled with Windows locale support (Daniel Veillard),<br/> Fix generate-id() to not expose object addresses (Daniel Veillard),<br/> Fix curlies support in literals for non-compiled AVTs (Nick Wellnhofer),<br/> Allow whitespace in xsl:variable with select (Nick Wellnhofer),<br/> Small fixes to locale code (Nick Wellnhofer),<br/> Fix bug 602515 (Nick Wellnhofer),<br/> Fix popping of vars in xsltCompilerNodePop (Nick Wellnhofer),<br/> Fix direct pattern matching bug (Nick Wellnhofer)<br/> </li> <li> Improvements:<br/> Add the saxon:systemId extension (Mike Hommey),<br/> Add an append mode to document output (Daniel Veillard),<br/> Add new tests to EXTRA_DIST (Nick Wellnhofer),<br/> Test for bug #680920 (Nick Wellnhofer),<br/> fix regresson in Various "make distcheck" and other fixes (Roumen Petrov),<br/> Various "make distcheck" and other fixes (Daniel Richard G),<br/> Fix portability to upcoming libxml2-2.9.0 (Daniel Veillard),<br/> Adding --system flag support to autogen.sh (Daniel Veillard),<br/> Allow per-context override of xsltMaxDepth, introduce xsltMaxVars (J�r�me Carretero),<br/> autogen.sh: Honor NOCONFIGURE environment variable (Colin Walters),<br/> configure: support silent automake rules if possible (Stefan Kost),<br/> Precompile patterns in xsl:number (Nick Wellnhofer),<br/> Fix some warnings in the refactored code (Nick Wellnhofer),<br/> Adding new generated files (Daniel Veillard),<br/> profiling: add callgraph report (Stefan Kost)<br/> </li> <li> Cleanups:<br/> Big space and tabs cleanup (Daniel Veillard),<br/> Fix authors list (Daniel Veillard),<br/> Cleanups some of the test makefiles (Daniel Richard),<br/> Remove .cvsignore files which are not needed anymore (Daniel Veillard),<br/> Cleanup some misplaced spaces and tabs (Daniel Veillard),<br/> Augment list of ignored files (Daniel Veillard),<br/> configure: remove checks for isinf and isnan as those are not used anyway (Stefan Kost),<br/> Point to GIT for source code and a bit of cleanup (Daniel Veillard),<br/> Get rid of specific build setup and STATIC_BINARIES (Daniel Veillard)<br/> </li> </ul> <h3>1.1.26: Sep 24 2009</h3> <ul> <li> Improvement: Add xsltProcessOneNode to exported symbols for lxml (Daniel Veillard) </li> <li> Bug fixes: Fix an idness generation problem (Daniel Veillard), 595612 Try to fix some locking problems (Daniel Veillard), Fix a crash on misformed imported stylesheets (Daniel Veillard) </li> </ul> <h3>1.1.25: Sep 17 2009</h3> <ul> <li> Features: Add API versioning and various cleanups (Daniel Veillard), xsl:sort lang support using the locale (Nick Wellnhofer and Roumen Petrov) </li> <li> Documentation: Fix the download links for Solaris (Daniel Veillard), Fix makefile and spec file to include doc in rpm (Daniel Veillard) </li> <li> Portability: Make sure testThreads is linked with pthreads (Daniel Veillard), Fix potential crash on debug of extensions Solaris (Ben Walton), applied patch from Roumen Petrov for mingw cross compilation problems (Roumen Petrov), patch from Richard Jones to build shared libs with MinGW cross-compiler (Richard Jones), fix include path when compiling with MinGW (Roumen Petrov), portability fixes ( Nick Wellnhofer and Roumen Petrov) </li> <li> Bug fixes: Big fixes of pattern compilations (Nick Wellnhofer), Fix uses of xmlAddChild for error handling (Daniel Veillard), Detect deep recusion on function calls (Daniel Veillard), Avoid an error in namespace generation (Martin), Fix importing of encoding from included stylesheets (Nick Wellnhofer), Fix problems with embedded stylesheets and namespaces (Martin), QName parsing fix for patterns (Martin), Crash compiling stylesheet with DTD (Martin), Fix xsl:strip-space with namespace and wildcard (Nick Wellnhofer), Fix a mutex deadlock on unregistered extensions (Nix), 567192 xsltproc --output option ignore --xinclude (Joachim Breitner), Fix redundant headers in list (Daniel Veillard), 134754 Configure's --with-html-dir related fixes (Julio M. Merino Vidal), 305913 a serious problem in extensions reentrancy (Daniel Veillard), Fix an idness issue when building the tree (Daniel Veillard), Fixed indexing error reported by Ron Burk on the mailing list. (William M. Brack), prevent some unchecked pointer accesses (Jake Goulding), fix for CVE-2008-2935 libexslt RC4 encryption/decryption functions Daniel (Daniel Veillard), avoid a quadratic behaviour when hitting duplicates (Daniel Veillard), 544829 fixed option --with-debugger (Arun Ragnavan), 541965 fixed incorrect argument popping in exsltMathAtan2Function (William M. Brack), fix problem with string check for element-available (Ron Burk), 539741 added code to handle literal within an AVT (William M. Brack) </li> <li> Improvements: Allow use of EXSLT outside XSLT (Martin), Support Esperanto locale (Nick Wellnhofer), Change how attributes are copied for id and speed (Daniel Veillard), Add API versioning and various cleanups (Daniel Veillard), Adding a test program to check thread reentrancy (Daniel Veillard), big patch from finishing xsl:sort lang support (Roumen Petrov), add xsl:sort lang support using the locale (Nick Wellnhofer) </li> <li> Cleanups: Label xsltProcessOneNode as static (Daniel Veillard), git setup (Daniel Veillard), fixed typo detected by new libxml2 code (William M. Brack), xsltExtFunctionLookup was defined but never implemented (Ralf Junker) </li> </ul> <h3>1.1.24: May 13 2008</h3> <ul> <li>Documentation: man page fix (Vincent Lefevre).</li> <li>Bug fixes: pattern bug fix, key initialization problems, exclusion of unknown namespaced element on top of stylesheets, python generator syntactic cleanup (Martin)</li> </ul> <h3>1.1.23: Apr 8 2008</h3> <ul> <li>Documentation: fix links for Cygwin DocBook setup (Philippe Bourcier), xsltParseStylesheetDoc doc fix (Jason Viers), fix manpage default maxdepth value </li> <li>Bug fixes: python segfault (Daniel Gryniewicz), week-in-year bug fix (Maurice van der Pot), fix python iterator problem (William Brack), avoid garbage collection problems on str:tokenize and str:split and function results (William Brack and Peter Pawlowski) superfluous re-generation of keys (William Brack), remove superfluous code in xsltExtInitTest (Tony Graham), func:result segfault fix (William Brack), timezone offset problem (Peter Pawlowski),</li> <li>Portability fixes: old gcrypt support fix (Brent Cowgill), Python portability patch (Stephane Bidoul), VS 2008 fix (Rob Richard) </li> </ul> <h3>1.1.22: Aug 23 2007</h3> <ul> <li>Bug fixes: RVT cleanup problems (William Brack), exclude-result-prefix bug (William Brack), stylesheet compilation error handling (Rob Richards). </li> <li>Portability fixes: improve build with VS2005 (Rob Richards), fixing build on AIX (Bjorn Wiberg), fix the security file checks on Windows (Roland Schwarz and Rob Richards). </li> <li>Improvement: add an --encoding option to xsltproc (Drazen Kacar). </li> </ul> <h3>1.1.21: Jun 12 2007</h3> <ul> <li>Bug fixes: out of memory allocation errors (William Brack), namespace problem on compound predicates (William Brack), python space/tab inconsistencies (Andreas Hanke), hook xsl:message to per transformation error callbacks (Shaun McCance), cached RVT problem (William Brack), XPath context maintainance on choose (William Brack), memory leaks in the math module (William Brack), exclude-result-prefix induced namespace problem (William Brack)</li> <li>Build: configure setup for TRIO_REPLACE_STDIO (William Brack) <li>Documentation: updated after change from CVs to SVN (William Brack)</li> </ul> <h3>1.1.20: Jan 17 2007</h3> <ul> <li>Portability fixes: strict aliasing fix (Marcus Meissner), BSD portability patches (Roland Illig)</li> <li>Bug fixes: Result Value Tree handling fix (William Brack), function parameters fix (William), uninitialized variable (Kjartan Maraas), empty text node handling (William), plugin support and test fixes (William), fragment support fixes (William)</li> <li>Improvements: python stylesheet compare and transform context access (Nic Ferrier), EXSLT string replace support (Joel Reed), xsltproc better low level error handling (Mike Hommey and William)</li> </ul> <h3>1.1.19: Nov 29 2006</h3> <ul> <li>Bug fixes: entities within attributes (William Brack), Python detection problem (Joseph Sacco), in-scope namespace bug (Mike Hommey), Result value tree caching bug (William Brack)</li> </ul> <h3>1.1.18: Oct 26 2006</h3> <ul> <li>portability and build fixes: DESTDIR problem, build paths in python shared lib, compile when libxml2 doesn't support XInclude (Gary Coady).</li> <li>bug fixes: a number of namespace related bugs (Kasimier Buchcik), parameters bugs (Kasimier Buchcik), proximity position in predicates of match patterns (Kasimier), exslt-node-set troubles with strings (Kasimier), CDATA serialization, Python floats and booleans XPath conversions, XInclude support fixes, RVT cleanup problem (William Brack and Kasimier), attribute checking in stylesheets (Kasimier), xsltForEach context problem (Kasimier), security check should pass full URLs (Shane Corgatelli), security cleanup patch (Mikhail Zabaluev), some python accessor for stylesheet were broken, memory errors when compiling stylesheets (Mike Hommey), EXSLT current date end-of-month problem (William Brack).</li> <li>improvements: refactoring of namespace handling, value-of impleemntation and template internal processing (Kasimier Buchcik), new xsltproc flag to apply Xinclude to stylesheets.</li> <li>documentation: xsltproc man pages (Daniel Leidert), tests updates (William Brack), various typo fixes (Daniel Leidert), comments on versions macros (Peter Breitenlohner).</li> </ul> <h3>1.1.17: Jun 6 2006</h3> <ul> <li>portability fixes: python detection</li> <li>bug fixes: some regression tests, attribute/namespaces output (Kasimier Buchcik), problem in mixed xsl:value-of and xsl:text uses (Kasimier)</li> <li>improvements: internal refactoring (Kasimier Buchcik), use of the XPath object cache in libxml2-2.6.25 (Kasimier)</li> </ul> <h3>1.1.16: May 01 2006</h3> <ul> <li>portability fixes: EXSLT date/time on Solaris and IRIX (Albert Chin), HP-UX build (Albert Chin), <li>build fixes: Python detection(Joseph Sacco), plugin configurei (Joel Reed)</li> <li>bug fixes: pattern compilation fix(William Brack), EXSLT date/time fix (Thomas Broyer), EXSLT function bug, potential loop on variable eval, startup race (Christopher Palmer), debug statement left in python (Nic Ferrier), various cleanup based on Coverity reports), error on Out of memory condition (Charles Hardin), various namespace prefixes fixes (Kasimier Buchcik), </li> <li>improvement: speed up sortingi, start of internals refactoring (Kasimier Buchcik)</li> <li>documentation: man page fixes and updates (Daniel Leidert) </ul> <h3>1.1.15: Sep 04 2005</h3> <ul> <li>build fixes: Windows build cleanups and updates (Igor Zlatkovic), remove jhbuild warnings</li> <li>bug fixes: negative number formatting (William Brack), number formatting per mille definition (William Brack), XInclude default values (William), text copy bugs (William), bug related to xmlXPathContext size, reuse libxml2 memory management for text nodes, dictionary text bug, forbid variables in match (needs libxml2-2.6.21)</li> <li>improvements: EXSLT dyn:map (Mark Vakoc),</li> <li>documentation: EXSLT date and time functions namespace in man (Jonathan Wakely)</li> </ul> <h3>1.1.14: Apr 02 2005</h3> <ul> <li>bug fixes: text node on stylesheet document without a dictionary (William Brack), more checking of XSLT syntax, calling xsltInit() multiple times, mode values interning raised by Mark Vakoc, bug in pattern matching with ancestors, bug in patterna matching with cascading select, xinclude and document() problem, build outside of source tree (Mike Castle)</li> <li>improvement: added a --nodict mode to xsltproc to check problems for docuemtns without dictionaries</li> </ul> <h3>1.1.13: Mar 13 2005</h3> <ul> <li>build fixes: 64bits cleanup (William Brack), python 2.4 test (William), LIBXSLT_VERSION_EXTRA on Windows (William), Windows makefiles fixes (Joel Reed), libgcrypt-devel requires for RPM spec.</li> <li>bug fixes: exslt day-of-week-in-month (Sal Paradise), xsl:call-template should not change the current template rule (William Brack), evaluation of global variables (William Brack), RVT's in XPath predicates (William), namespace URI on template names (Mark Vakoc), stat() for Windows patch (Aleksey Gurtovoy), pattern expression fixes (William Brack), out of memory detection misses (William), parserOptions propagation (William), exclude-result-prefixes fix (William), // patten fix (William).</li> <li>extensions: module support (Joel Reed), dictionary based speedups trying to get rid of xmlStrEqual as much as possible.</li> <li>documentation: added Wiki (Joel Reed)</li> </ul> <h3>1.1.12: Oct 29 2004</h3> <ul> <li>build fixes: warnings removal (William).</li> <li>bug fixes: attribute document pointer fix (Mark Vakoc), exslt date negative periods (William Brack), generated tree structure fixes, namespace lookup fix, use reentrant gmtime_r (William Brack), exslt:funtion namespace fix (William), potential NULL pointer reference (Dennis Dams, William), force string interning on generated documents.</li> <li>documentation: update of the second tutorial (Panagiotis Louridas), add exslt doc in rpm packages, fix the xsltproc man page.</li> </ul> <h3>1.1.11: Sep 29 2004</h3> <ul> <li>bug fixes: xsl:include problems (William Brack), UTF8 number pattern (William), date-time validation (William), namespace fix (William), various Exslt date fixes (William), error callback fixes, leak with namespaced global variable, attempt to fix a weird problem #153137</li> <li>improvements: exslt:date-sum tests (Derek Poon)</li> <li>documentation: second tutorial by Panagiotis Lourida</li> </ul> <h3>1.1.10: Aug 31 2004</h3> <ul> <li>build fix: NUL in c file blocking compilation on Solaris, Windows build (Igor Zlatkovic)</li> <li>fix: key initialization problem (William Brack)</li> <li>documentation: fixed missing man page description for --path</li> </ul> <h3>1.1.9: Aug 22 2004</h3> <ul> <li>build fixes: missing tests (William Brack), Python dependancies, Python on 64bits boxes, --with-crypto flag (Rob Richards),</li> <li>fixes: RVT key handling (William), Python binding (William and Sitsofe Wheeler), key and XPath troubles (William), template priority on imports (William), str:tokenize with empty strings (William), #default namespace alias behaviour (William), doc ordering missing for main document (William), 64bit bug (Andreas Schwab)</li> <li>improvements: EXSLT date:sum added (Joel Reed), hook for document loading for David Hyatt, xsltproc --nodtdattr to avoid defaulting DTD attributes, extend xsltproc --version with CVS stamp (William).</li> <li>Documentation: web page problem reported by Oliver Stoeneberg</li> </ul> <h3>1.1.8: July 5 2004</h3> <ul> <li>build fixes: Windows runtime options (Oliver Stoeneberg), Windows binary package layout (Igor Zlatkovic), libgcrypt version test and link (William)</li> <li>documentation: fix libxslt namespace name in doc (William)</li> <li>bug fixes: undefined namespace message (William Brack), search engine (William), multiple namespace fixups (William), namespace fix for key evaluation (William), Python memory debug bindings,</li> <li>improvements: crypto extensions for exslt (Joel Reed, William)</li> </ul> <h3>1.1.7: May 17 2004</h3> <ul> <li>build fix: warning about localtime_r on Solaris</li> <li>bug fix: UTF8 string tokenize (William Brack), subtle memory corruption, linefeed after comment at document level (William), disable-output-escaping problem (William), pattern compilation in deep imported stylesheets (William), namespace extension prefix bug, libxslt.m4 bug (Edward Rudd), namespace lookup for attribute, namespaced DOCTYPE name</li> </ul> <h3>1.1.6: Apr 18 2004</h3> <ul> <li>2 bug fixes about keys fixed one by Mark Vakoc</li> </ul> <h3>1.1.5: Mar 23 2004</h3> <ul> <li>performance: use dictionary lookup for variables</li> <li>remove use of _private from source documents</li> <li>cleanup of "make tests" output</li> <li>bugfixes: AVT in local variables, use localtime_r to avoid thread troubles (William), dictionary handling bug (William), limited number of stubstitutions in AVT (William), tokenize fix for UTF-8 (William), superfluous namespace (William), xsltproc error code on &lt;xsl:message&gt; halt, OpenVMS fix, dictionary reference counting change.</li> </ul> <h3>1.1.4: Feb 23 2004</h3> <ul> <li>bugfixes: attributes without doc (Mariano Su�rez-Alvarez), problem with Yelp, extension problem</li> <li>display extension modules (Steve Little)</li> <li>Windows compilation patch (Mark Vadoc), Mingw (Mikhail Grushinskiy)</li> </ul> <h3>1.1.3: Feb 16 2004</h3> <ul> <li>Rewrote the Attribute Value Template code, new XPath compilation interfaces, dictionary reuses for XSLT with potential for serious performance improvements.</li> <li>bug fixes: portability (William Brack), key() in node-set() results (William), comment before doctype (William), math and node-set() problems (William), cdata element and default namespace (William), behaviour on unknown XSLT elements (Stefan Kost), priority of "//foo" patterns (William), xsl:element and xsl:attribute QName check (William), comments with -- (William), attribute namespace (William), check for ?&gt; in PI (William)</li> <li>Documentations: cleanup (John Fleck and William)</li> <li>Python: patch for OS-X (Gianni Ceccarelli), enums export (Stephane bidoul)</li> </ul> <h3>1.1.2: Dec 24 2003</h3> <ul> <li>Documentation fixes (John Fleck, William Brack), EXSLT documentation (William Brack)</li> <li>Windows compilation fixes for MSVC and Mingw (Igor Zlatkovic)</li> <li>Bug fixes: exslt:date returning NULL strings (William Brack), namespaces output (William Brack), key and namespace definition problem, passing options down to the document() parser, xsl:number fixes (William Brack)</li> </ul> <h3>1.1.1: Dec 10 2003</h3> <ul> <li>code cleanup (William Brack)</li> <li>Windows: Makefile improvements (Igor Zlatkovic)</li> <li>documentation improvements: William Brack, libexslt man page (Jonathan Wakely)</li> <li>param in EXSLT functions (Shaun McCance)</li> <li>XSLT debugging improvements (Mark Vakoc)</li> <li>bug fixes: number formatting (Bjorn Reese), exslt:tokenize (William Brack), key selector parsing with | reported by Oleg Paraschenko, xsl:element with computed namespaces (William Brack), xslt:import/include recursion detection (William Brack), exslt:function used in keys (William Brack), bug when CDATA_SECTION are foun in the tree (William Brack), entities handling when using XInclude.</li> </ul> <h3>1.1.0: Nov 4 2003</h3> <ul> <li>Removed DocBook SGML broken support</li> <li>fix xsl:key to work with PIs</li> <li>Makefile and build improvement (Graham Wilson), build cleanup (William Brack), macro fix (Justin Fletcher), build outside of source tree (Roumen Petrov)</li> <li>xsltproc option display fix (Alexey Efimov), --load-trace (Crutcher Dunnavant)</li> <li>Python: never use stdout for error</li> <li>extension memory error fix (Karl Eichwalder)</li> <li>header path fixes (Steve Ball)</li> <li>added saxon:line-number() to libexslt (Brett Kail)</li> <li>Fix some tortuous template problems when using predicates (William Brack)</li> <li>Debugger status patch (Kasimier Buchcik)</li> <li>Use new libxml2-2.6.x APIs for faster processing</li> <li>Make sure xsl:sort is empty</li> <li>Fixed a bug in default processing of attributes</li> <li>Removes the deprecated breakpoint library</li> <li>detect invalid names on templates (William Brack)</li> <li>fix exslt:document (and similar) base handling problem</li> </ul> <h3>1.0.33: Sep 12 2003</h3> <p>This is a bugfix only release</p> <ul> <li>error message missing argument (William Brack)</li> <li>mode not cascaded in template fallbacks (William Brack)</li> <li>catch redefinition of parameter/variables (William Brack)</li> <li>multiple keys with same namespace name (William Brack)</li> <li>patch for compilation using MingW on Windows (Mikhail Grushinskiy)</li> <li>header export macros for Windows (Igor Zlatkovic)</li> <li>cdata-section-elements handling of namespaced names</li> <li>compilation without libxml2 XPointer support (Mark Vadoc)</li> <li>apply-templates crash (William Brack)</li> <li>bug with imported templates (William Brack)</li> <li>imported attribute-sets merging bug (DocBook) (William Brack)</li> </ul> <h3>1.0.32: Aug 9 2003</h3> <ul> <li>bugfixes: xsltSaveResultToFile() python binding (Chris Jaeger), EXSLT function (William Brack), RVT for globals (William Brack), EXSLT date (William Brack), <p>speed of large text output, xsl:copy with attributes, strip-space and namespaces prefix, fix for --path xsltproc option, EXST:tokenize (Shaun McCance), EXSLT:seconds (William Brack), sort with multiple keys (William Brack), checking of { and } for attribute value templates (William Brack)</p> </li> <li>Python bindings for extension elements (Sean Treadway)</li> <li>EXSLT:split added (Shaun McCance)</li> <li>portability fixes for HP-UX/Solaris/IRIX (William Brack)</li> <li>doc cleanup</li> </ul> <h3>1.0.31: Jul 6 2003</h3> <ul> <li>bugfixes: xsl:copy on namespace nodes, AVT for xsl:sort order, fix for the debugger (Keith Isdale), output filename limitation, trio.h and triodef.h added (Albert Chin), EXSLT node-set (Peter Breitenlohner), xsltChoose and whitespace (Igor Zlatkovic), <p>stylesheet compilation (Igor Zlatkovic), NaN and sort (William Brack), RVT bug introduced in 1.0.30</p> </li> <li>avoid generating &amp;quot; (fix in libxml2-2.5.8)</li> <li>fix 64bit cleaness problem and compilation troubles introduced in 1.0.30</li> <li>Windows makefile generation (Igor Zlatkovic)</li> <li>HP-UX portability fix</li> </ul> <h3>1.0.30: May 4 2003</h3> <ul> <li>Fixes and new APIs to handle Result Value Trees and avoid leaks</li> <li>Fixes for: EXSLT math pow() function (Charles Bozeman), global parameter and global variables mismatch, a segfault on pattern compilation errors, namespace copy in xsl:copy-of, python generator problem, OpenVMS trio update, premature call to xsltFreeStackElem (Igor), current node when templates applies to attributes</li> </ul> <h3>1.0.29: Apr 1 2003</h3> <ul> <li>performance improvements especially for large flat documents</li> <li>bug fixes: Result Value Tree handling, XML IDs, keys(), extra namespace declarations with xsl:elements.</li> <li>portability: python and trio fixes (Albert Chin), python on Solaris (Ben Phillips)</li> </ul> <h3>1.0.28: Mar 24 2003</h3> <ul> <li>fixed node() in patterns semantic.</li> <li>fixed a memory access problem in format-number()</li> <li>fixed stack overflow in recursive global variable or params</li> <li>cleaned up Result Value Tree handling, and fixed a couple of old bugs in the process</li> </ul> <h3>1.0.27: Feb 24 2003</h3> <ul> <li>bug fixes: spurious xmlns:nsX="" generation, serialization bug (in libxml2), a namespace copy problem, errors in the RPM spec prereqs</li> <li>Windows path canonicalization and document cache fix (Igor)</li> </ul> <h3>1.0.26: Feb 10 2003</h3> <ul> <li>Fixed 3 serious bugs in document() and stylesheet compilation which could lead to a crash</li> </ul> <h3>1.0.25: Feb 5 2003</h3> <ul> <li>Bug fix: double-free for standalone stylesheets introduced in 1.0.24, C syntax pbm, 3 bugs reported by Eric van der Vlist</li> <li>Some XPath and XInclude related problems were actually fixed in libxml2-2.5.2</li> <li>Documentation: emphasize taht --docbook is not for XML docs.</li> </ul> <h3>1.0.24: Jan 14 2003</h3> <ul> <li>bug fixes: imported global varables, python bindings (St�phane Bidoul), EXSLT memory leak (Charles Bozeman), namespace generation on xsl:attribute, space handling with imports (Daniel Stodden), extension-element-prefixes (Josh Parsons), comments within xsl:text (Matt Sergeant), superfluous xmlns generation, XInclude related bug for numbering, EXSLT strings (Alexey Efimov), attribute-sets computation on imports, extension module init and shutdown callbacks not called</li> <li>HP-UX portability (Alexey Efimov), Windows makefiles (Igor and Stephane Bidoul), VMS makefile updates (Craig A. Berry)</li> <li>adds xsltGetProfileInformation() (Michael Rothwell)</li> <li>fix the API generation scripts</li> <li>API to provide the sorting routines (Richard Jinks)</li> <li>added XML description of the EXSLT API</li> <li>added ESXLT URI (un)escaping (J�rg Walter)</li> <li>Some memory leaks have been found and fixed</li> <li>document() now support fragment identifiers in URIs</li> </ul> <h3>1.0.23: Nov 17 2002</h3> <ul> <li>Windows build cleanup (Igor)</li> <li>Unix build and RPM packaging cleanup</li> <li>Improvement of the python bindings: extension functions and activating EXSLT</li> <li>various bug fixes: number formatting, portability for bounded string functions, CData nodes, key(), @*[...] patterns</li> <li>Documentation improvements (John Fleck)</li> <li>added libxslt.m4 (Thomas Schraitle)</li> </ul> <h3>1.0.22: Oct 18 2002</h3> <ul> <li>Updates on the Windows Makefiles</li> <li>Added a security module, and a related set of new options to xsltproc</li> <li>Allowed per transformation error handler.</li> <li>Fixed a few bugs: node() semantic, URI escaping, media-type, attribute lists</li> </ul> <h3>1.0.21: Sep 26 2002</h3> <ul> <li>Bug fixes: match="node()", date:difference() (Igor and Charlie Bozeman), disable-output-escaping</li> <li>Python bindings: style.saveResultToString() from Ralf Mattes</li> <li>Logos from Marc Liyanage</li> <li>Mem leak fix from Nathan Myers</li> <li>Makefile: DESTDIR fix from Christophe Merlet, AMD x86_64 (Mandrake), Windows (Igor), Python detection</li> <li>Documentation improvements: John Fleck</li> </ul> <h3>1.0.20: Aug 23 2002</h3> <ul> <li>Windows makefile updates (Igor) and x86-64 (Frederic Crozat)</li> <li>fixed HTML meta tag saving for Mac/IE users</li> <li>possible leak patches from Nathan Myers</li> <li>try to handle document('') as best as possible depending in the cases</li> <li>Fixed the DocBook stylesheets handling problem</li> <li>Fixed a few XSLT reported errors</li> </ul> <h3>1.0.19: July 6 2002</h3> <ul> <li>EXSLT: dynamic functions and date support bug fixes (Mark Vakoc)</li> <li>xsl:number fix: Richard Jinks</li> <li>xsl:format-numbers fix: Ken Neighbors</li> <li>document('') fix: bug pointed by Eric van der Vlist</li> <li>xsl:message with terminate="yes" fixes: William Brack</li> <li>xsl:sort order support added: Ken Neighbors</li> <li>a few other bug fixes, some of them requiring the latest version of libxml2</li> </ul> <h3>1.0.18: May 27 2002</h3> <ul> <li>a number of bug fixes: attributes, extra namespace declarations (DocBook), xsl:include crash (Igor), documentation (Christian Cornelssen, Charles Bozeman and Geert Kloosterman), element-available (Richard Jinks)</li> <li>xsltproc can now list teh registered extensions thanks to Mark Vakoc</li> <li>there is a new API to save directly to a string xsltSaveResultToString() by Morus Walter</li> <li>specific error registration function for the python API</li> </ul> <h3>1.0.17: April 29 2002</h3> <ul> <li>cleanup in code, XSLT debugger support and Makefiles for Windows by Igor</li> <li>a C++ portability fix by Mark Vakoc</li> <li>EXSLT date improvement and regression tests by Charles Bozeman</li> <li>attempt to fix a bug in xsltProcessUserParamInternal</li> </ul> <h3>1.0.16: April 15 2002</h3> <ul> <li>Bug fixes: strip-space, URL in HTML output, error when xsltproc can't save</li> <li>portability fixes: OSF/1, IEEE on alphas, Windows, Python bindings</li> </ul> <h3>1.0.15: Mar 25 2002</h3> <ul> <li>Bugfixes: XPath, python Makefile, recursive attribute sets, @foo[..] templates</li> <li>Debug of memory alocation with valgind</li> <li>serious profiling leading to significant improvement for DocBook processing</li> <li>revamp of the Windows build</li> </ul> <h3>1.0.14: Mar 18 2002</h3> <ul> <li>Improvement in the XPath engine (libxml2-2.4.18)</li> <li>Nasty bug fix related to exslt:node-set</li> <li>Fixed the python Makefiles, cleanup of doc comments, Windows portability fixes</li> </ul> <h3>1.0.13: Mar 8 2002</h3> <ul> <li>a number of bug fixes including "namespace node have no parents"</li> <li>Improvement of the Python bindings</li> <li>Charles Bozeman provided fixes and regression tests for exslt date functions.</li> </ul> <h3>1.0.12: Feb 11 2002</h3> <ul> <li>Fixed the makefiles especially the python module ones</li> <li>half a dozen bugs fixes including 2 old ones</li> </ul> <h3>1.0.11: Feb 8 2002</h3> <ul> <li>Change of Licence to the <a href="http://www.opensource.org/licenses/mit-license.html">MIT Licence</a></li> <li>Added a beta version of the Python bindings, including support to extend the engine with functions written in Python</li> <li>A number of bug fixes</li> <li>Charlie Bozeman provided more EXSLT functions</li> <li>Portability fixes</li> </ul> <h3>1.0.10: Jan 14 2002</h3> <ul> <li>Windows fixes for Win32 from Igor</li> <li>Fixed the Solaris compilation trouble (Albert)</li> <li>Documentation changes and updates: John Fleck</li> <li>Added a stringparam option to avoid escaping hell at the shell level</li> <li>A few bug fixes</li> </ul> <h3>1.0.9: Dec 7 2001</h3> <ul> <li>Makefile patches from Peter Williams</li> <li>attempt to fix the compilation problem associated to prelinking</li> <li>obsoleted libxsltbreakpoint now deprecated and frozen to 1.0.8 API</li> <li>xsltproc return codes are now significant, John Fleck updated the documentation</li> <li>patch to allow as much as 40 steps in patterns (Marc Tardif), should be made dynamic really</li> <li>fixed a bug raised by Nik Clayton when using doctypes with HTML output</li> <li>patches from Keith Isdale to interface with xsltdebugger</li> </ul> <h3>1.0.8: Nov 26 2001</h3> <ul> <li>fixed an annoying header problem, removed a few bugs and some code cleanup</li> <li>patches for Windows and update of Windows Makefiles by Igor</li> <li>OpenVMS port instructions from John A Fotheringham</li> <li>fixed some Makefiles annoyance and libraries prelinking information</li> </ul> <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: O