View Single Post
Old 10-20-2009, 08:19 PM   PM User | #1
ptmuldoon
Regular Coder

 
Join Date: Feb 2005
Posts: 659
Thanks: 5
Thanked 14 Times in 14 Posts
ptmuldoon is on a distinguished road
JQuery parsing xml

I'm trying to learn and understand how to use jquery to parse some xml data.

I found a nice brief tutorial Here.

I believe I understand the code some and so how function finds the approprate 'site' or tag your looking for.

But my xml data has a number var name="xxx" for tag names, so I'm not sure who to modify the code corrrectly.

A sample of my xml looks something like:

(Note, the xml data is ALOT larger than this. I only posted a small piece to show what I'm working with.
Code:
<global>
    <var name="TEAM_ABBREVIATION">JD</var>
    <var name="TEAM_ID">0</var>
    <var name="MAVID">10</var>
    <var name="USER_ID">29</var>
    <var name="TEAM_OWNERS">John Doe</var>
    <var name="HELMET_LARGE">blank</var>
    <var name="TEAM_BANNER">none</var>
  </global>

Last edited by ptmuldoon; 10-22-2009 at 03:35 PM..
ptmuldoon is offline   Reply With Quote