You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Mike Reynolds <mi...@tanjian.com> on 2000/12/01 01:04:18 UTC

RE: MemInputSource and DOMParser object

Thanks to everyone for all the help.

Mike

-----Original Message-----
From: Joseph_Kesselman@lotus.com [mailto:Joseph_Kesselman@lotus.com]
Sent: Thursday, November 30, 2000 2:07 PM
To: xerces-c-dev@xml.apache.org
Subject: RE: MemInputSource and DOMParser object



> Would then, the CDATA be a CDATA_SECTION_NODE type node and I would have
to
>test for that?

If you mean <![CDATA[ ]]> ... yes. If you mean CDATA as in the value of an
XML attribute... no, those are just Text nodes. (Unfortunately CDATA means
two different things depending on context, which is why I always say "CDATA
Section" or spell it out as <![CDATA[ ]]>.)

Note that CDATASection nodes in the DOM API are a subclass of Text nodes,
so if you don't care about the distintion between them you should be able
to use the same code to process both types.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org