← Prev in month
← Prev in thread
Next in thread →
Next in month →
DOCBOOK-APPS: Example of an XSL customization layer
Since it sounds like a number of people are starting to experiment with XSL customization layers, I thought I'd share one that works. The attached file, e-smith.xsl, is a customization layer that I've been using for my XSL experiments. I have a second one that I call "e-smith-chunk.xsl" which is identical expect that the xsl:import statement points to "chunk.xsl" instead of "docbook.xsl". A couple of the items in the file apply only to chunking - for simplicity I just have one base stylesheet, so you can ignore those parameters in this file. This stylesheet has worked fine with xsltproc to create a single HTML file from an XML file. With the path changed to 'chunk.xsl', it has worked great to take a single XML file and chunk it out to 110+ individual HTML files. Anyway, here's a customization layer that works and I offer it for anyone else who wants to play with this stuff and learn more. Note that you will need to change the xsl:import statement to have the correct path to where Norm's XSL stylesheets are installed. Have fun, Dan P.S. Suggestions about improvements to the stylesheet are, of course, very welcome! -- Dan York, Director of Training Ph: +1-613-751-4401 Mobile: +1-613-263-4312 Fax: +1-613-564-7739 e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada http://www.e-smith.com/ open source, open mind
← Prev in month
← Prev in thread
Next in thread →
Next in month →