public parseFromFile(filePath as String) as DOMDocument throws IOException, DOMException:
Parses XML from a file path.
filePath
Parsed XML document.
document = DOMParser().parseFromFile("data.xml")