What package shall I use for XPath? I want wo query for elements and then extract some values around these nodes. Maybe one or more levels higher, some attributes.
javax.xml.xpath
is XPath 1.0. Is javax.xml.xpath
and org.w3c.dom
the right way to go, or are there more modern implementations? org.w3c.dom
is very awkward, JDOM seems alot easier.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…