load

open fun load(@NonNull file: File): Xml

Load a XML file into a tree.

Return

The parsed tree or null if loading or parsing failed.

Parameters

file

The XML file to load.


open fun load(@NonNull file: String): Xml

Load a XML file into a tree.

Return

The parsed tree or null if loading or parsing failed.

Parameters

file

Name of the XML file to load.