Ignore:
Timestamp:
Sep 15, 2012, 1:06:47 AM (7 years ago)
Author:
julian.reschke@…
Message:

Trim index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/extract-header-defs.xslt

    r1506 r1894  
    1616      <ttcol>Reference</ttcol>
    1717      <xsl:text>&#10;</xsl:text>
    18       <xsl:apply-templates select="//section[iref[@item='Header Fields' and @primary='true']]">
    19         <xsl:sort select="iref[@item='Header Fields']/@subitem"/>
     18      <xsl:apply-templates select="//section[iref[contains(@item,' header field') and @primary='true']]">
     19        <xsl:sort select="iref[contains(@item,' header field') and @primary='true']/@item"/>
    2020      </xsl:apply-templates>
    2121    </texttable>
     
    7676
    7777<xsl:template match="section">
     78  <xsl:variable name="t" select="iref[contains(@item,'header field')]/@item"/>
    7879  <xsl:text>&#10;</xsl:text>
    79   <c><xsl:value-of select="iref[@item='Header Fields']/@subitem"/></c>
     80  <c><xsl:value-of select="substring-before($t,' header field')"/></c>
    8081  <c>http</c>
    8182  <c>standard</c>
Note: See TracChangeset for help on using the changeset viewer.