booneball
asked on
SimpleXML Query
Hi,
I am using SimpleXML to take the data from the sample XML below.
How do I extract the Value of CL 1266 by specifically search against Nummer="5"
<WinsApp>
<Import>
<ManipulationCtx>
<Akt>
<AktPr>
<AktDaten>
<AktChiffre Nummer="3">Technisch</AktC hiffre>
<AktChiffre Nummer="5">CL 1266</AktChiffre>
<AktChiffre Nummer="9">FRA (FRANKFURT MAIN - FRANKFURT)</AktChiffre>
<AktChiffre Nummer="10">GRZ (GRAZ - GRAZ)</AktChiffre>
<AktChiffre Nummer="4">20.05.2012</Akt Chiffre>
<AktChiffre Nummer="11">22:10:00</AktC hiffre>
<AktChiffre Nummer="12">20.05.2012</Ak tChiffre>
<AktChiffre Nummer="13">23:25:00</AktC hiffre>
<AktChiffre Nummer="28">O</AktChiffre>
</AktDaten>
<AktPr>
<Akt>
<ManipulationCtx>
<Import>
<WinsApp>
Thanks
James
I am using SimpleXML to take the data from the sample XML below.
How do I extract the Value of CL 1266 by specifically search against Nummer="5"
<WinsApp>
<Import>
<ManipulationCtx>
<Akt>
<AktPr>
<AktDaten>
<AktChiffre Nummer="3">Technisch</AktC
<AktChiffre Nummer="5">CL 1266</AktChiffre>
<AktChiffre Nummer="9">FRA (FRANKFURT MAIN - FRANKFURT)</AktChiffre>
<AktChiffre Nummer="10">GRZ (GRAZ - GRAZ)</AktChiffre>
<AktChiffre Nummer="4">20.05.2012</Akt
<AktChiffre Nummer="11">22:10:00</AktC
<AktChiffre Nummer="12">20.05.2012</Ak
<AktChiffre Nummer="13">23:25:00</AktC
<AktChiffre Nummer="28">O</AktChiffre>
</AktDaten>
<AktPr>
<Akt>
<ManipulationCtx>
<Import>
<WinsApp>
Thanks
James
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.