%% Read XML File into Document Object Model (DOM) Node
% Examine the contents of a sample XML file and then read the XML file into a Document Object Model(DOM) node.
% Display the contents of the file sample.xml.

sampleXMLfile = 'sample.xml';
type(sampleXMLfile)

% Read the XML file into a DOM node.

DOMnode = xmlread(sampleXMLfile);

% Copyright 2018 The MathWorks, Inc.