Get data from xmlsheet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andelys
    New Member
    • Aug 2007
    • 47

    Get data from xmlsheet

    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
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    What code are you using to parse the XML file?

    Comment

    • Andelys
      New Member
      • Aug 2007
      • 47

      #3
      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 :(

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        This link may help get you started.

        Comment

        Working...