Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Mar 12, 2007 7:21 PM by 807606
Re: Jdom access mulitple elements
Mar 12, 2007 7:21 PM
Look into xpath, it's a very powerful and simple querying tool for xml. JDom supports it as well. Here's a good tutorial: http://www.zvon.org/xxl/XPathTutorial/General/examples.html
What you want is "//course" which will match all "course" elements anywhere in the document. Check out example 2 in that tutorial for an example.
This content has been marked as final.
Show 0 replies