xsl-list
[Top] [All Lists]

RE: Generating numeric character references

2003-01-16 03:24:41


Hi,

This won't work.

If you took the results of this transform and gave them to SAX
ContentHandler you'd get a 'characters' call with the string
"­", not with the single character represented by U+00AD.

Also, if you re-serialised the result, you end up back where
you started: & a m p ; # 1 7 3 ;

Dan.

ooops, engage brain.  Of course you will need use d-o-e on the text nodes to 
ensure your newly form ­ text string isn't serialized back out to 
­... (which is what wendell was saying in the first place)

cheers
andrew

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
 

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