help xmlread
xmlread Parse an XML document and return a Document Object Model node.
DOMNODE = xmlread(FILENAME) reads a URL or file name in the
string input argument FILENAME. The function returns DOMNODE,
a Document Object Model (DOM) node representing the parsed document.
The node can be manipulated by using standard DOM functions.
Note: A properly parsed document will display to the screen as
>> xDoc = xmlread(...)
xDoc =
[#document: null]
Example 1: All XML files have a single root element. Some XML
files declare a preferred schema file as an attribute of this element.
温馨提示:答案为网友推荐,仅供参考