RE: [xsl] CDATA - Can I have XML ?

Subject: RE: [xsl] CDATA - Can I have XML ?
From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx>
Date: Fri, 7 Mar 2003 10:46:22 -0500
What about the situation where an XHTML fragment needs to be
put into an otherwise "vanilla" XML document, where character
entities (&ldquo; etc.) are embedded in the XHTML document
fragment?

Is it poor design to use these character entities?


Yes, it is. You need to either define those entities, or use the literal characters or character references instead.
--


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

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


Current Thread