Hi
Dave,
I dont
know of an XPATH expression that will give you the result, I am not an XPATH
expert. I think that XPath treats all text nodes as the the same,
If you
dont want to have any whitespace then you call
setStripWhitespaceText(true) on the SAXContentHandler, which will not give you
the nodes in the first place
if
your cadat section contains non whitespace only, and you only have one CDATA
section as a child of the element, which I guess it would then you can
use getTopNode().valueOf(
"/bitmap" ).trim();
failing that navigate to the element and iterate through the content to
get the result
Hope
this helps
Mike
|
Title: Message
- [dom4j-user] CDATA inserting \n\t David Thielen
- Re: [dom4j-user] CDATA inserting \n\t Mike Skells
- Re: [dom4j-user] CDATA inserting \n\t David Thielen