[jdom-interest] CDATA Extraction Question
Perry Hoekstra
dutchman at uswest.net
Tue Feb 6 16:41:19 PST 2001
Greet the sun all,
I have a question concerning CDATA. If I have a tag like the following:
<foo>
<![CDATA[<BR>Hello]]>
</foo>
how would I extract the CDATA material? There is no method on Element
that allows me to extract the data as a CDATA object. If I use
getText(), then I get the CDATA tag information and have to strip the
CDATA material out before it is usable as text or to pass into the CDATA
constructor parameter.
Thoughts?
--
Perry Hoekstra
E-Commerce Architect
Talent Software Services
perry.hoekstra at talentemail.com
More information about the jdom-interest
mailing list