I'll want to parse an SOAP Message with XPath but in the XML Response are internal references. XPath does not resolve these. Is it possible to automatical resolve references before using XPath so that i could use xpath expressions like "//get_referencesResponse/Result/source/item" or is there an better way to read the document?
<SOAP-ENV:Body>
<get_referencesResponse SOAP-ENC:root="1" id="i1">
<Result href="#i2"/>
</get_referencesResponse>
<Result SOAP-ENC:root="0" id="i2">
<source href="#i3"/>
<malware href="#i4"/>
[...]
</Result>
<source SOAP-ENC:arrayType="xsd:string[2]" SOAP-ENC:root="0" id="i3" xsi:type="SOAP- ENC:Array">
<item href="#i8"/>
<item href="#i9"/>
</source>
<malware SOAP-ENC:arrayType="xsd:string[7]" SOAP-ENC:root="0" id="i4" xsi:type="SOAP-ENC:Array">
<item href="#i10"/>
<item href="#i11"/>
<item href="#i12"/>
[...]
</malware>
[...]
<item SOAP-ENC:root="0" id="i8" xsi:type="xsd:string">address</item>
<item SOAP-ENC:root="0" id="i9" xsi:type="xsd:string">network_prefix</item>
<item SOAP-ENC:root="0" id="i10" xsi:type="xsd:string">md5</item>
[...]
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>