| 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"><!-- XPath="self::Parent or (parent::Parent and not(self::default:Child)) or self::GrandChild or parent::GrandChild" --> |
| 40 |
</span><span class="EXCLUDED"><!-- additionalNSPrefixes="default http://example.org" --> |
| 41 |
</span><span class="EXCLUDED"><!-- Result C14N: |
| 42 |
<Parent> |
| 43 |
<GrandChild></GrandChild> |
| 44 |
</Parent> |
| 45 |
--> |
| 46 |
</span><span class="EXCLUDED"><!-- 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 |
--> |
| 54 |
</span><span class="EXCLUDED"><!-- Result EC14N: |
| 55 |
<Parent> |
| 56 |
<GrandChild></GrandChild> |
| 57 |
</Parent> |
| 58 |
--> |
| 59 |
</span><span class="EXCLUDED"><!-- Annotation EC14N: |
| 60 |
See Annotation C14N. |
| 61 |
--> |
| 62 |
</span><span class="EXCLUDED"><GrandParent</span><span class="EXCLUDED"> xmlns=""</span><span class="EXCLUDED">></span><span class="EXCLUDED"> |
| 63 |
</span><span class="INCLUDED"><Parent</span><span class="INCLUDED"> xmlns=""</span><span class="INCLUDED">></span><span class="INCLUDED"> |
| 64 |
</span><span class="EXCLUDED"><Child</span><span class="EXCLUDED"> xmlns="http://example.org"</span><span class="EXCLUDED">></span><span class="EXCLUDED"> |
| 65 |
</span><span class="INCLUDED"><GrandChild</span><span class="INCLUDED"> xmlns=""</span><span class="INCLUDED">></span><span class="INCLUDED"></GrandChild></span><span class="EXCLUDED"> |
| 66 |
</span><span class="EXCLUDED"></Child></span><span class="INCLUDED"> |
| 67 |
</span><span class="INCLUDED"></Parent></span><span class="EXCLUDED"> |
| 68 |
</span><span class="EXCLUDED"></GrandParent></span></pre></body></html> |