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

RE: [xsl] text() handling

Subject: RE: [xsl] text() handling
From: "Ross, Douglas" <DRoss@xxxxxxxxxx>
Date: Fri, 14 Jan 2005 11:23:45 -0500

One might need to preserve space for output formating but trim space for
testing conditions. Also, I wonder does normalize-space preserve a
single space? For example,

<anode>   foo   bar   </anode>

What would normalize-space do to the above node?
'foo bar', ' foo bar ', 'foo   bar'.

Douglas Ross
Developer, HTML UI Framework
E-mail: dross@xxxxxxxxxx

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Friday, January 14, 2005 11:16 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] text() handling



why would you use an extension function rather than just
normalize-space() which probably does more or less the same thing in
these cases?


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:

Current Thread