XML Tag Filter
XML Tag Filter is a Visual Studio Code extension designed to simplify working with large and deeply nested
XML files. It allows you to filter and view only the XML paths you care about, helping you focus on relevant
data without unnecessary noise.
This extension is especially useful when reviewing complex XML documents, debugging structured data, or
analyzing large exports.
Features
Interactive XML Structure View
- Automatically extracts the structure of the active XML file.
- Displays the XML hierarchy in a tree view.
- Allows you to select specific tags or paths to include.
- Generates a filtered XML output based on your selection.
(Filtering a sample XML file)
Save and Reuse Filters
- Save frequently used XML tag selections as reusable filters.
- Avoid repeatedly selecting the same XML paths.
- Choose where to store filters:
- Workspace-level (project specific)
- Global-level (available across all projects)
This is ideal for recurring workflows or team-based environments.
Export and Import Filters
- Export saved filters to share with teammates.
- Import filters created by others.
- Maintain consistency across different environments and systems.
(Available extension options)
(Saving and loading XML tag selections)
How It Works
- right-click on an XML file within the workspace.
- click on "Show XML Schema".
- Select the XML paths you want to include from the tree view.
- click on the check icon on the top-right corner.
- The extension generates a filtered version of the XML file.
- Optionally you can save your selection for future use.
Requirements
There are no mandatory dependencies.
For best results, it is recommended to install an XML formatting extension. If available, XML Tag Filter can use
it to format the filtered XML output for improved readability.
Extension Settings
The extension does not require manual configuration.
When saving filters, you will be prompted to choose whether to store them:
- In the current workspace
- Globally across all workspaces