[jdom-interest] Reading XML with JDOM problem
hogartyp at aldercapital.com
Fri Jan 11 03:22:57 PST 2002
I have an xml doc eg:
<date required="Yes">Friday, January 11, 2002(0830)</date>
So each report has a sub_report. The problem I am getting is that when I use Jdom to extract the data from the xml doc, it looks at the first sub_report it meets and proceeds to parse though it. Once finished it comes out, sees "sub_report" again and parses the same sub_report it just came from again, and not going on to the next one!
I realise I could make matters easier by labeling the sub_report like such, sub_report1, sub_report2, sub_report3... but for other reasons (XSLT hic-cups) I would rather keep it the way it is.
If anyone has used Jdom extensively and perhaps has an answer to making it skip over roots it has done before with the same name then please let me know.
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest