Badr Akara

Badr Akara

  • NA
  • 90
  • 4.7k

View XML file elements in Label with next button and previou

Dec 9 2018 10:55 PM
I have an XML file with data I want to display all the elements in their own Label with a button to display the next element and a button to display the previous element for example : xml file:
 
<book1>
   <1>.....</1>
   <2>.....</2>
   <3>.....</3>
</book1>
<book2>
   <1>.....</1>
   <2>.....</2>
   <3>.....</3>
</book2>
 
I want to display all book1 elements in Label1 and all book2 elements in Label2 everytime one element display on label and i clicked on next button the next element display in same label. sorry my English is so bad , and thank you

Answers (2)