We have input like this: <doc> ...
<div id="123"> <p>This is text <i>that may</i> have embedded formatting codes</p> </div> ... </doc> I can quickly get to the div and the "p" using jdom and xpath, but then what I need to do is somehow iterate through the content so that it is split out like this: This is text <i>that may</i> have embedded formatting codes If i try getText() on the p node, I get "This is text have embedded formatting codes". Any ideas? -- -- Michael LEXI-COMP CONFIDENTIALITY NOTICE The information in this electronic mail is intended for the named recipients only. Any use of this information by anyone other than the intended receiver is prohibited. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this electronic e-mail or by calling 330-650-6506. Please delete it from your computer. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user