source: draft-ietf-httpbis/latest/extract-header-defs.xslt @ 267

Last change on this file since 267 was 258, checked in by julian.reschke@…, 12 years ago

Do not claim standards status for headers defined in an appendix (== Content-Disposition) (related to #40)

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2               version="1.0"
3>
4
5<xsl:output indent="yes" omit-xml-declaration="yes" encoding="US-ASCII"/>
6
7<xsl:template match="/">
8  <xsl:comment>AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually</xsl:comment>
9  <xsl:text>&#10;</xsl:text>
10  <xsl:comment>(START)</xsl:comment>
11  <xsl:text>&#10;</xsl:text>
12  <t>
13    The Message Header Registry located at <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/> should be updated
14    with the permanent registrations below (see <xref target="RFC3864"/>):
15  </t>
16  <texttable>
17    <ttcol>Header Field Name</ttcol>
18    <ttcol>Protocol</ttcol>
19    <ttcol>Status</ttcol>
20    <ttcol>Reference</ttcol>
21    <xsl:apply-templates select="//section[iref/@item='Headers']">
22      <xsl:sort select="iref[@item='Headers']/@subitem"/>
23    </xsl:apply-templates>
24  </texttable>
25  <t>
26    The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
27  </t>
28  <xsl:text>&#10;</xsl:text>
29  <xsl:comment>(END)</xsl:comment>
30</xsl:template>
31
32<xsl:template match="section">
33  <xsl:text>&#10;</xsl:text>
34  <c><xsl:value-of select="iref[@item='Headers']/@subitem"/></c>
35  <c>http</c>
36  <c>
37    <xsl:choose>
38      <xsl:when test="ancestor::middle">standard</xsl:when>
39      <xsl:otherwise>&#160;</xsl:otherwise>
40    </xsl:choose>
41  </c>
42  <c><xref target="{@anchor}"/></c>
43</xsl:template>
44
45</xsl:transform>
Note: See TracBrowser for help on using the repository browser.