[jdom-interest] question on how to retrieve text/content

Charlie Wu cwu at brocade.com
Wed Sep 25 13:32:15 PDT 2002

Hi all:

If I have an xml element in the following format:


Which API function can retrieve "A<nl/>B<nl/>C" as a string? I tried
getText(), getTextNormalize() but they always return "ABC".. instead I
wanted "A B C" or "A<nl/>B<nl/>C".. I guess I could do a getContent and then
process every item on the list.. but it seems quite tedious.. 

Any suggestions out there?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020925/c12d7063/attachment.htm

More information about the jdom-interest mailing list