Ignore:
Timestamp:
02/05/12 15:41:36 (9 years ago)
Author:
julian.reschke@…
Message:

update to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629xslt.xml

    r1500 r1661  
    3030        </author>
    3131     
    32     <date month="November" year="2011"/>
     32    <date month="March" year="2012"/>
    3333
    3434    <keyword>RFC2629</keyword>
     
    898898</section>
    899899
     900<section title="&lt;feedback> element" anchor="ext.element.feedback">
     901  <iref item="Extension Elements" subitem="feedback" primary="true"/>
     902  <iref item="feedback Extension Element" primary="true"/>
     903  <x:anchor-alias value="feedback"/>
     904  <t>
     905    This elements allows declaring a feedback link for document reviewers.
     906    The template string takes the form of a URI template, such as:
     907  </t>
     908  <figure>
     909    <artwork type="example">
     910&lt;x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;amp;body=&amp;lt;{ref}&amp;gt;:"/>
     911</artwork></figure>
     912  <t>
     913    where "docname" is substituted by the document name, "section" is substituted
     914    by section title (number and name), and "ref" is substituted by a URI pointing
     915    to the section being referenced.
     916  </t>
     917</section>
     918
    900919<section title="&lt;h> element" anchor="ext.element.h">
    901920  <iref item="Extension Elements" subitem="h" primary="true"/>
     
    966985            title="IETF WEBDAV Working Group"
    967986            href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></artwork>
     987  </figure>
     988  <t>
     989    If the attribute "basename" is present, it is used to compute the
     990    target href based on the output format being generated (this is handy
     991    for "next"/"prev" links in a series of documents. In this case, the href
     992    attribute is not required.
     993  </t>
     994  <figure>
     995    <preamble>For instance:</preamble>
     996    <artwork type="example">
     997        &lt;x:link xmlns="http://purl.org/net/xml2rfc/ext"
     998            rel="next"
     999            title="Part2"
     1000            basename="draft-foobar-protocol-p2-latest"/></artwork>
    9681001  </figure>
    9691002</section>
     
    19611994        | cref
    19621995        | spanx
    1963         <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx>)*
    1964     }
     1996        <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx>*
     1997        <spanx style="strong">| <x:ref>x_bcp14</x:ref></spanx>)*
     1998  }
    19651999
    19662000  <spanx># Redefine &lt;postamble> to allow our extension elements</spanx>
     
    19942028      attlist.rfc,
    19952029      <spanx style="strong"><x:ref>x_link</x:ref>*,</spanx>
     2030      <spanx style="strong"><x:ref>x_feedback</x:ref>?,</spanx>
    19962031      <spanx style="strong"><x:ref>x_assign-section-number</x:ref>*,</spanx>
    19972032      front,
     
    21152150  element x:anchor-alias {
    21162151    attribute value { TEXT },
     2152    empty
     2153  }
     2154
     2155<spanx anchor="x_feedback"><iref item="feedback Extension Element"/><iref item="Extension Elements" subitem="feedback"
     2156/># Supply feedback links (see <xref target="ext.element.feedback"/>)</spanx>
     2157<x:ref>x_feedback</x:ref> =
     2158  element x:feedback {
     2159    attribute template { TEXT },
    21172160    empty
    21182161  }
     
    22442287<x:ref>x_link</x:ref> =
    22452288  element x:link {
    2246     attribute basename { URI },
    2247     attribute href { URI },
     2289    attribute basename { URI }?,
     2290    attribute href { URI }?,
    22482291    attribute title { TEXT }?,
    22492292    attribute rel { TEXT },
Note: See TracChangeset for help on using the changeset viewer.