Lua
Lua
Load XML from Local FilePath
Demonstrates how to load XML from a local XML file.Chilkat Lua Downloads
local chilkat = require("chilkat")
local xml = chilkat.Xml.new()
-- Pass either an absolute file path, or a file path relative from the current working directory of the caller.
local success = xml:load_xml_file("qa_data/hamlet.xml")
if not success then
print(xml.last_error_text)
return
end
print("Success.")