<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:output method="text" omit-xml-declaration="yes" indent="no"/>

  <!-- Receives the list of XML specification spec-files parameter -->
 <xsl:template match="article">&lt;?xml version="1.0" encoding="US-ASCII"?&gt;

&lt;!--
<xsl:value-of select="articleinfo/legalnotice/*"/>
--&gt;
  
  <xsl:apply-templates select="//programlisting[not(@role) or @role != 'doc']"/>
 </xsl:template>
  
 <xsl:template select="programlisting">
  <xsl:value-of select="."/>
 </xsl:template>

</xsl:stylesheet>
