Get node in node value from xml

4 visualizaciones (últimos 30 días)
YUNA PARK
YUNA PARK el 9 de Jun. de 2020
Editada: Robert Ungi el 5 de En. de 2022
Hi all,
I'm having trouble getting value from node in node in xml.
XML file is like below:
I want to get Index and poision xy values from 'b' node.
So far I made below:
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...

Respuestas (1)

Robert Ungi
Robert Ungi el 5 de En. de 2022
Editada: Robert Ungi el 5 de En. de 2022
You can use xpath, see the example here!

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by