|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: generating human-readable HTML
Brian Chrisman writes: > Are you just trying to not get the 'one line of output', or is there a > deeper reason you need to keep the newlines? There is no deeper reason, just readability. > If not, have you tried putting indent="yes" in your xsl:output > declaration? I hadn't tried that, because the XSLT spec says: The value of the indent attribute provides the value of the indent parameter to the serialization method. The default value is yes in the case of the html and xhtml output methods, no in the case of the xml output method. and my xsl:output declaration already has method="xhtml". But sure enough, adding indent="yes" gives much better results -- thanks! -- Kevin
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








