source: rfc2629xslt/samples/sample.ipr.id.noDerivativesTrust200902.200909.test.xhtml

Last change on this file was 2761, checked in by julian.reschke@…, 3 days ago

update XSLTs

  • Property svn:eol-style set to native
File size: 13.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3   <head>
4      <title>Example for @ipr="noDerivativesTrust200902" as of September 2009</title>
5      <script>
6function anchorRewrite() {
7  map = { };
8  if (window.location.hash.length &gt;= 1) {
9    var fragid = window.location.hash.substr(1);
10    if (fragid) {
11      if (! document.getElementById(fragid)) {
12        var prefix = "rfc.";
13        var mapped = map[fragid];
14        if (mapped) {
15          window.location.hash = mapped;
16        } else if (fragid.indexOf("section-") == 0) {
17          window.location.hash = prefix + "section." + fragid.substring(8);
18        } else if (fragid.indexOf("appendix-") == 0) {
19          window.location.hash = prefix + "section." + fragid.substring(9);
20        } else if (fragid.indexOf("s-") == 0) {
21          var postfix = fragid.substring(2);
22          if (postfix.startsWith("abstract")) {
23            window.location.hash = prefix + postfix;
24          } else if (postfix.startsWith("note-")) {
25            window.location.hash = prefix + "note." + postfix.substring(5);
26          } else {
27            window.location.hash = prefix + "section." + postfix;
28          }
29        } else if (fragid.indexOf("p-") == 0) {
30          var r = fragid.substring(2);
31          var p = r.indexOf("-");
32          if (p &gt;= 0) {
33            window.location.hash = prefix + "section." + r.substring(0, p) + ".p." + r.substring(p + 1);
34          }
35        }
36      }
37    } 
38  }
39}
40window.addEventListener('hashchange', anchorRewrite);
41window.addEventListener('DOMContentLoaded', anchorRewrite);
42</script>
43      <style title="rfc2629.xslt">@import url('https://fonts.googleapis.com/css?family=Noto+Sans:r,b,i,bi');
44@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:r,b,i,bi');
45
46:root {
47  --col-bg: white;
48  --col-bg-error: red;
49  --col-bg-highlight: yellow;
50  --col-bg-highligh2: lime;
51  --col-bg-light: gray;
52  --col-bg-pre: lightyellow;
53  --col-bg-pre1: #f8f8f8;
54  --col-bg-pre2: #f0f0f0;
55  --col-bg-th: #e9e9e9;
56  --col-bg-tr: #f5f5f5;
57  --col-fg: black;
58  --col-fg-del: red;
59  --col-fg-error: red;
60  --col-fg-ins: green;
61  --col-fg-light: gray;
62  --col-fg-link: blue;
63  --col-fg-title: green;
64}
65a {
66  color: var(--col-fg-link);
67  text-decoration: none;
68}
69a.smpl {
70  color: var(--col-fg);
71}
72a:hover {
73  text-decoration: underline;
74}
75a:active {
76  text-decoration: underline;
77}
78address {
79  margin-top: 1em;
80  margin-left: 2em;
81  font-style: normal;
82}
83body {
84  background-color: var(--col-bg);
85  color: var(--col-fg);
86  font-family: 'Noto Sans', segoe, optima, arial, sans-serif, serif;
87  font-size: 16px;
88  line-height: 1.5;
89  margin: 10px 0px 10px 10px;
90}
91@media screen and (min-width: 1040px) {
92  body {
93    margin: 10px auto;
94    max-width: 1000px;
95  }
96}
97samp, span.tt, code, pre {
98  font-family: 'Roboto Mono', monospace;
99}
100cite {
101  font-style: normal;
102}
103dl {
104  margin-left: 2em;
105}
106dl &gt; dt {
107  float: left;
108  margin-right: 1em;
109}
110dl.nohang &gt; dt {
111  float: none;
112}
113dl &gt; dd {
114  margin-bottom: .5em;
115}
116dl.compact &gt; dd {
117  margin-bottom: .0em;
118}
119dl &gt; dd &gt; dl {
120  margin-top: 0.5em;
121}
122ul.empty {
123  list-style-type: none;
124}
125ul.empty li {
126  margin-top: .5em;
127}
128dl p {
129  margin-left: 0em;
130}
131dl.reference &gt; dt {
132  font-weight: bold;
133}
134dl.reference &gt; dd {
135  margin-left: 6em;
136}
137h1 {
138  color: var(--col-fg-title);
139  font-size: 150%;
140  font-weight: bold;
141  text-align: center;
142  margin-top: 36pt;
143  margin-bottom: 0pt;
144}
145h2 {
146  font-size: 130%;
147  page-break-after: avoid;
148}
149h2.np {
150  page-break-before: always;
151}
152h3 {
153  font-size: 120%;
154  page-break-after: avoid;
155}
156h4 {
157  font-size: 110%;
158  page-break-after: avoid;
159}
160h5, h6 {
161  font-size: 100%;
162  page-break-after: avoid;
163}
164h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
165  color: var(--col-fg);
166}
167img {
168  margin-left: 3em;
169}
170ol {
171  margin-left: 2em;
172}
173li ol {
174  margin-left: 0em;
175}
176ol p {
177  margin-left: 0em;
178}
179p {
180  margin-left: 2em;
181}
182pre {
183  font-size: 90%;
184  margin-left: 3em;
185  background-color: var(--col-bg-pre);
186  padding: .25em;
187  page-break-inside: avoid;
188}
189pre.text2 {
190  border-style: dotted;
191  border-width: 1px;
192  background-color: var(--col-bg-pre2);
193}
194pre.inline {
195  background-color: var(--col-bg);
196  padding: 0em;
197  page-break-inside: auto;
198}
199pre.text {
200  border-style: dotted;
201  border-width: 1px;
202  background-color: var(--col-bg-pre1);
203}
204pre.drawing {
205  border-style: solid;
206  border-width: 1px;
207  background-color: var(--col-bg-pre1);
208  padding: 2em;
209}
210table {
211  margin-left: 2em;
212}
213table.header {
214  border-spacing: 1px;
215  width: 95%;
216  font-size: 90%;
217  color: var(--col-bg);
218}
219td.top {
220  vertical-align: top;
221}
222td.topnowrap {
223  vertical-align: top;
224  white-space: nowrap;
225}
226table.header td {
227  vertical-align: top;
228  background-color: var(--col-bg-light);
229  width: 50%;
230}
231table.header a {
232  color: var(--col-bg);
233}
234ul.toc, ul.toc ul {
235  list-style: none;
236  margin-left: 1.5em;
237  padding-left: 0em;
238}
239ul.toc li {
240  line-height: 150%;
241  font-weight: bold;
242  margin-left: 0em;
243}
244ul.toc li li {
245  line-height: normal;
246  font-weight: normal;
247  font-size: 90%;
248  margin-left: 0em;
249}
250li.excluded {
251  font-size: 0%;
252}
253ul {
254  margin-left: 2em;
255}
256li ul {
257  margin-left: 0em;
258}
259ul p {
260  margin-left: 0em;
261}
262.filename, h1, h2, h3, h4 {
263  font-family: 'Noto Sans', segoe, optima, arial, sans-serif;
264}
265
266.avoidbreakinside {
267  page-break-inside: avoid;
268}
269.avoidbreakafter {
270  page-break-after: avoid;
271}
272
273.comment {
274  background-color: var(--col-bg-highlight);
275}
276.center {
277  text-align: center;
278}
279.error {
280  color: var(--col-fg-error);
281  font-style: italic;
282  font-weight: bold;
283}
284.figure {
285  font-weight: bold;
286  text-align: center;
287  font-size: 80%;
288}
289.filename {
290  font-size: 112%;
291  font-weight: bold;
292  line-height: 21pt;
293  text-align: center;
294  margin-top: 0pt;
295}
296.fn {
297  font-weight: bold;
298}
299.left {
300  text-align: left;
301}
302.right {
303  text-align: right;
304}
305.warning {
306  font-size: 130%;
307  background-color: var(--col-bg-highlight);
308}
309.self {
310    color: var(--col-fg-light);
311    margin-left: .3em;
312    text-decoration: none;
313    visibility: hidden;
314    -webkit-user-select: none;
315    -moz-user-select: none;
316    -ms-user-select: none;
317}
318.self:hover {
319    text-decoration: none;
320}
321h1:hover &gt; a.self, h2:hover &gt; a.self, h3:hover &gt; a.self, li:hover &gt; a.self, p:hover &gt; a.self {
322    visibility: visible;
323}
324
325@media screen {
326  pre.text, pre.text2, pre.drawing {
327    width: 69ch;
328  }
329}
330
331@media print {
332  .noprint {
333    display: none;
334  }
335
336  a {
337    color: black;
338    text-decoration: none;
339  }
340
341  table.header {
342    width: 90%;
343  }
344
345  td.header {
346    width: 50%;
347    color: black;
348    background-color: white;
349    vertical-align: top;
350    font-size: 110%;
351  }
352
353  ul.toc a:last-child::after {
354    content: leader('.') target-counter(attr(href), page);
355  }
356
357  ul.ind li li a {
358    content: target-counter(attr(href), page);
359  }
360
361  .print2col {
362    column-count: 2;
363  }
364}
365@page {
366  font-family: 'Noto Sans', segoe, optima, arial, sans-serif, serif;
367  @top-left {
368       content: "Internet-Draft";
369  }
370  @top-right {
371       content: "September 2009";
372  }
373  @top-center {
374       content: "noDerivativesTrust200902 example";
375  }
376  @bottom-left {
377       content: "Doe";
378  }
379  @bottom-center {
380       content: "Expires March 5, 2010";
381  }
382  @bottom-right {
383       content: "[Page " counter(page) "]";
384  }
385}
386@page:first {
387    @top-left {
388      content: normal;
389    }
390    @top-right {
391      content: normal;
392    }
393    @top-center {
394      content: normal;
395    }
396}
397
398@media (prefers-color-scheme: dark) {
399  :root {
400    --col-bg: black;
401    --col-bg-error: red;
402    --col-bg-highlight: #9e9e20;
403    --col-bg-highligh2: lime;
404    --col-bg-light: gray;
405    --col-bg-pre: #202000;
406    --col-bg-pre1: #080808;
407    --col-bg-pre2: #101010;
408    --col-bg-th: #303030;
409    --col-bg-tr: #202020;
410    --col-fg: white;
411    --col-fg-del: red;
412    --col-fg-error: red;
413    --col-fg-ins: green;
414    --col-fg-light: gray;
415    --col-fg-link: lightblue;
416    --col-fg-title: green;
417  }
418 
419  pre.prettyprint .pln { color: #fff; }
420  pre.prettyprint .str, pre.prettyprint .atv { color: #8f8; }
421  pre.prettyprint .kwd, pre.prettyprint .tag { color: #88f; }
422  pre.prettyprint .com { color: #f88; }
423  pre.prettyprint .typ, pre.prettyprint .atn, pre.prettyprint .dec, pre.prettyprint .var { color: #f8f; }
424  pre.prettyprint .lit { color: #8ff; }
425  pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #ff8; }
426}
427</style>
428      <link rel="Author" href="#rfc.authors"/>
429      <link rel="License" href="#rfc.copyrightnotice"/>
430      <link rel="Chapter" title="1 Dummy Section" href="#rfc.section.1"/>
431      <meta name="viewport" content="initial-scale=1"/>
432      <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
433      <meta name="dcterms.creator" content="Doe, J."/>
434      <meta name="dcterms.issued" content="2009-09-01"/>
435      <meta name="dcterms.abstract" content="Dummy Abstract."/>
436      <meta name="description" content="Dummy Abstract."/>
437   </head>
438   <body>
439      <header>
440         <table class="header" id="rfc.headerblock">
441            <tbody>
442               <tr>
443                  <td class="left">Network Working Group</td>
444                  <td class="right">J. Doe</td>
445               </tr>
446               <tr>
447                  <td class="left">Internet-Draft</td>
448                  <td class="right">September 1, 2009</td>
449               </tr>
450               <tr>
451                  <td class="left">Intended status: Informational</td>
452                  <td class="right"/>
453               </tr>
454               <tr>
455                  <td class="left">Expires: March 5, 2010</td>
456                  <td class="right"/>
457               </tr>
458            </tbody>
459         </table>
460         <div id="rfc.title">
461            <h1>Example for @ipr="noDerivativesTrust200902" as of September 2009</h1>
462            <div class="filename">foo</div>
463         </div>
464      </header>
465      <section id="rfc.status">
466         <h2>
467            <a href="#rfc.status">Status of this Memo</a>
468         </h2>
469         <div id="rfc.boilerplate.1.p.1">
470            <p>This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79. This document may not be modified, and derivative works of it may not be created, and it may not be published except as an Internet-Draft.<a class="self" href="#rfc.boilerplate.1.p.1">¶</a>
471            </p>
472         </div>
473         <div id="rfc.boilerplate.1.p.2">
474            <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.<a class="self" href="#rfc.boilerplate.1.p.2">¶</a>
475            </p>
476         </div>
477         <div id="rfc.boilerplate.1.p.3">
478            <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.<a class="self" href="#rfc.boilerplate.1.p.3">¶</a>
479            </p>
480         </div>
481         <div id="rfc.boilerplate.1.p.4">
482            <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.<a class="self" href="#rfc.boilerplate.1.p.4">¶</a>
483            </p>
484         </div>
485         <div id="rfc.boilerplate.1.p.5">
486            <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.<a class="self" href="#rfc.boilerplate.1.p.5">¶</a>
487            </p>
488         </div>
489         <div id="rfc.boilerplate.1.p.6">
490            <p>This Internet-Draft will expire on March 5, 2010.<a class="self" href="#rfc.boilerplate.1.p.6">¶</a>
491            </p>
492         </div>
493      </section>
494      <section id="rfc.copyrightnotice">
495         <h2>
496            <a href="#rfc.copyrightnotice">Copyright Notice</a>
497         </h2>
498         <div id="rfc.boilerplate.2.p.1">
499            <p>Copyright (c) 2009 IETF Trust and the persons identified as the document authors. All rights reserved.<a class="self" href="#rfc.boilerplate.2.p.1">¶</a>
500            </p>
501         </div>
502         <div id="rfc.boilerplate.2.p.2">
503            <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents in effect on the date of publication of this document (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>). Please review these documents carefully, as they describe your rights and restrictions with respect to this document.<a class="self" href="#rfc.boilerplate.2.p.2">¶</a>
504            </p>
505         </div>
506      </section>
507      <section>
508         <h2 id="rfc.abstract">
509            <a href="#rfc.abstract">Abstract</a>
510         </h2>
511         <div id="rfc.abstract.p.1">
512            <p>Dummy Abstract.<a class="self" href="#rfc.abstract.p.1">¶</a>
513            </p>
514         </div>
515      </section>
516      <section id="n-dummy-section">
517         <h2 id="rfc.section.1" class="np">
518            <a href="#rfc.section.1">1.</a> <a href="#n-dummy-section">Dummy Section</a>
519         </h2>
520         <div id="rfc.section.1.p.1">
521            <p>Dummy Section.<a class="self" href="#rfc.section.1.p.1">¶</a>
522            </p>
523         </div>
524      </section>
525      <section id="rfc.authors" class="avoidbreakinside">
526         <h2>
527            <a href="#rfc.authors">Author's Address</a>
528         </h2>
529         <address>
530            <b>John Doe</b>
531         </address>
532      </section>
533   </body>
534</html>
Note: See TracBrowser for help on using the repository browser.