Debian Codegraph @

src/test/resources/interop/c14n/Y3/c14n-2.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>Caninical XML node set</title>
5 <style type="text/css">
6 <!--
7 .INCLUDED {
8 color: #000000;
9 background-color:
10 #FFFFFF;
11 font-weight: bold; }
12 .EXCLUDED {
13 color: #666666;
14 background-color:
15 #999999; }
16 .INCLUDEDINCLUSIVENAMESPACE {
17 color: #0000FF;
18 background-color: #FFFFFF;
19 font-weight: bold;
20 font-style: italic; }
21 .EXCLUDEDINCLUSIVENAMESPACE {
22 color: #0000FF;
23 background-color: #999999;
24 font-style: italic; }
25 -->
26 </style>
27 </head>
28 <body bgcolor="#999999">
29 <h1>Explanation of the output</h1>
30 <p>The following text contains the nodeset of the given Reference before it is canonicalized. There exist four different styles to indicate how a given node is treated.</p>
31 <ul>
32 <li class="INCLUDED">A node which is in the node set is labeled using the INCLUDED style.</li>
33 <li class="EXCLUDED">A node which is <em>NOT</em> in the node set is labeled EXCLUDED style.</li>
34 <li class="INCLUDEDINCLUSIVENAMESPACE">A namespace which is in the node set AND in the InclusiveNamespaces PrefixList is labeled using the INCLUDEDINCLUSIVENAMESPACE style.</li>
35 <li class="EXCLUDEDINCLUSIVENAMESPACE">A namespace which is in NOT the node set AND in the InclusiveNamespaces PrefixList is labeled using the INCLUDEDINCLUSIVENAMESPACE style.</li>
36 </ul>
37 <h1>Output</h1>
38 <pre>
39 <span class="EXCLUDED">&lt;!-- XPath="self::Parent or (parent::Parent and not(self::default:Child)) or self::GrandChild or parent::GrandChild" --&gt;
40 </span><span class="EXCLUDED">&lt;!-- additionalNSPrefixes="default http://example.org" --&gt;
41 </span><span class="EXCLUDED">&lt;!-- Result C14N:
42 <Parent>
43 <GrandChild></GrandChild>
44 </Parent>
45 --&gt;
46 </span><span class="EXCLUDED">&lt;!-- Annotation C14N:
47 1. The xmlns="" of Parent is not rendered, although it is explicitly declared.
48 This is because Parent has no output parent with a default namespace decla-
49 ration that is in the node set.
50 2. The xmlns="" of GrandChild is not rendered, although it is explicitly
51 declared. This is because GrandChild has no output parent with a default
52 namespace declaration that is in the node set.
53 --&gt;
54 </span><span class="EXCLUDED">&lt;!-- Result EC14N:
55 <Parent>
56 <GrandChild></GrandChild>
57 </Parent>
58 --&gt;
59 </span><span class="EXCLUDED">&lt;!-- Annotation EC14N:
60 See Annotation C14N.
61 --&gt;
62 </span><span class="EXCLUDED">&lt;GrandParent</span><span class="EXCLUDED"> xmlns=""</span><span class="EXCLUDED">&gt;</span><span class="EXCLUDED">
63 </span><span class="INCLUDED">&lt;Parent</span><span class="INCLUDED"> xmlns=""</span><span class="INCLUDED">&gt;</span><span class="INCLUDED">
64 </span><span class="EXCLUDED">&lt;Child</span><span class="EXCLUDED"> xmlns="http://example.org"</span><span class="EXCLUDED">&gt;</span><span class="EXCLUDED">
65 </span><span class="INCLUDED">&lt;GrandChild</span><span class="INCLUDED"> xmlns=""</span><span class="INCLUDED">&gt;</span><span class="INCLUDED">&lt;/GrandChild&gt;</span><span class="EXCLUDED">
66 </span><span class="EXCLUDED">&lt;/Child&gt;</span><span class="INCLUDED">
67 </span><span class="INCLUDED">&lt;/Parent&gt;</span><span class="EXCLUDED">
68 </span><span class="EXCLUDED">&lt;/GrandParent&gt;</span></pre></body></html>