[Home] [By Thread] [By Date] [Recent Entries]

Subject: Fixing entities
From: "Philip Fitzsimons" <pfitzsimons@xxxxxxxxxxx>
Date: Tue, 1 Apr 2003 10:36:49 +0100
I'm trying to tidy up some xml that contains html entities such as named
&fract12; and number &#189;

I wish to map them to <character code="fract12" /> and <character code="189"
/> (I will then use a utf mapping file to map them to utf codes)

Whats the correct way to do this is xslt - the classic example would be
"<p>john gave &fract12; the cake to jane</p>"

Thanks in advance.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member