Greetings!
I have the following situation:
I use a webservice to get my information. This returns an xml in the following state:
<getBronnenResult xmlns="[http://tempuri.org/" xmlns:soap="[URL="http://schemas.xmlsoap.org/soap/envelope/"]http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="[URL="http://www.w3.org/2001/XMLSchema"]http://www.w3.org/2001/XMLSchema">](http://tempuri.org/)
<Bronnen>
<id>81</id>
<sCount>260</sCount>
<title>Plant grown from cell culture tissue in test tube</title>
<number>100121</number>
<width>180</width>
<height>134</height>
<croptype/>
<growthstage/>
<source>BASF</source>
<photographer/>
<photocredit>Print free of charge. Please use following photo credit "Copyright © BASF".</photocredit>
<region>Europe</region>
<country>Germany</country>
<city/>
<disease/>
<captionnotes/>
<numberofpeople>0</numberofpeople>
<nameofmodel/>
<resolution>72</resolution>
<bitdepth>24</bitdepth>
<colourspace>RGB</colourspace>
<filetype>JPEG</filetype>
<filesize>47725</filesize>
<subject>Health,Integrated pest management (IPM),Research and development</subject>
<category>Biotechnology,Crop protection,Science</category>
</Bronnen>
I already added the tempuri namespace to my project.
when I do the following code
trace("=> " + tempResult.id);
But I can’t seem to filter it…
so this doesn’t seem to work
trace("=> " + tempResult.(child(id)=='83'));
or any variation on this code…
does someone have a solution for this problem???