[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: character entities and xslt
> we get a valid xml file with some characters entities in it. > Before we can make use of this XML we first transform it into another > instance. This instance has another structure. > > The character entities in the first file are being resolved > by the parser > we use (saxon), resulting in that the editor we use > (adept/epic) doen't > recognize these characters (at least not all of them). > > We actually do not want the XSLT script to result in a xml > file where all > char. entites are resolved, they should be as in the original file. > > What am I doing wrong here? You're not doing anything wrong, you're just wanting something that XSLT doesn't provide. XSLT transforms the infoset that results from XML parsing, and XML parsing resolves character references (and entity references) before the transformation proper starts. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|