Here is a snippet of the xml I was given:
<urn:JMbsList xmlns:urn="urn:metoc:jmcbl:jmibl">
<urn:JMbs
urn:networkType="ICAO"
urn:stationMode="1"
xmlns:urn="urn:metoc:jmcbl:jmibl">
<urn:JMO_weatherConditions
urnccurenceId="1"
urnresentManual="20"/>
<urn:JMO_weatherConditions
urnccurenceId="2"
urnresentManual="11"/>
</urn:JMbs>
</urn:JMbsList>
I need the values in both JMO_weatherContitions. I can see the first one but I don't know how to get these:
urnccurenceId="2"
urnresentManual="11"
There won't be two in every case but when there is I need the second set of values.
I really appreciate any help or suggestions given!
Each One Teach One for the advancement of the "CRAFT"!
<urn:JMbsList xmlns:urn="urn:metoc:jmcbl:jmibl">
<urn:JMbs
urn:networkType="ICAO"
urn:stationMode="1"
xmlns:urn="urn:metoc:jmcbl:jmibl">
<urn:JMO_weatherConditions
urnccurenceId="1"
urnresentManual="20"/>
<urn:JMO_weatherConditions
urnccurenceId="2"
urnresentManual="11"/>
</urn:JMbs>
</urn:JMbsList>
I need the values in both JMO_weatherContitions. I can see the first one but I don't know how to get these:
urnccurenceId="2"
urnresentManual="11"
There won't be two in every case but when there is I need the second set of values.
I really appreciate any help or suggestions given!
Each One Teach One for the advancement of the "CRAFT"!