posted 17 years ago
<University>
<Department name="Math" ....>
<address ..>
</Department>
<Department name="History" ..>
<address ...>
</Department>
<Department ...
..
</Department>
</University>
I want to get a "NodeList" of <Department>, i.e a list of <Department>s. However, when I do
XPathAPI.selectNodelist(Document, "/root/.../University/");
It returns an "Element". How to select an entire list of <Department>s as a NodeList ?
Thanks.