I need to search a specific xml node. I know part of its name but not the entire name... How can I get that element with part of the name?
I know it can be resolved using xpath, but I dont know how. For example...:
<root>
<head/>
<body> <SuperAsdf> hi </SuperAsdf>
</body>
<root/>
I know that have to be a tag with "Super" but I dont know that it could have "Asdf", so I need a xPath expression to find all the tags with "Super".
Also, what function supports xpaths in java?
I'm using getElementsByTagName, but I read that it cant interpretate xpath.