MTL DDEX Helper is a VS Code extension that makes working with DDEX XML metadata (ERN, MWDR, MLC, Party ID, etc.) faster and easier.
It integrates directly with the Red Hat XML language server to provide live XSD validation, documentation hovers, and schema helpers.
Install from VS Code Marketplace
- π Jump to documentation β place your cursor on any XML tag (e.g.
<PartyId>) and pressCtrl + Alt + Dto open the official DDEX documentation. - βοΈ Namespace aware β works even with prefixed tags like
<ern:ReleaseList>. - π Live schema validation β uses Red Hat XML LSP to validate your DDEX XML in real time.
- π§© Auto schema association β run
MTL DDEX: Associate ERN Schemato link the correct ERN XSD version (e.g. 3.8.2). - π Customizable tag map β edit
assets/ddex-map.jsonto define tag-to-documentation URLs. - πͺΆ Lightweight & portable β no native dependencies, works cross-platform.
<NewReleaseMessage
xmlns:ern="http://ddex.net/xml/ern/382"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ddex.net/xml/ern/382 http://ddex.net/xml/ern/382/release-notification.xsd">
<ReleaseList>
<Release>
<DisplayArtist>John Doe</DisplayArtist>
</Release>
</ReleaseList>
</NewReleaseMessage>β‘οΈ Place your cursor on <ReleaseList> β press Ctrl + Alt + D β browser opens
the ReleaseList documentation.
- Visual Studio Code 1.80+
- Red Hat XML extension (
redhat.vscode-xml)
β automatically installed if missing - Node.js 18+ (for local development)
| Command | Description |
|---|---|
MTL DDEX: Open Docs for Tag |
Opens documentation link for current XML tag |
MTL DDEX: Reload DDEX Map |
Reloads tag-to-doc mapping from assets/ddex-map.json |
MTL DDEX: Associate ERN Schema |
Detects ERN version and sets VS Code XML file associations |
- Syntax check β fast well-formedness validation using
fast-xml-parser. - Schema check β handled by Red Hat XML, using either:
xsi:schemaLocationin your XML, or- workspace-level
xml.fileAssociationsset via the Associate ERN Schema command.
- Status bar indicator β shows β VALID or β INVALID based on current diagnostics.
- Integrated Red Hat XML for real-time schema validation
- Added DDEX VALID/INVALID status indicator
- Added
Associate ERN Schemacommand - Removed native xmllint/xsd dependencies
- Improved logging and tag decorations
- Initial prototype with tag-to-documentation map
- π Hover tooltips with tag descriptions from DDEX docs
- π CodeLens: βOpen Docsβ above tag definitions
- π Auto-completion for DDEX tags based on schema
- π Export validation report (JSON/Markdown)
- Requires valid
schemaLocationor associated schema for full validation. - Some ERN sub-schemas (e.g.
ern-common.xsd) may require manual mapping in Red Hat XML settings.
Contributions are welcome! Please read CONTRIBUTING.md before submitting a PR.
To report a vulnerability, please see SECURITY.md.
MIT License β Β© 2025 MusicTech Lab β see LICENSE for details.
Website | LinkedIn | Let's talk
Crafted by musictechlab.io
