• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xml reading

#1
[eluser]dimis[/eluser]
I have this xaml variable at my view
Code:
<?xml version="1.0" encoding="UTF-8" ?>
- <lenses>
- <producer>
  <producername><p>o-2 Descr</p></producername>
- <mylenses>
  <price>80.00</price>
  <name>Hi-Performance 1.5 Full Top</name>
  <descr><p>lighter and safer than glass (full coatings: Anti-Reflective + anti-scratch).</p></descr>
  <id>1</id>
  </mylenses>
- <mylenses>
  <price>12.00</price>
  <name>were</name>
  <descr><p>were</p></descr>
  <id>4</id>
  </mylenses>
  </producer>
- <producer>
  <producername><p>2-4 descr</p></producername>
- <mylenses>
  <price>92.00</price>
  <name>Hi-Performance Trivex 1.53 Full Top</name>
  <descr><p>Hi-Performance Trivex 1.53 Full Top</p></descr>
  <id>2</id>
  </mylenses>
  </producer>
  </lenses>
How I can make a loop for each producer and read the name and the values for each mylenses?


Messages In This Thread
xml reading - by El Forum - 10-10-2008, 08:34 AM
xml reading - by El Forum - 10-10-2008, 08:43 AM
xml reading - by El Forum - 10-10-2008, 02:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.