<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:iana="http://www.iana.org/assignments"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:import href="../_support/iana-registry.xsl" />

  <xsl:template name="iana:record_header">
    <xsl:choose> 
      <xsl:when test="@id = 'notification-capability-parameters-1'">
        <tr><th>Range</th><th>Registration Procedures</th><th>Notes</th></tr>
      </xsl:when>
      <xsl:otherwise>
        <tr><th>Capability Name</th><th>Description</th><th>Syntax</th><th>Contact</th><th>Reference</th></tr>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template match="iana:record">
    <xsl:choose>
      <xsl:when test="../@id = 'notification-capability-parameters-1'">
        <tr>
          <td align="left"><xsl:value-of select="iana:range"/></td>
          <td><xsl:value-of select="iana:registration_rule"/></td>
          <td><xsl:apply-templates select="iana:note"/></td>
        </tr>
      </xsl:when>
      <xsl:otherwise>
        <tr>
          <td align="left"><xsl:value-of select="iana:name"/></td>
          <td><xsl:value-of select="iana:description"/></td>
          <td align="left"><xsl:value-of select="iana:syntax"/></td>
          <td align="left"><xsl:value-of select="iana:contact"/></td>
          <td><xsl:apply-templates select="iana:xref"/></td>
        </tr>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

</xsl:stylesheet>
