How to read data from xml files? (Loop all Parent and child nodes and get entire data to Excel)

20 views (last 30 days)
Please Help me to sort out this problem

Answers (2)

rifat on 26 May 2014
Use xmlread() function. see the documentation.

Geoff Hayes
Geoff Hayes on 26 May 2014
Varun - what code do you have so far? If you have an xml file, then you can read the data from it with xmlread ( Start with that and determine how to iterate over the parent and child nodes. From there, use the xlswrite ( to write the data to the Excel spreadsheet in whatever format you desire.


Community Treasure Hunt

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

Start Hunting!