Changeset 286 for draft-ietf-httpbis/latest/extract-method-defs.xslt
- Timestamp:
- 18/07/08 11:43:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/extract-method-defs.xslt
r270 r286 1 1 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 2 2 xmlns:x="http://purl.org/net/xml2rfc/ext" 3 xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' 3 4 version="1.0" 4 5 > … … 17 18 <texttable align="left"> 18 19 <ttcol>Method</ttcol> 20 <ttcol>Safe</ttcol> 19 21 <ttcol>Reference</ttcol> 20 22 <xsl:apply-templates select="//section[iref/@item='Methods']"> … … 29 31 30 32 <xsl:template match="section"> 33 31 34 <xsl:variable name="text" select="iref[@item='Methods']/@subitem"/> 35 36 <xsl:variable name="safe" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#"> 37 <xsl:choose> 38 <xsl:when test="rdf:Description/p2:safe='yes'">yes</xsl:when> 39 <xsl:otherwise>no</xsl:otherwise> 40 </xsl:choose> 41 </xsl:variable> 42 32 43 <xsl:text> </xsl:text> 33 44 <c><xsl:value-of select="$text"/></c> 45 <c><xsl:value-of select="$safe"/></c> 34 46 <c><xref target="{@anchor}"/></c> 35 47 </xsl:template>
Note: See TracChangeset
for help on using the changeset viewer.