view_xml
unzip and run xml_demo.
just run view_xml(filename) to view the xml file.
enter a phrase to the search edit box (case insensitive) to find it in the tree. Press the get button to get the xpath of the selected node.
The xpath is created using the following format:
element/.../element[identifier_node="value"]/chosen_field.
the identifier node name is entered in the parent node identifier editbox. Logical expressions are supported for the parent node identifier, for example if every element has either a "name" field or a "title" field, enter : name|title to the parent node identifier editbox.
feel free to modify the xpath format, i needed it for a specific case and it is probably not perfect for every file.
Cite As
dan (2024). view_xml (https://www.mathworks.com/matlabcentral/fileexchange/27473-view_xml), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Structured Data and XML Documents >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.