Archive of UserLand's first discussion group, started October 5, 1998.

Weird characters in XML

Author:Niel Bornstein
Posted:12/2/1998; 6:48:50 AM
Topic:First message
Msg #:685 (In response to 641)
Prev/Next:684 / 686

Interesting side effect when working in XML: these weird character entities are not defined. Dave, you might want to *not* convert the characters to HTML entities when rendering XML, instead replacing them with the nearest eqiuvalent.

The only entities defined by default in XML are <, >, &, ', and ". A workaround is, of course, to declare a DTD that includes the other entities ;)




This page was archived on 6/13/2001; 4:46:08 PM.

© Copyright 1998-2001 UserLand Software, Inc.