Jump to content
Sign in to follow this  

Reading from XML file?

Recommended Posts



I am trying to work out how to read values from an XML file into a variable. This is an example of the XML file I am using.

<Fall Brawl>

<Wrestlers id=1>

<Name>Hulk Hogan</Name>



<Wrestlers id=2>

<Name>Boker T</Name>



</Fall Brawl>

The part I want to read into my vaiable is "Hulk Hogan". I downloaded <_XMLDomWrapper.au3> but haven't been able to work out how to use the functions.

Is the best XML udf to use? If I should use this one would someone be able to help me with using the functions by giving an example on how to read "Hulk Hogan" from the file.

These seem to be the functions listed related to getting from the XML file.

_XMLGetAllAttrib($sXPath,byRef $aNames,byRef $aValues,[$sQuery = ""])

_XMLGetAttrib($sXPath, $sAttrib, $sQuery = "")





Thanks for any help.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this