Subject: RE: xml:preserve space makes xsl:attribute fail in IE6
From: "Dunning, John" <JDunning@xxxxxxxxx>
Date: Wed, 11 Dec 2002 15:51:50 -0500
|
Also to "keep tidy and readable", use
<xsl:output method="html" indent="yes"/> as a top-level element in your
stylesheet.
---------
I used the space="preserve" to keep my HTML tidy and readable. Finally
after trying a number of otherwise working examples, I removed
space="preserve" from the stylesheet tag and presto, the attribute was
added as expected.
Is there any other way to keep the HTML output formatting as indented in
the stylesheet ?
Thanks for any feedback.
Regards,
Neil Smith.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|