For what it's worth, that's not valid XML you're passing into the function. "soap:" is a name space prefix, and the soap name space has not been defined at the place where it is used. If it had been defined, such as with a tag defining an attribute xmlns:soap="
http://some/url/", then you could use `xml:"
http://some/url/ Envelope"` to say that you are trying to match the Envelope tag, and only the one in the soap name space.