Here is a link that might get you started:
http://www.w3schools.com/Xml/xml_parser.asp
Then proceed to Google for more specific info you need.
Would love to hear if you get it working!
Jarrod
Example:
var str='<tree><a id="a"><b id="b">hey!</b></a></tree>';
var parser = new DOMParser();
var xml = parser.parseFromString(str, "text/xml");
// xml.documentElement returns the "tree" element
for (var element in xml.documentElement.childNodes) {
// Go through your nodes here
}
You can find further reference on how to traverse the DOM
(Document Object Model) on the Mozilla website:
https://developer.mozilla.org/en/DOM
Florent
Jarrod
https://github.com/CommandFusion/DemoUserInterfaces
Check the "DynamicRoomList" example.
Jarrod
> --
> You received this message because you are subscribed to the Google
> Groups "CommandFusion" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/commandfusion/-/4FW8rRtjX-gJ.
> To post to this group, send email to comman...@googlegroups.com.
> To unsubscribe from this group, send email to
> commandfusio...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/commandfusion?hl=en.
--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.