<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
    version="1.0" 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    >

  <xsl:param name="lang"/>

  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()[not(@xml:lang) or (@xml:lang = $lang)]"/>
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>
