XSL Viewer

Apply an XSL stylesheet to your XML and preview the result as a web page.

Runs XSLT 1.0 in your browser.

Add XML and XSL, then click Show Page to see it here.

How XSL Viewer works

Applies an XSL stylesheet to your XML and shows the result as a web page. Use it to check how a report, table or page built with XSLT will look in a browser.

The stylesheet runs as XSLT 1.0 in your browser. The page is shown in a safe frame, so scripts and forms in the result do not run. Text results are shown as plain text.

Input to XSL Viewer

  • XML Input: paste or type XML, or upload a .xml or .txt file.
  • XSL Stylesheet: paste or type the stylesheet, or upload a .xsl, .xslt, .xml or .txt file. Click Show Page to run it.
  • Put everything in one stylesheet. xsl:import and xsl:include are not supported.
  • Each box takes up to 20MB. Your data never leaves your computer.

Output from XSL Viewer

  • A preview of the result as a rendered web page.
  • Tick View source to see the HTML code, indented with 2 spaces.
  • Copy the code or download it as xsl-result.html, or xsl-result.txt for text output.
  • To get indented XML or text output instead, use XSLT Transformer.