Hi Everyone,
I tried following instructions on another thread for bringing XML data into PanelBuilder and displaying it but have been unable to figure out the proper syntax.
The XML file is very basic:
-
-
-1
Taylor
-2
Kyle
-3
Josh
I created a button and started my ogScript with the below:
var myXml = ogscript.parseXML('file:///C:/Users/jandrews/Desktop/testxml.xml');
var first_set = ogscript.runXPath('/players', myXml);
From this point I haven't been able to figure out how to utilize this data in my panel. What might be a basic framework I can use from here to display this information in a parameter or any other useful format? Any example syntax or reference would help me understand how to manipulate the data.
I'm new to scripting and have only worked with PanelBuilder for a couple weeks. So far I have used it to control a scorebug and update graphics but I haven't worked with external sources like this. Ultimately I would like to use PanelBuilder to pull XML data in displaying lower third information.
Thank you,
Taylor