[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: CDATA sections in W3C XML Infoset
- From: Gavin Thomas Nicol <gtn@ebt.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 28 Mar 2001 16:20:42 -0500
> I think there should be a standard way to
> normalize a DOM tree so that CDATASection
> nodes disappear.
While I can see that value in this, I have a
question...
Given that the DOM allows adjacent Text nodes unless
normalise() is called, and CDATASection nodes extend
the interfaces of Text, how would your processing
change if you just dealt with Text alone?