Hi all,
Ack I feel dumb asking this question, but I can't seem to get the proper x-path expression for this xml. Here it is:
------
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle=" xmlns:SOAP-ENC=" xmlns:xsi=" xmlns:SOAP-ENV=" xmlns:xsd="<SOAP-ENV:Body>
<namesp1:get_genes_by_pathwayResponse xmlns:namesp1="SOAP/KEGG">
<return SOAP-ENC:arrayType="xsd:string[25]" xsi:type="SOAP-ENC:Array" xmlns:r="SOAP/KEGG">
<item xsi:type="xsd:string">hsa:2203</item>
<item xsi:type="xsd:string">hsa:221823</item><item xsi:type="xsd:string">hsa:226</item><item xsi:type="xsd:string">hsa:229</item><item xsi:type="xsd:string">hsa:22934</item><item xsi:type="xsd:string">hsa:230</item><item xsi:type="xsd:string">hsa:2539</item><item xsi:type="xsd:string">hsa:25796</item><item xsi:type="xsd:string">hsa:2821</item><item xsi:type="xsd:string">hsa:51071</item><item xsi:type="xsd:string">hsa:5211</item><item xsi:type="xsd:string">hsa:5213</item><item xsi:type="xsd:string">hsa:5214</item><item xsi:type="xsd:string">hsa:5226</item><item xsi:type="xsd:string">hsa:5236</item><item xsi:type="xsd:string">hsa:5238</item><item xsi:type="xsd:string">hsa:5631</item><item xsi:type="xsd:string">hsa:5634</item><item xsi:type="xsd:string">hsa:6120</item><item xsi:type="xsd:string">hsa:64080</item><item xsi:type="xsd:string">hsa:6888</item><item xsi:type="xsd:string">hsa:7086</item><item xsi:type="xsd:string">hsa:84076</item><item xsi:type="xsd:string">hsa:8789</item><item xsi:type="xsd:string">hsa:9563</item></return></namesp1:get_genes_by_pathwayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
------
Basically, i want to get the values out of the item nodes, but i can't seem to figure out the x-path expressions because of the namespaces. I've tried like everything.
Can anyone help me?
Thanks
Ack I feel dumb asking this question, but I can't seem to get the proper x-path expression for this xml. Here it is:
------
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle=" xmlns:SOAP-ENC=" xmlns:xsi=" xmlns:SOAP-ENV=" xmlns:xsd="<SOAP-ENV:Body>
<namesp1:get_genes_by_pathwayResponse xmlns:namesp1="SOAP/KEGG">
<return SOAP-ENC:arrayType="xsd:string[25]" xsi:type="SOAP-ENC:Array" xmlns:r="SOAP/KEGG">
<item xsi:type="xsd:string">hsa:2203</item>
<item xsi:type="xsd:string">hsa:221823</item><item xsi:type="xsd:string">hsa:226</item><item xsi:type="xsd:string">hsa:229</item><item xsi:type="xsd:string">hsa:22934</item><item xsi:type="xsd:string">hsa:230</item><item xsi:type="xsd:string">hsa:2539</item><item xsi:type="xsd:string">hsa:25796</item><item xsi:type="xsd:string">hsa:2821</item><item xsi:type="xsd:string">hsa:51071</item><item xsi:type="xsd:string">hsa:5211</item><item xsi:type="xsd:string">hsa:5213</item><item xsi:type="xsd:string">hsa:5214</item><item xsi:type="xsd:string">hsa:5226</item><item xsi:type="xsd:string">hsa:5236</item><item xsi:type="xsd:string">hsa:5238</item><item xsi:type="xsd:string">hsa:5631</item><item xsi:type="xsd:string">hsa:5634</item><item xsi:type="xsd:string">hsa:6120</item><item xsi:type="xsd:string">hsa:64080</item><item xsi:type="xsd:string">hsa:6888</item><item xsi:type="xsd:string">hsa:7086</item><item xsi:type="xsd:string">hsa:84076</item><item xsi:type="xsd:string">hsa:8789</item><item xsi:type="xsd:string">hsa:9563</item></return></namesp1:get_genes_by_pathwayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
------
Basically, i want to get the values out of the item nodes, but i can't seem to figure out the x-path expressions because of the namespaces. I've tried like everything.
Can anyone help me?
Thanks