[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] CDATA - Can I have XML ?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 7 Mar 2003 16:55:49 GMT


> Is it poor design to use these character entities?

It would be bettr to not put the xhtml in ctdata and to add
a dtd defining the entities to your outer file (or to 
use character refs rather than named entities).
even if you put the text in cdata and use an extension function
to parse teh string as xml this will fail if you have entity refs with
no DTD to define them. An XML parser does not "know" the html
entities automatically.

David

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



Current Thread
Keywords