12 |
<script type="application/x-javascript" |
<script type="application/x-javascript" |
13 |
src="/www/2005/uri-resolver/SimpleURIResolver.js"></script> |
src="/www/2005/uri-resolver/SimpleURIResolver.js"></script> |
14 |
<script type="application/x-javascript"> |
<script type="application/x-javascript"> |
15 |
const NS_XHTML1 = 'http://www.w3.org/1999/xhtml'; |
var NS_XHTML1 = 'http://www.w3.org/1999/xhtml'; |
16 |
document.suikaURNResolver = new SimpleURIResolver (); |
document.suikaURNResolver = new SimpleURIResolver (); |
17 |
document.suikaURNResolver.addMappingTableURI |
document.suikaURNResolver.addMappingTableURI |
18 |
('urn:x-suika-fam-cx:', |
('urn:x-suika-fam-cx:', |
26 |
if (r1) { |
if (r1) { |
27 |
var con = document.getElementById ('AJAX-RESULT-PRIMARY'); |
var con = document.getElementById ('AJAX-RESULT-PRIMARY'); |
28 |
con.textContent = ''; |
con.textContent = ''; |
29 |
|
con.innerText = ''; |
30 |
var code = con.appendChild (document.createElementNS |
var code = con.appendChild (document.createElementNS |
31 |
(NS_XHTML1, 'code')); |
(NS_XHTML1, 'code')); |
32 |
code.className = 'URI'; |
code.className = 'URI'; |
33 |
code.appendChild (document.createTextNode ('<')); |
code.appendChild (document.createTextNode |
34 |
|
(decodeURIComponent ('%3C'))); |
35 |
var a = code.appendChild (document.createElementNS (NS_XHTML1, 'a')); |
var a = code.appendChild (document.createElementNS (NS_XHTML1, 'a')); |
36 |
a.href = r1; |
a.href = r1; |
37 |
a.textContent = r1; |
a.textContent = r1; |
38 |
|
a.innerText = r1; |
39 |
code.appendChild (document.createTextNode ('>')); |
code.appendChild (document.createTextNode ('>')); |
40 |
} else { |
} else { |
41 |
var con = document.getElementById ('AJAX-RESULT-PRIMARY'); |
var con = document.getElementById ('AJAX-RESULT-PRIMARY'); |
42 |
con.textContent = '($B$J$7(B)'; |
con.textContent = '($B$J$7(B)'; |
43 |
|
con.innerText = '($B$J$7(B)'; |
44 |
} |
} |
45 |
if (r2) { |
if (r2) { |
46 |
var con = document.getElementById ('AJAX-RESULT-SECONDARY'); |
var con = document.getElementById ('AJAX-RESULT-SECONDARY'); |
47 |
con.textContent = ''; |
con.textContent = ''; |
48 |
|
con.innerText = ''; |
49 |
var code = con.appendChild (document.createElementNS |
var code = con.appendChild (document.createElementNS |
50 |
(NS_XHTML1, 'code')); |
(NS_XHTML1, 'code')); |
51 |
code.className = 'URI'; |
code.className = 'URI'; |
52 |
code.appendChild (document.createTextNode ('<')); |
code.appendChild (document.createTextNode |
53 |
|
(decodeURIComponent ('%3C'))); |
54 |
var a = code.appendChild (document.createElementNS (NS_XHTML1, 'a')); |
var a = code.appendChild (document.createElementNS (NS_XHTML1, 'a')); |
55 |
a.href = r2; |
a.href = r2; |
56 |
a.textContent = r2; |
a.textContent = r2; |
57 |
|
a.innerText = r2; |
58 |
code.appendChild (document.createTextNode ('>')); |
code.appendChild (document.createTextNode ('>')); |
59 |
} else { |
} else { |
60 |
var con = document.getElementById ('AJAX-RESULT-SECONDARY'); |
var con = document.getElementById ('AJAX-RESULT-SECONDARY'); |
61 |
con.textContent = '($B$J$7(B)'; |
con.textContent = '($B$J$7(B)'; |
62 |
|
con.innerText = '($B$J$7(B)'; |
63 |
} |
} |
64 |
var au = document.getElementById ('AJAX-RESULT-AJAX-URI'); |
var au = document.getElementById ('AJAX-RESULT-AJAX-URI'); |
65 |
au.textContent = 'http://suika.fam.cx/uri-res/2005/ajax?' |
au.textContent = 'http://suika.fam.cx/uri-res/2005/ajax?' |
66 |
+ encodeURIComponent (origURI); |
+ encodeURIComponent (origURI); |
67 |
|
au.innerText = au.textContent; |
68 |
au.href = au.textContent; |
au.href = au.textContent; |
69 |
var uu = document.getElementById ('AJAX-RESULT-N2L-URI'); |
var uu = document.getElementById ('AJAX-RESULT-N2L-URI'); |
70 |
uu.textContent = 'http://suika.fam.cx/uri-res/N2L?' |
uu.textContent = 'http://suika.fam.cx/uri-res/N2L?' |
71 |
+ encodeURIComponent (origURI); |
+ encodeURIComponent (origURI); |
72 |
|
uu.innerText = uu.textContent; |
73 |
uu.href = uu.textContent; |
uu.href = uu.textContent; |
74 |
}; |
}; |
75 |
}, false); |
}, false); |
113 |
<dt>$B85$N(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt> |
<dt>$B85$N(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt> |
114 |
<dd><input type="url" value="urn:x-suika-fam-cx:" |
<dd><input type="url" value="urn:x-suika-fam-cx:" |
115 |
id="AJAX-ORIGINAL-URI" |
id="AJAX-ORIGINAL-URI" |
116 |
size="60" onchange=" |
size="60" /><button onclick=" |
|
|
|
|
" /><button onclick=" |
|
117 |
document.getElementById ('AJAX-ORIGINAL-URI').onchange (); |
document.getElementById ('AJAX-ORIGINAL-URI').onchange (); |
118 |
">$B2r7h(B</button></dd> |
">$B2r7h(B</button></dd> |
119 |
<dt>$B0l<!2r7h(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt> |
<dt>$B0l<!2r7h(B <abbr lang="en" xml:lang="en">URI</abbr> $B;2>H(B</dt> |
135 |
<div class="footer"> |
<div class="footer"> |
136 |
<div class="navigation"> |
<div class="navigation"> |
137 |
[<a href="/">/</a> <a href="/search/" rel="search">$B8!:w(B</a>] |
[<a href="/">/</a> <a href="/search/" rel="search">$B8!:w(B</a>] |
138 |
|
[<a lang="en" xml:lang="en" href="/uri-res/" rel="up"><abbr |
139 |
|
title="Uniform Resource Identifiers">URI</abbr></a>] |
140 |
</div> |
</div> |
141 |
<div class="update" lang="en" xml:lang="en">$Date$</div> |
<div class="update" lang="en" xml:lang="en">$Date$</div> |
142 |
</div> |
</div> |