<?xml version="1.0" ?>
<!-- open-issues.xsl written by Wendy Chisholm 
     command line to process:
     java org.apache.xalan.xslt.Process -IN wcag20-issues.html -XSL open-issues.xsl -OUT sorted-issues.html
-->

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:output method="html" indent="yes"/>

  <xsl:variable name="wcag-src" select="document('wcag-src.html')"/>
  
    <xsl:template match="/">
    <html>
    <head><title>Sorted issues</title>
         <link rel="stylesheet" type="text/css" href="/WAI/style/waiwg.css"/>
    </head>
    <body>
    <xsl:copy-of select="//div[@class='context']"/>
      <h1>Open issues sorted by topic</h1>
      <h2>General issues</h2>
         <xsl:copy-of select="//div[@class='general']"/>  
      <h2>Conformance issues</h2>
         <xsl:copy-of select="//div[@class='conformance']"/> 
      <h2>Techniques issues</h2>
         <xsl:copy-of select="//div[@class='techs']"/>          
      <h2>Interface and presentation issues</h2>
         <xsl:copy-of select="//div[@class='interface-presentation']"/>          
      <h2>Glossary issues</h2>
         <xsl:copy-of select="//div[@class='glossary']"/>
      <h2>New proposals</h2>
         <xsl:copy-of select="//div[@class='new']"/>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>text-equivs</xsl:with-param>
      </xsl:call-template>        
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>time-based</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>logical-structure</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>natural-lang</xsl:with-param>
      </xsl:call-template>         
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>use-style</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>nav-mech</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>consistent-responses</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>device-indie-events</xsl:with-param>
      </xsl:call-template>
       <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>avoid-flicker</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>consistent-behaviors</xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>consistency</xsl:with-param>
      </xsl:call-template>      
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>supplement-text</xsl:with-param>
      </xsl:call-template>      
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>provide-overview</xsl:with-param>
      </xsl:call-template>      
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>wcag-possible-lang</xsl:with-param>
      </xsl:call-template>      
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>use-markup-correctly</xsl:with-param>
      </xsl:call-template>      
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>AT-compatible-UI</xsl:with-param>
      </xsl:call-template>      
      <xsl:call-template name='checkpoint'>
         <xsl:with-param name='id'>new-tech-degrade</xsl:with-param>
      </xsl:call-template>  
      <hr />
      <xsl:copy-of select="//div[@class='copyright']"/>
    </body>
    </html>
  </xsl:template>
  
  <xsl:template name='checkpoint'>
      <xsl:param name='id'/>
      <h2><xsl:value-of select="$wcag-src//h3[@id=$id]"/></h2>
         <xsl:copy-of select="//div[@class=$id]"/>
  </xsl:template>
</xsl:stylesheet>


