Re: [xsl] Self-analysing stylesheet

Subject: Re: [xsl] Self-analysing stylesheet
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 19:27:14 +0200
G. Ken Holman schrieb:
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.

This looks really useful - thanks!

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.

(2) Make your stylesheet module collection available via HTTP.

(3) Edit your top stylesheet, that is the one at the top of the import
tree, to include:

(a) the processing instruction for XSLStyle (DocBook, DITA, home-grown);

    <?xml-stylesheet type="text/xsl"

(b) the XSLStyle namespace declaration (maybe excluding it from the


(c) and at least one documentation element.

    <doc:doc info="Blabla" filename="list.xsl" vocabulary='DocBook'>
        <para>Moin, moin.</para>

(4) Point IE to your modified stylesheet module. Voil`.

Michael Ludwig

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?

Current Thread