Ignore:
Timestamp:
Sep 15, 2012, 3:28:59 AM (7 years ago)
Author:
julian.reschke@…
Message:

Trim index.

File:
1 edited

Legend:

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

    r1728 r1898  
    1515      <ttcol>Idempotent</ttcol>
    1616      <ttcol>Reference</ttcol>
    17       <xsl:apply-templates select="//section[iref/@item='Methods']">
    18         <xsl:sort select="iref[@item='Methods']/@subitem"/>
     17      <xsl:apply-templates select="//section[iref[contains(@item,' method') and @primary='true']]">
     18        <xsl:sort select="iref[contains(@item,' method') and @primary='true']/@item"/>
    1919      </xsl:apply-templates>
    2020    </texttable>
     
    7575
    7676<xsl:template match="section">
    77 
    78   <xsl:variable name="text" select="iref[@item='Methods']/@subitem"/>
     77  <xsl:variable name="t" select="iref[contains(@item,' method')]/@item"/>
     78  <xsl:variable name="text" select="substring-before($t,' method')"/>
    7979
    8080  <xsl:variable name="safe" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">
Note: See TracChangeset for help on using the changeset viewer.