We’ve added a new online XSLT Tester utility!
The online XSLT tester supports XSLT (eXtensible Stylesheet Language Transformation) 1.0, 2.0 and 3.0 stylesheets, so you can use the latest features. This XSLT tester works entirely in your browser, and your XML and XSLT code aren’t sent to a server for processing.
Simply paste (or open from a file) your XML and XSLT, and then click “Run Transform”. Your transformation result will appear in the result area. Error messages are displayed when there are transformation errors.
Chrome and edge browser extensions are also available that add a popup directly on your browser toolbar for easy access.
This XSLT Tester is useful if you :
- want a quick way to test your XSLTs
- use XSLT 2.0 and 3.0 stylesheets
- prototype XSLTs, and try out new ideas quickly from your browser
- learn how to code XSLTs
- check that your XML and XSLTs are well-formed.
What are XSLTs?
XSLT (Extensible Stylesheet Language Transformations) is a language originally designed for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text, or XSL Formatting Objects, which can be used to generate PDFs and other formats Support for JSON and plain-text transformation was added in later updates to the XSLT 1.0 specification.
The most recent stable version of the language is XSLT 3.0.
XSLT 3.0 implementations support Java, .NET, C/C++, Python, PHP and NodeJS. An XSLT 3.0 JavaScript library can also be used within the Web Browser (we’re using Saxon-js for the XSLT tester). Most modern web browsers also include native support for XSLT 1.0.
For an XSLT document transformation, the original document is not changed; rather, a new document is created based on the content of an existing one. Transformations can also create multiple documents from a single input document Typically, input documents are XML files.