ozatmaca
Programmer
- Feb 10, 2009
- 3
hi.
my questions very easy. but I am untrained(xml).
I have xml file like this.
<items>
<aaa a1="2" a2="fsfjsf">
<bbb b1="4" b2="dbgh">
<ccc c1="6" c2="gdpo" />
<ccc c1="65" c2="i?lbmk?u" />
...........
...........
</bbb>
</aaa>
<aaa..........
.........
.........
........
</items>
I want to obtain a4 = "45" and b5="99" (for ccc).
Can you help me.
how can I write xpath query
my questions very easy. but I am untrained(xml).
I have xml file like this.
<items>
<aaa a1="2" a2="fsfjsf">
<bbb b1="4" b2="dbgh">
<ccc c1="6" c2="gdpo" />
<ccc c1="65" c2="i?lbmk?u" />
...........
...........
</bbb>
</aaa>
<aaa..........
.........
.........
........
</items>
I want to obtain a4 = "45" and b5="99" (for ccc).
Can you help me.
how can I write xpath query