How to parse an xml tag with array values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Suraj r
    New Member
    • May 2011
    • 1

    #1

    How to parse an xml tag with array values

    Hi,
    I want to retrieve all the values of
    tag attr3 in the below xml.Can anybody please help me out on this?Thanks in advance!!

    Code:
    <?xml version="1.0" encoding="ISO-8859-15" ?>
    <Roottag>
      <Subtag>
        <attr1>2.3</attr1>
        <attr2>0.0</attr2>
        <attr3>
          <string>xyz</string>
          <string>abcd</string>
          <string>a1234</string>
        </attr3>
      </Subtag>
      <anothertag1>
        <value>0</value>
        <value1>3098</value1>
      </anothertag1>
    </Roottag>
    Last edited by Dormilich; May 12 '11, 11:50 AM. Reason: please use [CODE] [/CODE] tags whenposting code.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    by which means (which programme) do you want to do that?

    remember, XML itself is just data, nothing more, nothing less.

    Comment

    Working...