<xsl:transform
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:h="http://www.w3.org/1999/xhtml"
    >

<!-- $Id: extractGrammar.xsl,v 1.2 2005/06/30 13:25:20 eric Exp $ -->

<!--
$Log: extractGrammar.xsl,v $
Revision 1.2  2005/06/30 13:25:20  eric
look in the grammar div

Revision 1.1  2005/06/27 17:06:43  connolly
+ turns tables to text
+ turns nbsp to ' '
- extracts all tables, not just the relevant one

-->
<xsl:output method='text' />

  <xsl:template match="h:div[@class='grammarTable']/h:table"><!-- class=grammarTable -->
    <xsl:value-of select='translate(., "&#160;", " ")' />
  </xsl:template>


<!-- don't pass text thru -->
<xsl:template match="text()|@*">
</xsl:template>

</xsl:transform>
