[jdom-interest] Generic access to Element children passed one level

Christian Velez Christian.Velez at RIAG.com
Mon Dec 10 12:35:32 PST 2001


<NAME>
    <SLNK SRCEID="ABC:638.3-1">
        <PLINK N="2001-43">Rev. Proc. 2001-43</PLINK>
    </SLNK>
    <PLINK N="2001-43">
        <M MID="ABC:638.3" MTYPE="LS" MDATE="20011011" MTIME="12501405"/>
        Rev. Proc. 2001-43</PLINK> and Profits Interest: ABCDEFGHIJK
</NAME>

With the code above, is there a way that I can access the String content
of NAME and its children 'Without' having to explicitly use child element
names. For further processing, I want to pull the string:

	 Rev. Proc. 2001-43 and Profits Interest: ABCDEFGHIJK

Could I use Elements' getContent() method in any way? 

Best,

Christian Velez/>
Research Institute of America, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20011210/6b0dee8e/attachment.htm


More information about the jdom-interest mailing list