Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?xml version="1.0" encoding="UTF-8"?>
<!-- this is a simple transformation for stripping out all except element nodes
by Stéfan Sinclair, no license (use and abuse as you wish, no reponsibility here) -->
<xsl:stylesheet xmlns:xsl=""
<xsl:template match="*">
<xsl:element name="{name()}">
<xsl:template match="text()" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment