Hi, I'm having a problem with the xsl:strip-space element. I'm trying to
strip all the excess whitespace from a document, however very occasionally
I'll get some whitespace nodes which won't get stripped. I think this is
because they have non breaking spaces in them (however I'm not really sure
how to check for sure)? Here's the sample that doesn't get the space
stripped:
<?xml version="1.0" encoding="UTF-8"?>
<td colspan="11">
<p align="center"> 2000</p>
<test> </test>
</td>
And here's the output:
<?xml version="1.0" encoding="utf-8"?><td colspan="11">
<p align="center"> 2000</p><test/></td>
I found that if the last character on the 4th line was removed, then it
removed the space, so I guess that's the nbsp?
Anyways, what I'm wondering is how to strip the space including the nbsp.
Thanks,
Jordan
--~------------------------------------------------------------------
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>
--~--