Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Is it possible NOT to replace entity references? Is it possible NOT to replace entity references?To: NULL Date: 9/5/2005 2:33:00 AM Hi, I use XML mainly as a source for HTML. HTML browsers 'know' certain entity references like é or ä. When I use XSL to transform XML to HTML or XML, these entities are replaced by what they refer to. Is there a way to avoid that? Two reasons to avoid that: - On my linux machine xsltproc replaced the entities in a way that my browser did not correctly display the resulting HTML (I updated my linux distribution and it now works). - < is replaced by < and the output is no longer valid XML/HTML I worked with the Python xml.sax module today, which had the same 'issue'. I can of course perform the inverse substitution before I write to the result document, but that seems like a lot of unnecessary work. Any hints? Thanks, Stephan | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
