Changeset 1895 for draft-ietf-httpbis/latest/extract-status-code-defs.xslt
- Timestamp:
- 15/09/12 09:36:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/extract-status-code-defs.xslt
r700 r1895 16 16 <ttcol>Description</ttcol> 17 17 <ttcol>Reference</ttcol> 18 <xsl:apply-templates select="//section[iref /@item='Status Codes']">19 <xsl:sort select="iref[ @item='Status Codes']/@subitem"/>18 <xsl:apply-templates select="//section[iref[contains(@item,' (status code)') and @primary='true']]"> 19 <xsl:sort select="iref[contains(@item,' (status code)') and @primary='true']/@item"/> 20 20 </xsl:apply-templates> 21 21 </texttable> … … 76 76 77 77 <xsl:template match="section"> 78 <xsl:variable name="text" select="iref[@item='Status Codes']/@subitem"/> 78 <xsl:variable name="t" select="iref[contains(@item,'(status code)')]/@item"/> 79 <xsl:variable name="text" select="substring-before($t,' (status code)')"/> 79 80 <xsl:variable name="redirects-to-other-part" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#" select="rdf:Description/p2:redirects-to"/> 80 81
Note: See TracChangeset
for help on using the changeset viewer.