xsl-list
[Top] [All Lists]

Re: generating human-readable HTML

2005-03-01 16:42:31
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>