Hi I'm trying to get a variable value (ref within contractRef) in the xml below, but when I use what I assume to be the xpath:
/discovery/contractRef[@xmlns='http://schemas.xmlsoap.org/disco/scl/']/@ref
it returns nothing. How can I get this variable, what am I missing? Thanks
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="http://127.0.0.1/Services/Core/Calendar/LBCalendar.svc?wsdl" docRef="http://127.0.0.1/Services/Core/Calendar/LBCalendar.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
</discovery>