1
Reply

display data of xml file into multiple textblocks

Ask a question
maha lakshmi

maha lakshmi

11 years ago
1.1k
1
Hii,cane anybody tell me how to display the data of xml into multiple textblocks?

this is my XML file :

<?xml version="1.0" encoding="utf-8" ?>
<Hadith>
  <Serial No="1">
    <Current Date="11 March 2011" 
             ArabicDate="10 Rabi-Ul-Awal 1434" 
             NarratedBy="Narrated Abdullah:"
             HadithBody=
             "Knowledge is of two types.Firstly,knowledge &#xD;
              perceived by the heart,and that is useful &#xD;
              knowledge;secondly,the knowledge at on the tip &#xD;
              of one's tongue,and that is an argument from &#xD;
              Allah,the Exalted and Glorious,against the &#xD;
              children of Adam."
              ReferencedVerses="TransmittedBy:"
              ReferencedBy="Darimi-Al-Timidhi-Hadith 270">
      
    </Current>
  </Serial>
  
</Hadith>



and i want to retrieve the all the value which i declared in xml file and i just to display each value in different textblocks..so now,i am using six textblocks?Can any body tell me how to do this?

Answers (1)