Here is the xml from which i want to retrieve the value.

```
<dsml>
<entries>
<entry dn="uid=7686,c=in,ou=pages,o=example.com">
<att name="uid">
<value>7568766</value>
<value>756876634</value>
</att><att name="callname">
<value>jhsadkjh</value>
<value>jhsadkjhakjdgakj</value>
</att></entry>
</entries>
</dsml>

```

As you can see that each attribute is having 2 values associated with it. I want to fetch only first one.
Below are some xpaths i have used:

```
//dsml/entries/entry/att[@name = 'uid']/value[1]
//dsml/entries/entry/att[@name = 'uid']/value/[1]

```

But its always throwing exception.