0 Replies Latest reply on Mar 12, 2007 7:21 PM by 807606

    Re: Jdom access mulitple elements

      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.