I have an xml document like so:
<add-server-response>
<server id="4029" name="" notes="" state="Restoring Harddrive Image">
<login name="iDRAC" username="dracadmin" password="Ah73849SJu57S1l"/>
<ip name="system" address="199.16.205.97"/>
</server>
</add-server-response>
From this, I want to get the value of id (4029), via Xpath. What would the corresponding xpath be and is there not a tool that would let me hover over an attribute and see the xpath query?
Thanks
/add-server-response/server/@idDon’t know of any tool