Hi all,
I have a xml document and a part is look like:
<LINEITEMS>
<LINEITEM>
<LINEITEMFIELD>1</LINEITEMFIELD>
<LINEITEMFIELD>125.65</LINEITEMFIELD>
<LINEITEMFIELD>test</LINEITEMFIELD>
</LINEITEM>
<LINEITEM>
<LINEITEMFIELD>2</LINEITEMFIELD>
<LINEITEMFIELD>129.65</LINEITEMFIELD>
<LINEITEMFIELD>test12323</LINEITEMFIELD>
</LINEITEM>
</LINEITEMS>
Im going to loop through the LINEITEM element. But all the LINEITEMFIELD doesnt have an attrbute, how can i refer to the first LINEITEMFIELD or to the second LINEITEMFILED within the LINEITEM node with a XPath expression...
TIA
I have a xml document and a part is look like:
<LINEITEMS>
<LINEITEM>
<LINEITEMFIELD>1</LINEITEMFIELD>
<LINEITEMFIELD>125.65</LINEITEMFIELD>
<LINEITEMFIELD>test</LINEITEMFIELD>
</LINEITEM>
<LINEITEM>
<LINEITEMFIELD>2</LINEITEMFIELD>
<LINEITEMFIELD>129.65</LINEITEMFIELD>
<LINEITEMFIELD>test12323</LINEITEMFIELD>
</LINEITEM>
</LINEITEMS>
Im going to loop through the LINEITEM element. But all the LINEITEMFIELD doesnt have an attrbute, how can i refer to the first LINEITEMFIELD or to the second LINEITEMFILED within the LINEITEM node with a XPath expression...
TIA