Subject: Re: [xsl] RETAINING THE ENTITY NAMES IN THE RESULTING TREE From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 6 Aug 2004 09:47:09 +0100 |
You can not retain the entities as they are expanded by the XML parser before XSLT starts, so they are not in its input tree at all, however since you are using XSLT2 you can use character-maps to write those characters (whether or not entered as entities) as entity refs. There are some ready made character maps for those entities available from http://www.w3.org/2003/entities/xhtml1doc just download the xsl files and import xhtml1map.xsl David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] RETAINING THE ENTITY NAME, Michael Kay | Thread | [xsl] RETAINING THE ENTITY NAMES IN, Arul Kumar |
RE: [xsl] RETAINING THE ENTITY NAME, Michael Kay | Date | Re: [xsl] Preserve HTML formatting , Jeni Tennison |
Month |