Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Help on search and replace [Thread Next] Re: Help on search and replaceTo: NULL Date: 6/3/2004 2:04:00 PM Hi Mikael, Character code 4 (ASCII End Of Text EOT) is not legal in an XML document or (XSLT document). From section 2.2 of the XML spec, the only characters allowed are: #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] Characters not in the above ranges may not appear in an XML document or as a character entity. So both the literal character EOT and the  are illegal. See: http://www.w3.org/TR/2004/REC-xml-20040204/#charsets You have three options: 1. Fix the source of the XML so it only generates valid XML. 2. Do the search and replace in some other means before the XSLT processor gets the file. 3. Find an XSLT processor that can handle illegal characters in the XML and XSLT files. (I don't know of one) -- Jesse Hager | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
