How do i handle &nsbp; in stylesheet?
Posted on 2007-11-28
I have a stylesheet which accepts xml (which happens to be html) from some process. The problem is that the process is generating &nsbp; which causes the xsl parser to crash.
From looking on the web i see that &nsbp is not allowed, a suggestion was to put the following ENTITY declaration in the header:
<!ENTITY nbsp CDATA " " >
<?xml version="1.0" encoding="Windows-1252" ?>
.. but i now get an xslt compile error. As i understand it the above declaration should replace all occurrances of to   which xsl DOES handle. I suspect that the post i found on the web missed something from the above declaration. Can anyone correct the above or suggest another way for my xslt to handle
Thanks in advance :)