source: draft-ietf-httpbis/latest/extract-method-defs.xslt @ 270

Last change on this file since 270 was 270, checked in by julian.reschke@…, 11 years ago

Added initial proposal for registration process, plus initial content (related to #72)

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2               xmlns:x="http://purl.org/net/xml2rfc/ext"
3               version="1.0"
4>
5
6<xsl:output indent="yes" omit-xml-declaration="yes"/>
7
8<xsl:template match="/">
9  <xsl:comment>AUTOGENERATED FROM extract-method-defs.xslt, do not edit manually</xsl:comment>
10  <xsl:text>&#10;</xsl:text>
11  <xsl:comment>(START)</xsl:comment>
12  <xsl:text>&#10;</xsl:text>
13  <t>
14    The HTTP Method Registry located at <eref target="http://www.iana.org/assignments/http-methods"/>
15    should be populated with the registrations below:
16  </t>
17  <texttable align="left">
18    <ttcol>Method</ttcol>
19    <ttcol>Reference</ttcol>
20    <xsl:apply-templates select="//section[iref/@item='Methods']">
21      <xsl:sort select="iref[@item='Methods']/@subitem"/>
22    </xsl:apply-templates>
23  </texttable>
24  <t>
25  </t>
26  <xsl:text>&#10;</xsl:text>
27  <xsl:comment>(END)</xsl:comment>
28</xsl:template>
29
30<xsl:template match="section">
31  <xsl:variable name="text" select="iref[@item='Methods']/@subitem"/>
32  <xsl:text>&#10;</xsl:text>
33  <c><xsl:value-of select="$text"/></c>
34  <c><xref target="{@anchor}"/></c>
35</xsl:template>
36
37</xsl:transform>
Note: See TracBrowser for help on using the repository browser.