[xml] How to parse and print data



Hi,

Here is my sample xml file that i have generated.
I would like to parse the file and given the node name , i should able to get the Value of it.
I would like to know, is there any example code available? Please help me. I am very new to xml stuff.
<?xml version="1.0" encoding="UTF-8"?>
<!--Created on Date and Time -->
<script>
  <Question Token="01" Offset="00" Width="02" >
    <Prompt>SYSTEM LANGUAGE</Prompt>
    <Option Value="00">English</Option>
    <Option Value="01">French</Option>
    <Value>00</Value>
  </Question>
</script>

Regards,
Sam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]