[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: character entities and xslt

Subject: RE: character entities and xslt
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 20 Sep 2001 14:24:42 +0100
character entity 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.