<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (c) 2003 World Wide Web Consortium,

 (Massachusetts Institute of Technology, European Research Consortium for
 Informatics and Mathematics, Keio University). All Rights Reserved. This
 work is distributed under the W3C(r) Software License [1] in the hope that
 it will be useful, but WITHOUT ANY WARRANTY; without even the implied
 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:categories='http://www.w3.org/2003/04/issues/categories'
  xmlns:is="http://www.w3.org/2003/10/issues"
  xmlns='http://www.w3.org/1999/xhtml'
  exclude-result-prefixes="is categories"
  version="1.0">

  <!-- This is $(MAINFILE) in the Makefile; cannot interpolate on href -->
  <xsl:include href='http://dev.w3.org/cvsweb/~checkout~/2002/issues/xsl/main.xsl?content-type=text/xsl'/>

  <xsl:template name='categories:documentation-display'>
    <xsl:param name='categories'/>
    <p>The TAG has agreed to decide issues marked "Before Last Call" before
        starting a last call review of version 1.0 of the Architecture
    Document. The TAG expects to resolve other issues after publication
    of a version 1.0 Recommendation.</p>
  </xsl:template>

  <xsl:template name='categories:summary-display'>
    <xsl:param name='categories'/>
    <xsl:choose>
      <xsl:when test="$categories/is:p[@role='lc-before']">
        <!-- Add a class attrib to the td -->
        <xsl:attribute name="class">beforelc categories</xsl:attribute>
        Before LC
      </xsl:when>
      <xsl:otherwise>
        After v1.0       
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template name='categories:detail-display'>
    <xsl:param name='categories'/>
    <xsl:choose>
      <xsl:when test="$categories/is:p[@role='lc-before']">
        <p>The TAG expects to resolve this issue before
        going to last call with version 1.0 of the Architecture Document.</p>
      </xsl:when>
      <xsl:otherwise>
        <p>The TAG expects to resolve this issue after
        publication of a version 1.0 Recommendation
        of the Architecture Document.</p>
      </xsl:otherwise>
    </xsl:choose>
    
  </xsl:template>
  
</xsl:stylesheet>
