Get node in node value from xml
3 views (last 30 days)
Show older comments
Hi all,
I'm having trouble getting value from node in node in xml.
XML file is like below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/312761/image.png)
I want to get Index and poision xy values from 'b' node.
So far I made below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/312752/image.png)
but have no idea how to get poisiton value due to conflict of two nodes...
If anyone knows how to deal with this, please let me know...
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!