<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
	xmlns:xs="http://www.w3.org/2001/XMLSchema">
  
  <!-- generate schema containing all known patterns -->

  <xsl:output method="xml" indent="yes" encoding="UTF-8" />

    <xsl:template match="/">
	<xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/patterns/6/09/" elementFormDefault='qualified' attributeFormDefault='qualified'>
        <xsl:for-each select="//typedef">
              <xsl:copy-of select="./*"/>
	</xsl:for-each>
	</xs:schema>
    </xsl:template>

</xsl:stylesheet>

