You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). view_xml (https://www.mathworks.com/matlabcentral/fileexchange/27473-view_xml), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (4.12 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux