xsl-list
[Top] [All Lists]

Fixing entities

2003-04-01 02:36:49
I'm trying to tidy up some xml that contains html entities such as named
&fract12; and number ½

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



<Prev in Thread] Current Thread [Next in Thread>