xsl-list
[Top] [All Lists]

Re: xsl:output/@indent="yes" and *[(_at_)xml:space="preserve"]

2003-02-05 07:08:12


I also would like to specify pretty-printing for the whole output doc 
(indent="yes"), but disallow it for the contents of a set of elements.

your wish is granted:
As the original poster and Michael correctly commented (and I
incorrectly forgot) You can suppress the effects of indent="yes"
by setting xml:space="preserve" on selected elements in the output.
(Modulo the fact that it doesn't work in saxon at the moment, hence this
thread)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

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