Subject: Re: [xsl] Self-analysing stylesheet|
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 19:27:14 +0200
XSLStyle is free to download and use. I think you'll find it a very complete solution to documenting fragmented XSLT stylesheets. Any suggestions for improvements are welcome, and of course you can go in and hack your own additional rules or remove rules you don't like.
In order to get you started after downloading XSLStyle, you need to do the following:
(1) Make XSLStyle available via HTTP, for example on your local machine. Some links may not work in IE when using filesystem paths.
(3) Edit your top stylesheet, that is the one at the top of the import tree, to include:
<?xml-stylesheet type="text/xsl" href="/dev/XSLStyle/xslstyle-docbook.xsl"?>
(b) the XSLStyle namespace declaration (maybe excluding it from the result);
<doc:doc info="Blabla" filename="list.xsl" vocabulary='DocBook'> <doc:title>Moin</doc:title> <para>Moin, moin.</para> </doc:doc>
-- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?