Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>XSLT Viewer: Live Preview & FormatNew to Visual Studio Code? Get it now.
XSLT Viewer: Live Preview & Format

XSLT Viewer: Live Preview & Format

Inuris

|
351 installs
| (0) | Free
Live XSLT preview, formatter, and image manager
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XSLT Viewer: Live Preview & Format

Transform XML with XSLT and see the result instantly — right inside VS Code.

This extension uses Python's lxml library for XSLT processing. In my tests, it was more reliable, produced fewer unexpected errors, and was easier to debug than JavaScript alternatives such as xslt-processor, Saxon-JS, and libxslt-wasm.


✅ How to Use

Preview Right click XML file → XSLT: Preview
Inspect Left click elements in the Preview pane
Formatter Right click in the XML/XSLT code editor → Format Document With → XSLT Viewer

XSLT live preview


✨ Top Features

  • Live preview — render your XML + XSLT output in a side panel, no browser needed
  • Click-to-jump — click any element in the preview to jump straight to the XSLT line that produced it
  • Image manager — view, export, and swap base64-embedded images in one click
  • Formatter — auto-format XML & XSLT with configurable indent size

⚡ Click-to-Jump: the magic workflow

Spot something wrong in the preview? Click it. VS Code jumps to the exact XSLT template responsible. No searching, no guesswork.

Click preview to jump to XSLT

📁 Embedded Image Manager

Replace logos and backgrounds without touching raw base64 strings.

Manage embedded images


🚀 First Installation

XSLT transformations run via Python 3 + lxml. The steps below take under 2 minutes.

1. Install Python 3 — python.org/downloads (check "Add to PATH" during setup)

2. Install lxml:

pip install lxml

3. Verify inside VS Code — open the Command Palette (Ctrl+Shift+P) and run:

XSLT Viewer: Check Python & lxml Setup

The setup page detects your environment and shows exactly what to do if anything is missing.

Export any preview to a browser or PDF via the toolbar button inside the preview panel.


If you find it useful, leaving a ⭐ is always appreciated:

VS Code Marketplace | Open VSX

Or buy me a ☕ Ko-fi

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft