[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: generating human-readable HTML

Subject: Re: generating human-readable HTML
From: Brian Chrisman <incubus@xxxxxxxxxxxxxx>
Date: Tue, 1 Mar 2005 15:42:31 -0800
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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.