Subject: Re: xsl:output/@indent="yes" and *[@xml:space="preserve"]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 5 Feb 2003 14:08:12 GMT
|
> 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
|