Re: [xsl] generating human-readable HTML

Subject: Re: [xsl] generating human-readable HTML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Mar 2005 23:52:36 GMT
> I've tried adding a xml:space="preserve" attribute to the
> xsl:stylesheet, xsl:template, and html elements, but to no avail: I

beware adding that to xsl:.. elements as that makes white space
non-ignored in places where you'd rather it was ignored, eg if you
indent a <xsl:param  it is no longer the first node in the template so a
syntax error.

However putting it on the html elements is supposed to work.

is it definitely on one line or does it just look as if it is
(ie did your processor write unix line endings and your on a mac
this can happen...)
What happens if you do <xsl:text>&#10;</xsl:text> ?

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread