Re: generating human-readable HTML
> 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
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