how can i parse the values of y,x,height,width from <taggedRectangle y="253" x="375" width="236" height="75"> from an xml file

1 view (last 30 days)
I have a xml file which contain
-<taggedRectangle y="253" x="375" width="236" height="75">
</taggedRectangle>
-<taggedRectangle y="272" x="639" width="175" height="76">
</taggedRectangle>
-<taggedRectangle y="283" x="839" width="281" height="87">
</taggedRectangle>
I want to get all the coordinate values and use them for a specific task,I want to make a loop over it ,But it can't work.how can I make a loop to read all the data?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!