Function File: node = xmlread (fname)

Parse an xml file fname using Xerces Java library and return a Java object representing an XML DOM document.

Octave does not ship with a Xerces library so you should take care of adding the required .jar files to your java_path, e.g:

javaaddpath ("/path/to/xerces-2_11_0/xercesImpl.jar");
javaaddpath ("/path/to/xerces-2_11_0/xml-apis.jar");

xmlread will check for Java support and proper xerces Java libraries in the javaclasspath until the check passes, or if it is called without arguments. In the latter case it will return the found xerces entries in the javaclasspath and xerces version to standard output.

See also: xmlwrite.

Package: io