Subject: Re: [xsl] Getting a list of node Text() From: Nicholas Orr <nick@xxxxxxxxxxx> Date: Thu, 21 Jun 2007 14:10:03 +1000 |
Cheers, Nick
Nicholas Orr wrote:
Yes, I agree. The source I have no control over, other than to submit error reports and hope for the best. It's coming out of an app where I don't control the output.
But having investigated this I came to the same conclusion, and I'll submit some reports about it and see what happens.
Nicholas, if you draw a blank on your error reports, i.e., if you *have* to remove the whitespace yourself, consider the following three options:
1. The FAQ entry: http://www.dpawson.co.uk/xsl/sect2/ N8321.html#d11899e830
2. One of the two solutions below, which is rather straightforward, the second admittedly being a bit obfuscated while trying to minimize the code
3. XSLT 2 (convince your bosses to upgrade): replace($text, '\s*([^ \s]+)\s*', '$1')
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting a list of node Te, Abel Braaksma | Thread | [xsl] Managing two different XSLT f, subbulakshmi.kumaras |
[xsl] Splitting Data into Two Sets,, Daniel Johnson | Date | [xsl] Sorting Using A Predefined Or, Jeff Sese |
Month |