Skip to content

Strip Markup

Steve Ball edited this page Oct 1, 2021 · 1 revision

Strip Markup XSLT Stylesheet

The simplest XSL stylesheet is the empty stylesheet:

<xsl:stylesheet version="3.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</xsl:stylesheet>

This stylesheet strips all markup from the source document, the result document contains only the character data from the input.

To execute this stylesheet we need:

* Built-in templates



Clone this wiki locally