I have the below example:
<?xml version="1.0" encoding="UTF-8"?>
<my:root xmlns:my="http://www.example.com/mynamespace">
<my:child name="Sid">
<my:grandchild name="Sue">
<my:greatgrandchild name="Fred" />
</my:grandchild>
</my:child>
</my:root>
and i need to select the attribute xmlns:my using an xpath but it is not working. Can someone please advise?
Thanks!