When I want to find elements from XML in with jQuery, i can just use CSS selectors. Is there any similar selector system for XML parsing in Java?
A:
You can use either E4X or XPath to query your XML file. I would recommend using the new E4X technology as it's more easy to use than XPath.
jQuery only offers standard hierarchical functions to parse XML files (see here) as it's not his purpose to do otherwise.
Eran Betzalel
2010-02-17 11:41:23