Process suggestions vol. 1
Dave Pawson
davep at dpawson.co.uk
Wed Aug 11 10:18:59 UTC 2004
On Wed, 2004-08-11 at 09:27, Karsten Wade wrote:
> You can't blindly indent the document and walk away. If you anything in
> a <screen> or <programlisting> block that requires specific formatting
> (white space, etc.) -- such as code from a program, example from a
> config file, or a series of command line examples -- doing a DTD based
> indent will likely mess up those sections. If that is not true, I'd be
> very happy to see a demonstration.
Attached, clean.xsl
Works with any docbook file.
Note: indent is an implementation option.
Saxon does it. I know msxsl doesn't,
'cos it doesn't play fair with ws :-)
YMMV
--
Regards DaveP.
XSLT&Docbook FAQ
http://www.dpawson.co.uk/xsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clean.xsl
Type: text/x-xslt
Size: 497 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-docs-list/attachments/20040811/3ea0bdcc/attachment.bin>
More information about the fedora-docs-list
mailing list