<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:teix="http://www.tei-c.org/ns/Examples"
  xmlns:rng="http://relaxng.org/ns/structure/1.0"
  xmlns:tei="http://www.tei-c.org/ns/1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
  exclude-result-prefixes="rng">
  <xsl:output method="xml"/>
  <xsl:template match="/">
    <xsl:apply-templates select="*"/>
  </xsl:template>
  <xsl:template match="node()|text()|comment()|processing-instruction()"/>
  <xsl:template match="text()[parent::rng:*]"/>
  <xsl:template match="@*">
    <xsl:copy/>
  </xsl:template>
  <xsl:template match="rng:*">
    <xsl:text>&#x0A;</xsl:text>
    <xsl:copy>
      <xsl:apply-templates select="@*"/>
      <xsl:apply-templates select="rng:*"/>
    </xsl:copy>
  </xsl:template>
  <xsl:template match="a:*"/>
  <xsl:template match="teix:*"/>
  <xsl:template match="xlink:*"/>
  <xsl:template match="tei:*"/>
  <xsl:template match="xsl:*"/>
</xsl:stylesheet>
