Changeset 1898 for draft-ietf-httpbis/latest/extract-method-defs.xslt
- Timestamp:
- 15/09/12 10:28:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/extract-method-defs.xslt
r1728 r1898 15 15 <ttcol>Idempotent</ttcol> 16 16 <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"/> 19 19 </xsl:apply-templates> 20 20 </texttable> … … 75 75 76 76 <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')"/> 79 79 80 80 <xsl:variable name="safe" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">
Note: See TracChangeset
for help on using the changeset viewer.