AutoIt
AutoIt
Load XML from Local FilePath
Demonstrates how to load XML from a local XML file.Chilkat AutoIt Downloads
Local $bSuccess = False
$oXml = ObjCreate("Chilkat.Xml")
; Pass either an absolute file path, or a file path relative from the current working directory of the caller.
$bSuccess = $oXml.LoadXmlFile("qa_data/hamlet.xml")
If ($bSuccess = False) Then
ConsoleWrite($oXml.LastErrorText & @CRLF)
Exit
EndIf
ConsoleWrite("Success." & @CRLF)