In reference to
i am understanding that root node is the same as document node and that the root element is the same as document element. am i understanding it correctly?
can you please confirm that in my sample soap response
- S:Envelope is the root node AND the document node
- S:Envelope is also the root element AND the document element
- will document-node() be the return sequence type of this soap response that i should use in my XQuery declare function signature for the soap request giving this soap response?
- or should it be something else like node()*, or item()* or element()*
thanks a lot
apaw
i have this soap response:
<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:searchResponse xmlns:ns2="ws.s.b.d.com">
<return>
... snipped ...
<businessName>GREEN NATURE WATER REFILLING STATION</businessName>
<province>PROVINCE AA</province>
<referenceNumber>12345678</referenceNumber>
... snipped ...
<status>Registered</status>
</return>
... snipped a lot of <return> ... </return> ...
<return>
... snipped ...
<businessName>129 GREEN AVENUE STORE</businessName>
<province>PROVINCE BB</province>
<referenceNumber>12345670</referenceNumber>
... snipped ...
<status>Registered</status>
</return>
</ns2:searchResponse>
</S:Body>
</S:Envelope>