Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Duplicate Namespace Values

Status
Not open for further replies.

spearssc

Technical User
Jun 10, 2002
4
0
0
US
Here is a snippet of the xml I was given:

<urn:JMo_ObsList xmlns:urn="urn:metoc:jmcbl:jmibl">
<urn:JMo_Obs
urn:networkType="ICAO"
urn:stationMode="1"
xmlns:urn="urn:metoc:jmcbl:jmibl">

<urn:JMO_weatherConditions
urn:eek:ccurenceId="1"
urn:presentManual="20"/>

<urn:JMO_weatherConditions
urn:eek:ccurenceId="2"
urn:presentManual="11"/>
</urn:JMo_Obs>
</urn:JMo_ObsList>

I need the values in both JMO_weatherContitions. I can see the first one but I don't know how to get these:
urn:eek:ccurenceId="2"
urn:presentManual="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"!
 
What particular technology are you using? XSLT? PHP? Java? or...?

Tom Morrison
Micro Focus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top