XPath first node
Posted on 2006-06-21
I'm using xpath to analyze xml file.
this is my xml:
<title lang="eng">Harry Potter</title>
<title lang="eng">Learning XML</title>
I use the following xpath:
it fails becouse I have more then one node of that type. How do I ask for the first node?