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

[xsl] Replacing \U+00A0

Subject: [xsl] Replacing \U+00A0
From: Mario Madunic <mario.madunic@xxxxxxxxxxxx>
Date: Fri, 23 Aug 2013 12:25:01 -0700


Having a problem replacing the following string in some XML, \U+00A0. It is
appearing as is in the XML. Example: <p>This para\U+00A0contains.</p>

Using Saxon HE

Tried the following:
<xsl:value-of select="if (contains(., '\U+00A0')) then replace(., '\U+00A0', '
') else ." />. Am able to find the string in question (using contains()) but
am unable to replace it.

Any insight and help will be appreciated.


Mario Madunic | Software Developer | AeroInfo Systems, A Boeing Company |
mario.madunic@xxxxxxxxxxxx | #200-13575 Commerce Parkway | Richmond, BC, V6V
2L1, Canada | www.aeroinfo.com | www.boeing.com

Current Thread