Subject: Re: [xsl] generating human-readable HTML From: Brian Chrisman <incubus@xxxxxxxxxxxxxx> Date: Tue, 1 Mar 2005 15:42:31 -0800 |
> which generates the following (the ellipsis above contains an > xsl:apply-templates instruction and the ellipsis below is the resulting > table, which is fairly long and what I really want to be readable): > > <html xmlns="http://www.w3.org/1999/xhtml"><head> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> > <title>INDUSTRY STANDARDS 20050301 Report</title></head><body>...</body></html> > > I've tried adding a xml:space="preserve" attribute to the > xsl:stylesheet, xsl:template, and html elements, but to no avail: I > always get one long line of output. Is this one of those things one is > just not supposed to do? Are you just trying to not get the 'one line of output', or is there a deeper reason you need to keep the newlines? If not, have you tried putting indent="yes" in your xsl:output declaration? > > -- > Kevin Rodgers
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] generating human-readable HTM, Kevin Rodgers | Thread | Re: [xsl] generating human-readable, Kevin Rodgers |
[xsl] generating human-readable HTM, Kevin Rodgers | Date | RE: [xsl] Separating XSLT 1 and 2 h, Mulberry Technologie |
Month |