I have this XML data
I have this XML data
<?xml version="1.0" encoding="UTF-8"?>
<RESULT>
<GRP ID="ITM0_1">
<FLD NAME="TCLCOD" TYPE="Char">BSMSL</FLD>
<FLD NAME="ZTCLCOD" TYPE="Char">NĂ©goceLot</FLD>
<FLD NAME="FIL11" TYPE="Char"/>
<FLD MENULAB="Actif" MENULOCAL="246" NAME="ITMSTA" TYPE="Integer">1</FLD>
**<FLD NAME="ITMREF" TYPE="Char">BIS-001</FLD>**
<FLD NAME="DES1AXX" TYPE="Char">Paquet biscuit salé MST</FLD>
</GRP>
<GRP ID="ADXTEC">
<FLD NAME="WW_MODSTAMP" TYPE="Char">20111122113508</FLD>
<FLD NAME="WW_MODUSER" TYPE="Char">ADMIN</FLD>
</GRP>
</RESULT>
how can'I parse fileds names and value for example for <FLD NAME="ITMREF" TYPE="Char">BIS-001</FLD> must return ITMREF = BIS-001
Thanks