0

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

2
Contributors
1
Reply
9
Views
3 Years
Discussion Span
Last Post by tinstaafl
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.