Read XML document and return Document Object Model node
DOMnode = xmlread(
reads the
specified XML file and returns filename
)DOMnode
a Document Object Model node
representing the document.
Working with xmlread
requires that you use the Java® API for XML Processing (JAXP). For more information, see https://docs.oracle.com/javase/7/docs/api.
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
.