xmlread
Read XML document and return Document Object Model node
Description
DOMnode = xmlread(
reads the
specified XML file and returns an Apache® Xerces-J document object representing a parsed version of the XML file.
Apache Xerces-J implements the Java® API for XML Processing (JAXP). Use JAXP functions to manipulate this document
object. For more information on Apache Xerces-J, see https://xerces.apache.org/xerces-j/apiDocs/.filename
)
DOMnode = xmlread(
also specifies whether DOCTYPE declarations are permitted. If filename
,'AllowDoctype',tf)tf
is
false
, reading an input XML file containing DOCTYPE declarations
results in an error. Otherwise, xmlread
returns an output
DOMnode
for the XML file. The default value of tf
is
true
.
Examples
Input Arguments
Version History
Introduced before R2006a