J
JustSomeGuy
When you have an xml message and you want to extract a particular
item, what is the normal search method?
Say you have:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetExternalIPAddressResponse
xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPAddress>
168.46.10.14
</NewExternalIPAddress>
</u:GetExternalIPAddressResponse>
</s:Body>
</s:Envelope>
So if you are interested in the 168.46.10.14
Do you specify that you want:
s:Envelope.s:Body.u:GetExternalIPAddressResponse.NewExternalIPAddress
or simply:
NewExternalIPAddress
Does this make sence?
item, what is the normal search method?
Say you have:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetExternalIPAddressResponse
xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPAddress>
168.46.10.14
</NewExternalIPAddress>
</u:GetExternalIPAddressResponse>
</s:Body>
</s:Envelope>
So if you are interested in the 168.46.10.14
Do you specify that you want:
s:Envelope.s:Body.u:GetExternalIPAddressResponse.NewExternalIPAddress
or simply:
NewExternalIPAddress
Does this make sence?