Like it says it's my first time working with XML and I'm having a hard time working with basic functionality in MATLAB, any suggestions are appreciated:
I've got a basic file like this:
<list>
<listitem>
<label>TEST</label>
<value>VALUE</value>
<label>TEST_2</label>
<value>VALUE_2</value>
...ETC...
</listitem>
<listitem>
...
<listitem>
</list>
And obviously my script should run through each listitem collect stopping at a label, collecting its value and moving on down the list. I started using the example script that MATLAB provides for working with the DOM but I can't get it to work out beyond only the first label.
Can anyone provide help?
Thanks!
EDIT: So I am using xmlread
and have searched. I also feel like this is a pretty generic question that might help others in the future.