Problem with Reading XML Data
Posted: Mon Apr 13, 2015 12:26 pm
Hi, I am having some difficuly in reading XML DATA in Live Code.
Here is the XML DATA
What would the few lines of code to read the values of individual user names and their PostIt Values? It must be one or 2 line of code.. but I am not able to understand it
Please help.
Thanks
Here is the XML DATA
Code: Select all
<result>
<allPostIts>
<postit>
<username>pradeep1</username>
<postit>
<![CDATA[ My Value 1 ]]>
</postit>
</postit>
<postit>
<username>pradeep1</username>
<postit>
<![CDATA[ My Value 2 ]]>
</postit>
</postit>
<postit>
<username>pradeep1</username>
<postit>
<![CDATA[ My Value 3 ]]>
</postit>
</postit>
<postit>
<username>pradeep2</username>
<postit>
<![CDATA[ My Value 4 ]]>
</postit>
</postit>
<postit>
<username>pradeep2</username>
<postit>
<![CDATA[ My Value 5 ]]>
</postit>
</postit>
<postit>
<username>pradeep2</username>
<postit>
<![CDATA[ My Value 6 ]]>
</postit>
</postit>
<postit>
<username>pradeep3</username>
<postit>
<![CDATA[ My Value 7 ]]>
</postit>
</postit>
<postit>
<username>pradeep3</username>
<postit>
<![CDATA[ My Value 8 ]]>
</postit>
</postit>
<postit>
<username>pradeep3</username>
<postit>
<![CDATA[ My Value 9 ]]>
</postit>
</postit>
</allPostIts>
</result>
Please help.
Thanks