pub fn parse_file<P: AsRef<Path>>(path: P) -> Result<NodeRef>
Parses XML from a file using a base node factory.