RE: [xsl] resolving entities

Subject: RE: [xsl] resolving entities
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 23 Jul 2004 15:25:18 +0100
> This will output:
> <?xml version="1.0"?>
> <script>    
> HM_A... folder=/mart/chamadas&amp;report_id=chamadas",1,0,0]]
> </script>
> 
> and I need:
> <?xml version="1.0"?>
> <script>    
> HM_A... folder=/mart/chamadas&report_id=chamadas",1,0,0]]
> </script>
> 

The former is well-formed XML, and the latter isn't. Ampersand characters in
XML must be escaped.

Why do you want to produce incorrect XML?

Michael Kay

Current Thread