XSLTGeneral questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
You mean, you want the entity references to be used in the output?
This will happen automatically with the HTML output method (in Saxon), because HTML has predefined entities for these characters. This isn't true of XML output. You can force it using character maps, but it's hard work. To be honest, XSLT is best for manipulating XML at the logical level, and if you need to manipulate the physical level you may be better off with a tool such as awk or sed.
Michael Kay http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference