Method Parser.XML.Tree.parse_file()


Method parse_file

RootNode parse_file(string path, bool|void parse_namespaces, ParseFlags|void flags, string|void default_namespace)

Description

Loads the XML file path, creates a node tree representation and returns the root node.

Most of the arguments are passed along to parse_input().

Throws

Throws an error if the file could not be read.

See also

parse_input()