In the below xml code I need to extract only authentication-token, which is a attribute value.
I tried to use Execute XPath activity with “string(//tsResponse/credentials/@token)” but it is returning blank
I also tried XDOC.Element(“tsresponse”).Element(“credentials”).Attribute(“token”).Value
I also tried this XDOC.Element(“credentials”).Attribute(“token”).Value
But it doesnt work. Will someone help me with this?