How to test a stylesheet
- Paste the input XML.
- Paste your XSLT 1.0 stylesheet.
- Press Transform, or Ctrl+Enter (Cmd+Enter on Mac).
Chrome and XSLT
Chrome has published a plan to remove built-in XSLT. This tool uses the open-source xslt-polyfill, built on libxslt, so it does not depend on the built-in engine.
Limits
- XSLT 1.0 only.
xsl:include,xsl:importanddocument()are not supported because the editor blocks requests.- HTML output is shown as source text and is not executed.
- Results may differ from other processors. Verify them with the processor you use in production.
Questions
Does it support XSLT 2.0 or 3.0?
No, only XSLT 1.0.
Why is HTML output not previewed?
Showing it as text avoids running scripts from a stylesheet.