Below is the sample of an xml file I am dealing with:
<document>
<title>Molecular and genetic analysis of the Polycomb group gene <italic>Hex combs extra/Ring</italic> in <italic>Drosophila</italic></title>
</document>
As can be seen the <title> element has a mixture of text and elements as it's value.
I am trying to get the value of the title element as:
"Molecular and genetic analysis of the Polycomb group gene <italic>Hex combs extra/Ring</italic> in <italic>Drosophila</italic>"
But I am not able to:
titleElement.getText() returns: Molecular and genetic analysis of the Polycomb group gene in
and the titleElement.elements() method returns only two elements of <italic>.
Could someone please tell me how I can get the whole text within the title-tag as
it's value?
Thanks, Gurdev
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user