Couldn't able to read XML

Discussion in 'Tally Integration' started by Dhanapal Amulraj, Apr 12, 2013.

    
  1. Dhanapal Amulraj

    Dhanapal Amulraj New Member


    Dear all,

    I have the XML like
    <Header>
    <Detail>
    <Values>
    <Value1>1</Value1>
    <Value2>2</Value2>
    </Values>
    <Values>
    <Value1>1</Value1>
    <Value2>2</Value2>
    </Values>
    </Detail>
    </Header>

    and i tried the following TDL code to Read

    [COLLECTION :XmlCollection]
    Data Source : File XML : "C:\test.xml"
    XMLObjectPath : "*:*:*"
    ;XMLObjectPath : "*:*"

    [FUNCTION : Fncall]
    a0 : msgbox : "" : "Calling Collection"
    a1 : WALK COLLECTION : XmlCollection
    a2 : msgbox : "" :$Value1
    a3 : msgbox : "" :$Value2
    a4 : END WALK

    This code is not reading the xml values properly please anyone help me to fix this.
    Please Find the attachment for the XML.

    Regards,
    Dhanapal Amulraj.
     

    Attached Files:

    • test.rar
      File size:
      155 bytes
      Views:
      19


  2. admin

    admin Administrator Staff Member


    Move this thread to TallyIntegration Else it will be deleted
     


Share This Page