XML attributes
Hi.
I want to take an XML attribute (or tag name) and use it as the row selector text.
Forexample, my xml now looks like this:
<gridpoint>
<time1>some text</time1>
<time2>some text</time2>
...
<time71>some text</time71>
</gridpoint>
I would like to have something like the following:
<gridpoint name="St. John's">
....
</gridpoint>
OR
<gridpoint>
<name>St. John's</name>
<time1>some text</time1>
....
</gridpoint>
I would use "name" as the text that goes in the row selector.
As of right now I'm including a .js file with an array of names, it would be much easier to just include that information with the xml file.
Any easy way of doing this?
Thanks in advance.
I want to take an XML attribute (or tag name) and use it as the row selector text.
Forexample, my xml now looks like this:
<gridpoint>
<time1>some text</time1>
<time2>some text</time2>
...
<time71>some text</time71>
</gridpoint>
I would like to have something like the following:
<gridpoint name="St. John's">
....
</gridpoint>
OR
<gridpoint>
<name>St. John's</name>
<time1>some text</time1>
....
</gridpoint>
I would use "name" as the text that goes in the row selector.
As of right now I'm including a .js file with an array of names, it would be much easier to just include that information with the xml file.
Any easy way of doing this?
Thanks in advance.
Ben
March 21,