Hi Mike,
Where we must specify xml:space="preserve" attribute
(to preserve whitespace only text nodes in
stylesheet)?
anywhere that is the parent of the node you want to preserve: each node
is considered separately.
Would it be at this tag -
<xsl:stylesheet xml:space="preserve" ...
You could do it there but as Mike said you probably don't want to do
that.
For example xsl:param has to be the first thing in a template but people
often go
<xsl:template name="x">
<xsl:param name="y"/>
and if you don't ignore the white space node there then xsl:param is no
longer the first node, and it generates an error.
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
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--