Reads a local XML file and parses the contents into an XML document structure.
If the XML file cannot be read or its contents are malformed, the function returns null
.
filename |
path to an XML file |
an XML document structure, or |