I have a xml file (I attached the file). I can retrieve related variables in xml file but when it comes to store them with using loop, I got error. I tried to store variable as follows;
docNode = xmlread('2017-03-03.xml');
l = docNode.getElementsByTagName('aSqRoot');
char(l.item(0).getFirstChild.getData);
for i = 0:(l.getLength - 1)
x(i)=char(l.item(i).getFirstChild.getData);
end
How can I store the below variable?
char(l.item(i).getFirstChild.getData)
0 Comments
Sign in to comment.