Maybe not exactly what you need but how about:

Element.getText()

"Returns the text value of this element without recursing through
child elements. This method iterates through all Text, CDATA and
Entity nodes that this element contains and appends the text values
together."

or ...

Element.getStringValue()

"Returns the XPath string-value of this node. The behaviour of this
method is defined in the XPath specification. This method returns the
string-value of all the contained Text, CDATA, Entity and Element
nodes all appended together."

Regards,
Edwin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to