This document describes libxslt, the XSLT C library developped for the Gnome project.
Here are some key points about libxslt:
There are some on-line resources about using 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 xml@rpmfind.net for libxml and libxslt, with an on-line archive. To subscribe to this majordomo based list, send a mail message to majordomo@rpmfind.net with "subscribe xml" in the content of the message.
Alternatively, you can just send the bug to the xml@rpmfind.net list, if it's really libxml related I will approve it..
Of course, bugs reports with a suggested patch for fixing them will 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 libxml 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.
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 archives and the Gnome bug database::
The latest versions of libxslt can be found on rpmfind.net or on the Gnome FTP server either as a source archive or RPM packages. (NOTE that you need both the libxml2 and libxml2-devel packages installed to compile applications using libxml.)
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 contrib directory
Libxslt is also available from CVS:
The Gnome CVS base. Check the Gnome CVS Tools page; the CVS module is libxslt.
This program is the simplest way to use libxslt from the command line, it takes as first argument the path or URL to an XSLT stylesheet. the next arguments are filenames or URIs of the inputs to be processed. The output of the processing is redirected on the standard output.
Okay this section is clearly incomplete. But integrating libxslt into your application should be realitively easy. First check the few steps described below, then for more detailed informations, look at the generated pages for the API and the source of xsltproc.c .
Basically doing an XSLT transformation can be done in a few steps:
xmlSubstituteEntitiesDefault(1);
xmlLoadExtDtdDefaultValue = 1;
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.
$Id: xslt.html,v 1.8 2001/02/27 13:18:39 veillard Exp $