|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to trim leading and trailing spaces in xsl:at
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
________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








