Subject: RE: [xsl] character entities and xslt From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Thu, 20 Sep 2001 14:24:42 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] character entities and xslt, ronald heller | Thread | [xsl] Tokenizing IDREFs, Stuart Brown |
RE: [xsl] variable as select for te, Dmitri Ilyin | Date | RE: [xsl] Understanding Templates, Hewko, Doug |
Month |