By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,385 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,385 IT Pros & Developers. It's quick & easy.

Get data from xmlsheet

P: 47
Hi

I need to get a row of data from a big xmlsheet.

The sheet looks like this:
[HTML]
<Line><Nr>2</Nr>
<Km>3425</Km>
<Navn>name 2</Navn>
<Mnr>60</Mnr>
</Line>
<Line><Nr>6</Nr>
<Km>1491</Km>
<Navn>Name 2</Navn>
<Mnr>1</Mnr>
</Line>
[/HTML]
The full sheet is here: http://ry-roklub.dk//Ro-KM/statistik...metertop10.xml

The only data i got from the "<line>" is the "<mnr>" and i want to get the whole "<line>" and pass it into variables like km, navn and nr.

Is there a easy-to-do way for this?

Regards,
Andelys
Jul 16 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
What code are you using to parse the XML file?
Jul 16 '08 #2

P: 47
Not using anyone. I searched for many, but couldn't find one i could use sins I don't really know anything about javascript with xml :(
Jul 17 '08 #3

acoder
Expert Mod 15k+
P: 16,027
This link may help get you started.
Jul 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.