Viggo Meesters16 downloadsOpen .xml files as a read-only tree with search, source view, and parse warnings.
XML Viewer is a read-only plugin for browsing .xml files as a structured tree and syntax-highlighted source. It is built for AI-generated XML, SOAP payloads, config exports, sitemaps, integration files, and quick inspection of XML without leaving the vault.
.xml files in a dedicated view.XML files can become large quickly, especially generated SOAP payloads and config exports. XML Viewer renders the first 10,000 nodes to keep the view responsive. Additional nodes are counted and reported in the warning area.
XML Viewer does not make network requests and does not send vault content to external services. It does not use the system clipboard. It reads files through the vault API and renders a local view.
The plugin parses XML locally with the runtime DOMParser. It does not execute XSLT, does not validate XSD or DTD files, and does not intentionally resolve external entities or resources.
XML editing can easily damage whitespace, entity escaping, comments, CDATA, processing instructions, and schema-sensitive element ordering. XML Viewer intentionally avoids writing to disk in v0.1.
XML Viewer is ready for Community plugin directory submission. Once accepted, it can be installed from Settings -> Community plugins -> Browse.
Until the community directory submission is accepted:
main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/xml-viewer/.For beta testing, install the plugin with BRAT using this repository URL:
https://github.com/viggomeesters/obsidian-xml-viewer
Open any .xml file in your vault. The file opens with XML Viewer.
Use the toolbar to:
Malformed XML automatically shows the parse warning and source view so the raw file remains inspectable.
npm install
npm run build
npx tsc --noEmit
npm test
For local development, copy or symlink this repository into .obsidian/plugins/xml-viewer/ inside a test vault.
Community plugin files are installed from GitHub releases. For each release:
manifest.json, package.json, and versions.json.npm install, npm run build, npx tsc --noEmit, and npm test.manifest.json.version.main.js, manifest.json, and styles.css as release assets.The repository includes a GitHub Actions release workflow with artifact attestation support. If GitHub Actions is disabled for the owner account, manual releases are still usable, but automated review may show a recommendation about missing artifact attestations.
The repository is prepared for Community plugin submission. The remaining submission step must be completed by the repository owner because it requires signing in, linking GitHub, and confirming the developer policies/support commitment.
Submit this repository URL:
https://github.com/viggomeesters/obsidian-xml-viewer
Steps:
The current release is ready for review:
README.md, LICENSE, and manifest.json existmanifest.json.version is 0.1.00.1.0 existsmain.js, manifest.json, and styles.cssversions.json maps supported app versionsOfficial references: