/ Michael Westbay <[EMAIL PROTECTED]> was heard to say:
| Cushman-san wrote:
| > I am writing an XSL wrapper for html/chunk.xsl. This works very nicely, but
| > I have had some difficulty debugging because there are never any linebreaks
| > in the output, making it impossible to read. Is there anything I can do to
| > make the HTML output more readable?
|
| Yes, there is. In your custom xsl file include the following line:
|
| <xsl:output method="html" indent="yes"/>
|
| This will format nicely indented tags.
|
| The only drawback to this is if you have something like <computeroutput> or
| <programlisting> in your XML, it will get indented - which is probably not
Some tools also do funky things with the callout extensions if you turn
on indenting. I find it's easier to just run the results through tidy[1].
Be seeing you,
norm
[1] http://www.w3.org/People/Raggett/tidy/
--
Norman Walsh <[EMAIL PROTECTED]> | A man should have any number of
http://www.oasis-open.org/docbook/ | little aims about which he should
Chair, DocBook Technical Committee | be conscious and for which he
| should have names, but he should
| have neither name for, nor
| consciousness concerning, the main
| aim of his life.--Samuel Butler
| (II)
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]