O.P. Reading an XML file from an URL
Hi, I was just wondering if there was a way in which to read an XML file from an URL and have it parsed into named variables using Messenger Plus Script.
Put simply, If the XML file given in the url consists of the following data:
<Family>
<Member>
<Name>Peter</Name>
<Age>50</Age>
</Member>
<Member>
<Name>Louis</Name>
<Age>48</Age>
</Member>
</Family>
I would like to parse it so that in the script I could simply call for say Peter's Age and use it in my script. Preferably I would like to parse the data into named variables similar to how VB.NET has the dictionary type array system but any way that works will be good enough.
I have achieved something similar using Visual Basic.NET 2005 and can provide code for that if anyone wants a more in-depth look at what I'm trying to achieve.
If anyone can help or point me in the right direction that would be greatly appreciated - I have a feeling I can create something great if I were able to achieve this.
|