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. Document Object Model is defined by the World Wide Web
consortium. For more information, see What Is an XML Document Object Model (DOM)?.
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
.