Hi there, I need to be able to see and modify an xml value.
I used to be able to do so using xpath when the xml structure was:


by using /root/employeeA/text() to get "jones" but now the xml structure has changed to the following:

	  <employees name="employeeA" value="jones"/>
	  <employees name="employeeB" value="smith"/>

I've tried: /root/node1/node2/employees[@name='employeeA']/text() but it doesn't work, how do I use xpath to modify the value when it is set as an attribute!

Thanks in advanced

use predicate as if struxtur

so you write xpath as