XSLT / browser debugger
XSLT Lens
Put the stylesheet and source XML side by side. Run the transform, inspect the result, and surface the variables that are usually hidden in the middle.
Runs locally in your browser.No files are uploaded.
Inputs
XSLT 1.0 · XML
Stylesheet
Drop an XSL or XSLT file here0 chars
Source XML
Drop the input document here0 chars
Transformation result
Nothing run yet
⌁
Run a transformation to inspect its output.
Variable inspector
0 declarations
Variables declared in the stylesheet will appear here after you run it.
How to read this
debug notes
LIVE means a top-level variable was evaluated by a second, isolated probe transformation against the same XML.
DECLARED means the variable was found, but its value depends on a template context or an expression the browser cannot safely probe without changing the stylesheet.
For the most useful trace, make important working values top-level variables, or temporarily give them a simple select expression.