Subject: Re: [xsl] generating human-readable HTML From: Kevin Rodgers <kevin.rodgers@xxxxxxx> Date: Tue, 1 Mar 2005 16:53:34 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] generating human-readable, Brian Chrisman | Thread | Re: [xsl] generating human-readable, David Carlisle |
Re: [xsl] generating human-readable, David Carlisle | Date | [xsl] XSL & Entities, c p |
Month |