Changeset 825
- Timestamp:
- 02/06/10 07:50:07 (11 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/extract-cache-directives.xslt
r815 r825 3 3 xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' 4 4 version="1.0" 5 xmlns:my="#my" 5 6 exclude-result-prefixes="rdf x" 6 7 > 7 8 8 9 <xsl:output indent="yes" omit-xml-declaration="yes"/> 10 11 <my:data> 12 <my:item> 13 <iref item='Cache Directives' subitem='stale-while-revalidate'> 14 <xref target="RFC5861" x:fmt="," x:sec="3"/> 15 </iref> 16 <iref item='Cache Directives' subitem='stale-if-error'> 17 <xref target="RFC5861" x:fmt="," x:sec="4"/> 18 </iref> 19 </my:item> 20 </my:data> 9 21 10 22 <xsl:template match="/"> … … 14 26 <ttcol>Reference</ttcol> 15 27 <xsl:text> </xsl:text> 16 <xsl:apply-templates select="//iref[@item='Cache Directives'] ">28 <xsl:apply-templates select="//iref[@item='Cache Directives']|document('')//iref[@item='Cache Directives']"> 17 29 <xsl:sort select="@subitem"/> 18 30 </xsl:apply-templates> … … 80 92 <c><xsl:value-of select="$dir"/></c> 81 93 <c> 82 <xsl:for-each select="//*[iref[@item='Cache Directives' and @subitem=$dir]]"> 83 <xsl:if test="position()!=1"> 84 <xsl:text>, </xsl:text> 85 </xsl:if> 86 <xref target="{ancestor-or-self::*[@anchor][1]/@anchor}"/> 87 </xsl:for-each> 94 <xsl:choose> 95 <!-- from this XSLT? --> 96 <xsl:when test="ancestor::my:item"> 97 <xsl:for-each select="xref"> 98 <xsl:if test="position()!=1"> 99 <xsl:text>, </xsl:text> 100 </xsl:if> 101 <xref> 102 <xsl:copy-of select="@*"/> 103 </xref> 104 </xsl:for-each> 105 </xsl:when> 106 <xsl:otherwise> 107 <xsl:for-each select="//*[iref[@item='Cache Directives' and @subitem=$dir]]"> 108 <xsl:if test="position()!=1"> 109 <xsl:text>, </xsl:text> 110 </xsl:if> 111 <xref target="{ancestor-or-self::*[@anchor][1]/@anchor}"/> 112 </xsl:for-each> 113 </xsl:otherwise> 114 </xsl:choose> 88 115 </c> 89 116 90 117 </xsl:if> 91 118 </xsl:template> -
draft-ietf-httpbis/latest/p6-cache.html
r824 r825 1487 1487 </td> 1488 1488 </tr> 1489 <tr> 1490 <td class="left">stale-if-error</td> 1491 <td class="left"> <a href="#RFC5861" id="rfc.xref.RFC5861.1"><cite title="HTTP Cache-Control Extensions for Stale Content">[RFC5861]</cite></a>, <a href="http://tools.ietf.org/html/rfc5861#section-4">Section 4</a> 1492 </td> 1493 </tr> 1494 <tr> 1495 <td class="left">stale-while-revalidate</td> 1496 <td class="left"> <a href="#RFC5861" id="rfc.xref.RFC5861.2"><cite title="HTTP Cache-Control Extensions for Stale Content">[RFC5861]</cite></a>, <a href="http://tools.ietf.org/html/rfc5861#section-3">Section 3</a> 1497 </td> 1498 </tr> 1489 1499 </tbody> 1490 1500 </table> … … 1604 1614 <h2 id="rfc.references.2"><a href="#rfc.section.8.2" id="rfc.section.8.2">8.2</a> Informative References 1605 1615 </h2> 1606 <table> 1616 <table> 1607 1617 <tr> 1608 1618 <td class="reference"><b id="RFC1305">[RFC1305]</b></td> … … 1623 1633 <td class="reference"><b id="RFC5226">[RFC5226]</b></td> 1624 1634 <td class="top"><a href="mailto:narten@us.ibm.com" title="IBM">Narten, T.</a> and <a href="mailto:Harald@Alvestrand.no" title="Google">H. Alvestrand</a>, “<a href="http://tools.ietf.org/html/rfc5226">Guidelines for Writing an IANA Considerations Section in RFCs</a>”, BCP 26, RFC 5226, May 2008. 1635 </td> 1636 </tr> 1637 <tr> 1638 <td class="reference"><b id="RFC5861">[RFC5861]</b></td> 1639 <td class="top"><a href="mailto:mnot@yahoo-inc.com" title="Yahoo! Inc.">Nottingham, M.</a>, “<a href="http://tools.ietf.org/html/rfc5861">HTTP Cache-Control Extensions for Stale Content</a>”, RFC 5861, April 2010. 1625 1640 </td> 1626 1641 </tr> … … 2072 2087 </ul> 2073 2088 </li> 2089 <li class="indline1"><em>RFC5861</em> <a class="iref" href="#rfc.xref.RFC5861.1">5.1</a>, <a class="iref" href="#rfc.xref.RFC5861.2">5.1</a>, <a class="iref" href="#RFC5861"><b>8.2</b></a><ul class="ind"> 2090 <li class="indline1"><em>Section 3</em> <a class="iref" href="#rfc.xref.RFC5861.2">5.1</a></li> 2091 <li class="indline1"><em>Section 4</em> <a class="iref" href="#rfc.xref.RFC5861.1">5.1</a></li> 2092 </ul> 2093 </li> 2074 2094 </ul> 2075 2095 </li> -
draft-ietf-httpbis/latest/p6-cache.xml
r824 r825 1612 1612 <?BEGININC p6-cache.cache-directives ?> 1613 1613 <!--AUTOGENERATED FROM extract-cache-directives-defs.xslt, do not edit manually--> 1614 <texttable align="left" suppress-title="true"1614 <texttable xmlns:my="#my" align="left" suppress-title="true" 1615 1615 anchor="iana.cache.directive.registration.table"> 1616 1616 <ttcol>Cache Directive</ttcol> … … 1665 1665 <xref target="cache-response-directive"/> 1666 1666 </c> 1667 <c>stale-if-error</c> 1668 <c> 1669 <xref xmlns:x="http://purl.org/net/xml2rfc/ext" target="RFC5861" x:fmt="," x:sec="4"/> 1670 </c> 1671 <c>stale-while-revalidate</c> 1672 <c> 1673 <xref xmlns:x="http://purl.org/net/xml2rfc/ext" target="RFC5861" x:fmt="," x:sec="3"/> 1674 </c> 1667 1675 </texttable> 1668 1676 <!--(END)--> … … 2102 2110 </reference> 2103 2111 2112 <reference anchor='RFC5861'> 2113 <front> 2114 <title abbrev="HTTP stale controls">HTTP Cache-Control Extensions for Stale Content</title> 2115 <author initials="M." surname="Nottingham" fullname="Mark Nottingham"> 2116 <organization>Yahoo! Inc.</organization> 2117 <address><email>mnot@yahoo-inc.com</email></address> 2118 </author> 2119 <date month="April" year="2010"/> 2120 </front> 2121 <seriesInfo name='RFC' value='5861' /> 2122 </reference> 2123 2104 2124 </references> 2105 2125
Note: See TracChangeset
for help on using the changeset viewer.