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

This page,XML in Visual Basic, has links to a number of tutorials/walkthroughs that deal with reading/writing/accessing xml

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.