I believe the answer is that at the DOM level it's not supposed to matter, and therefore you don't & can't know if it's CDATA.
- dave ----- Original Message ----- From: "Brian Young" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 12:28 PM Subject: [dom4j-user] problem detecting CDATA > I'm writing some code where I need to know whether an element contains a > CDATA section or not, but am having trouble determining this with the > top level dom4j interfaces. Element.getText() obviously just returns a > String representing all of the text whether it was in a CDATA section or > not. > > It is rather likely I am just missing something- so please point me in > the right direction..... > > Thanks > > > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-user > _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
