[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Removing XML:space from output


Subject: Re: [xsl] Removing XML:space from output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 4 Jul 2001 16:15:38 +0100

> What I was wondering is if there was a way to use
> "indent='yes'" to make the page readable, preserve the spacing between
> inline elements (the way it does when the output method='html') and
> still keep the p

the xml output method doesn't "know" anything about any element so
doesn't know which are inline. If you say indent="yes" then you are
saying the system can always insert white space between element nodes.

If you care about the details of white space, it's better to leave
indent="no" then you have full control and can just add white space
where you want it.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml