/[suikacvs]/www/2005/xpointer-js/xpointer-js-desc.ja.html
Suika

Contents of /www/2005/xpointer-js/xpointer-js-desc.ja.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Mon Mar 14 00:40:15 2005 UTC (19 years, 8 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -2 lines
File MIME type: text/html
New style added

1 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
2 <head profile="http://suika.fam.cx/~wakaba/-temp/wiki/wiki?WikiHTMLMetaProfile">
3 <title>JavaScript (ECMAScript) $B$K$h$k(B XPointer $B$N<BAu(B</title>
4 <link rel="copyright" href="#LICENSE" />
5 <link rev="made" href="http://suika.fam.cx/~wakaba/who?" />
6 <meta name="author" content="$B$o$+$P(B" />
7 <link rel="stylesheet" href="/www/style/html/xhtml" media="all" />
8 <link rel="stylesheet" href="/www/style/ui/toc-after-abstract" media="all" />
9 <link rel="stylesheet" href="dom-style" media="all" />
10 <link rel="stylesheet" href="xpointer-style" media="all" />
11 </head>
12 <body>
13 <h1><span xml:lang="en" lang="en">JavaScript</span>
14 (<span xml:lang="en" lang="en">ECMAScript</span>) $B$K$h$k(B
15 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
16 $B$N<BAu(B</h1>
17
18 <div class="section" id="ABSTRACT">
19 <h2>$B35MW(B</h2>
20 <p>$B$3$NJ8=q$G$O!"(B <span xml:lang="en" lang="en">JavaScript</span>
21 $B$r;H$C$?(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
22 $B$N<BAu$r>R2p$7$^$9!#(B</p>
23 </div>
24
25 <div class="section" id="INTRO">
26 <h2>$B$O$8$a$K(B</h2>
27
28 <p>
29 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
30 $B$O(B <abbr lang="en" xml:lang="en" title="Extensible Markup Language">XML</abbr>
31 $B$NAGJR<1JL;R$J$I$H$7$F;H$&$3$H$,A[Dj$5$l$?(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$G$9!#(B
32 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
33 $B$N9=J8$K$O!"<1JL;R$r;H$C$FMWAG$r<1JL$9$k(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#shorthand">$BB.5-;X<(;R(B</a>$B$H!"(B
34 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme" lang="en" xml:lang="en">scheme</a>
35 $B$K$h$C$FJ8=q$NG$0U$NItJ,;q8;$r<1JL$G$-$k9=J8$N(B2$B<oN`$,$"$j$^$9!#(B
36 </p>
37
38 <p>
39 $B$3$NJ8=q$G>R2p$9$k$N$O!"(B <span xml:lang="en" lang="en">JavaScript</span>
40 $B$r;H$C$?(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
41 $B$N<BAu$H$=$N3&LL$G$9!#$3$N%9%/%j%W%H$r;H$($P!"(B
42 <abbr xml:lang="en" lang="en" title="Hypertext Markup Language">HTML</abbr> $B$d(B
43 <abbr lang="en" xml:lang="en" title="Extensible Markup Language">XML</abbr>
44 $B$NJ8=q$G(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
45 $B;X<(;R$rI>2A$5$;$k$3$H$,$G$-$^$9!#(B
46 </p>
47
48 <p>
49 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
50 $B$G$O(B <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme" lang="en" xml:lang="en">scheme</a>
51 $B$O3HD%2DG=$KDj5A$5$l$F$$$^$9!#$3$N%9%/%j%W%H$G$O4JC1$K(B
52 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme" lang="en" xml:lang="en">scheme</a>
53 $B$N=hM}$r<BAu$9$k$3$H$,$G$-$^$9!#(B
54 </p>
55
56 </div><!-- #INTRO -->
57
58 <div class="section" id="API">
59 <h2>$B3&LL(B</h2>
60
61 <p>
62 <a href="xpointer.js" type="application/x-javascript"><code lang="en"
63 xml:lang="en">xpointer.js</code></a> $B$O<!$N3&LL$K$h$j(B
64 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
65 $B$r<BAu$7$F$$$^$9!#$^$?!"M=$a(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#shorthand">$BB.5-;X<(;R(B</a>$B$H(B
66 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
67 $B$H$7$F(B <a href="http://www.w3.org/TR/2003/REC-xptr-element-20030325/"><code class="XPointerScheme" xml:lang="en" lang="en">element()</code></a> $B$*$h$S(B
68 <a href="http://www.w3.org/TR/2003/REC-xptr-xmlns-20030325/"><code class="XPointerScheme" xml:lang="en" lang="en">xmlns()</code></a> $B$KBP1~$7$F$$$^$9!#(B
69 <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR"><code class="DOMi" xml:lang="en" lang="en">XPointerSchemeProcessor</code></a>
70 $B$r;H$($P99$KB>$N(B
71 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><span lang="en" xml:lang="en">scheme</span></a>
72 $B$K$bBP1~$G$-$^$9!#(B
73 </p>
74
75 <div class="note memo">
76 <p>$B$3$N3&LL$d$=$N<BAu$O$^$@8!F$Cf$N$b$N$G!"(B
77 $B>-MhJQ99$5$l$k2DG=@-$,$"$j$^$9!#I,MW$,$"$l$P(B
78 <a href="http://suika.fam.cx/gate/cvs/www/2005/xpointer-js/"
79 lang="en" xml:lang="en"><abbr title="Concurrent Versions System">CVS</abbr>
80 repository</a> $B$N(B<a href="#FILES">$BG[I[%U%!%$%k(B</a>$B$b;2>H$7$F2<$5$$!#(B</p>
81 </div>
82
83 <dl class="dom-interface-definition">
84 <dt id="DOM-IF-XPOINTEREVALUATOR">$B3&LL(B <code class="DOMi"
85 lang="en" xml:lang="en">XPointerEvaluator</code></dt>
86 <dd>
87 <div class="dom-interface-description">
88 <p>$B3&LL(B <code class="DOMi"
89 lang="en" xml:lang="en">XPointerEvaluator</code> $B$O(B
90 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
91 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$rI>2A$9$k$?$a$N%a%=%C%I$rDs6!$7$^$9!#(B
92 $B$3$N3&LL$O(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$d(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$rI>2A$9$kJ8L.$H$J$kJ8=q$H$OFHN)$7$?$b$N$G$9!#(B</p>
93 <div class="example fig">
94 <div class="fig-body">
95 <p><span xml:lang="en" lang="en">JavaScript</span> $B$G$O!"9=C[;R$r;H$C$F<!$N$h$&$K$3$N3&LL$r<BAu$7$?J*BN$r<hF@$G$-$^$9!#(B</p>
96 <pre class="JS" lang="en" xml:lang="en">var xp = new XPointerEvaluator ();</pre>
97 </div>
98 <div class="caption"><code class="DOMi"
99 lang="en" xml:lang="en">XPointerEvaluator</code> $BJ*BN$N9=C[(B</div>
100 </div><!-- example -->
101 </div><!-- dom-interface-description -->
102 <dl>
103 <dt>IDL $BDj5A(B</dt>
104 <dd class="dom-interface-idl-definition">
105 <pre lang="en" xml:lang="en">interface XPointerEvaluator {
106 <a href="#DOM-IF-XPOINTERRESULT">XPointerResult</a> <a href="#DOM-IF-XPOINTEREVALUATOR-EVALUATE">evaluate</a>(in Document contextDocument,
107 in DOMString xpointer)
108 raises(<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathException">XPathException</a>);
109 <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR">XPointerSchemeProcessor</a>
110 <a href="#DOM-IF-XPOINTEREVALUATOR-GETXPOINTERSCHEMEPROCESSOR">getXPointerSchemeProcessor</a>
111 (in DOMString namespaceURI,
112 in DOMString localName);
113 void <a href="#DOM-IF-XPOINTEREVALUATOR-SETXPOINTERSCHEMEPROCESSOR">setXPointerSchemeProcessor</a>
114 (in DOMString namespaceURI,
115 in DOMString localName,
116 in <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR">XPointerSchemeProcessor</a> sp);
117 };</pre>
118 </dd>
119 <dt>$B%a%=%C%I(B</dt>
120 <dd>
121 <dl>
122 <dt id="DOM-IF-XPOINTEREVALUATOR-EVALUATE"><code class="DOMm" xml:lang="en" lang="en">evaluate</code></dt>
123 <dd class="dom-method-definition">
124 <div class="dom-method-description">
125 <p><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
126 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$rM?$($i$l$?J8=q$N85$GI>2A$7!"(B
127 $B<1JL$5$l$?ItJ,;q8;$rJV$7$^$9!#(B</p>
128 </div>
129 <dl>
130 <dt>$B0z?t(B</dt>
131 <dd>
132 <dl>
133 <dt><code class="DOMp" xml:lang="en" lang="en">contextDocument</code>
134 ($B7?(B <code class="DOMi" xml:lang="en" lang="en">DOMDocument</code>)</dt>
135 <dd><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
136 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$rI>2A$9$kJ8L.$H$J$kJ8=q!#(B</dd>
137 <dt><code class="DOMp" xml:lang="en" lang="en">xpointer</code>
138 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
139 <dd>$BI>2A$9$k(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B!#(B</dd>
140 </dl>
141 </dd>
142 <dt>$BJV$7CM(B</dt>
143 <dd>
144 <dl>
145 <dt><a href="#DOM-IF-XPOINTERRESULT"><code class="DOMi" xml:lang="en" lang="en">XPointerResult</code></a></dt>
146 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$rI>2A$7$FF@$i$l$?7k2L!#(B</dd>
147 </dl>
148 </dd>
149 <dt>$BNc30(B</dt>
150 <dd>
151 <dl>
152 <dt><a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathException"><code class="DOMi" xml:lang="en" lang="en">XPathException</code></a></dt>
153 <dd><a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#INVALID_EXPRESSION_ERR"><code class="dom-exception-code" xml:lang="en" lang="en">INVALID_EXPRESSION_ERR</code></a>:
154 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$,IT@5$G$"$k$+!"(B
155 $BJ8=qFb$N$I$NItJ,;q8;$b<1JL$7$J$$;~$KH/@8$7$^$9!#(B</dd>
156 </dl>
157 </dd>
158 </dl>
159 </dd><!-- evaluate -->
160 <dt id="DOM-IF-XPOINTEREVALUATOR-GETXPOINTERSCHEMEPROCESSOR"><code class="DOMm" xml:lang="en" lang="en">getXPointerSchemeProcessor</code></dt>
161 <dd class="dom-method-definition">
162 <div class="dom-method-description">
163 <p>$B;XDj$5$l$?(B
164 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
165 $B$N=hM}4o$rJV$7$^$9!#(B</p>
166 </div>
167 <dl>
168 <dt>$B0z?t(B</dt>
169 <dd>
170 <dl>
171 <dt><code class="DOMp" xml:lang="en" lang="en">namespaceURI</code>
172 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
173 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
174 $B$N(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceURI">$BL>A06u4V(B <abbr title="Uniform Resource Identifiers" lang="en" xml:lang="en">URI</abbr></a>$B!#(B
175 $BL>A06u4V$KB0$5$J$$$H$-$O(B
176 <code xml:lang="en" lang="en">null</code> $B$r;XDj$7$^$9!#(B
177 $BD9$5(B0$B$NJ8;zNs$O(B <code xml:lang="en" lang="en">null</code>
178 $B$HF1$80UL#$G$9!#(B</dd>
179 <dt><code class="DOMp" xml:lang="en" lang="en">localName</code>
180 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
181 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
182 $B$N6I=jL>!#(B</dd>
183 </dl>
184 </dd>
185 <dt>$BJV$7CM(B</dt>
186 <dd>
187 <dl>
188 <dt><a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR"><code class="DOMi" xml:lang="en" lang="en">XPointerSchemeProcessor</code></a></dt>
189 <dd>$B;XDj$5$l$?(B
190 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme" lang="en" xml:lang="en">scheme</a>
191 $B$N=hM}4o!#(B
192 $B8+$D$+$i$J$1$l$P(B <code xml:lang="en" lang="en">null</code>$B!#(B
193 <code class="DOMp" xml:lang="en" lang="en">namespaceURI</code> $B$H(B
194 <code class="DOMp" xml:lang="en" lang="en">localName</code>
195 $B$NN>J}$,(B <code xml:lang="en" lang="en">null</code>
196 $B$N;~$O!"(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#shorthand">$BB.5-;X<(;R(B</a>$BMQ$N=hM}4o$rJV$7$^$9!#(B</dd>
197 </dl>
198 </dd>
199 <dt>$BNc30$J$7(B</dt>
200 </dl>
201 </dd><!-- getXPointerSchemeProcessor -->
202 <dt id="DOM-IF-XPOINTEREVALUATOR-SETXPOINTERSCHEMEPROCESSOR"><code class="DOMm" xml:lang="en" lang="en">setXPointerSchemeProcessor</code></dt>
203 <dd class="dom-method-definition">
204 <div class="dom-method-description">
205 <p>$B;XDj$5$l$?(B
206 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
207 $B$N=hM}4o$r@_Dj$7$^$9!#(B
208 $B4{$K=hM}4o$,EPO?$5$l$F$$$k$H$-$OCV$-49$($^$9!#(B</p>
209 </div>
210 <dl>
211 <dt>$B0z?t(B</dt>
212 <dd>
213 <dl>
214 <dt><code class="DOMp" xml:lang="en" lang="en">namespaceURI</code>
215 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
216 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
217 $B$N(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceURI">$BL>A06u4V(B <abbr title="Uniform Resource Identifiers" lang="en" xml:lang="en">URI</abbr></a>$B!#(B
218 $BL>A06u4V$KB0$5$J$$$H$-$O(B
219 <code xml:lang="en" lang="en">null</code> $B$r;XDj$7$^$9!#(B
220 $BD9$5(B0$B$NJ8;zNs$O(B <code xml:lang="en" lang="en">null</code>
221 $B$HF1$80UL#$G$9!#(B</dd>
222 <dt><code class="DOMp" xml:lang="en" lang="en">localName</code>
223 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
224 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
225 $B$N6I=jL>!#(B</dd>
226 <dt><code class="DOMp" xml:lang="en" lang="en">sp</code>
227 ($B7?(B <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR"><code class="DOMi" xml:lang="en" lang="en">XPointerSchemeProcessor</code></a>)</dt>
228 <dd>$B@_Dj$9$k(B
229 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span></a>
230 $B=hM}4o!#(B</dd>
231 </dl>
232 </dd>
233 <dt>$BJV$7CM$J$7(B</dt>
234 <dt>$BNc30$J$7(B</dt>
235 </dl>
236 </dd><!-- setXPointerSchemeProcessor -->
237 </dl>
238 </dd>
239 </dl>
240 </dd><!-- XPointerEvaluator -->
241 <dt id="DOM-IF-XPOINTERSCHEMEPROCESSOR">$B3&LL(B <code class="DOMi"
242 lang="en" xml:lang="en">XPointerSchemeProcessor</code></dt>
243 <dd>
244 <div class="dom-interface-description">
245 <p>$B3&LL(B <code class="DOMi"
246 lang="en" xml:lang="en">XPointerSchemeProcessor</code>
247 $B$r<BAu$7$?J*BN$O!"(B
248 <a href="#DOM-IF-XPOINTEREVALUATOR-SETXPOINTERSCHEMEPROCESSOR"><code xml:lang="en" lang="en"><code class="DOMi">XPointerEvaluator</code>.<code class="DOMm">setXPointerSchemeProcessor</code></code></a> $B$r;H$C$F(B
249 <a href="#DOM-IF-XPOINTEREVALUATOR"><code class="DOMi" xml:lang="en" lang="en">XPointerEvaluator</code></a>
250 $B$KEPO?$7$FFCDj$N(B <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><span lang="en" xml:lang="en">scheme</span></a>
251 $B$N(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">$B%G!<%?(B</a>$B$r=hM}$5$;$k$3$H$,$G$-$^$9!#(B</p>
252 <div class="example fig">
253 <div class="fig-body">
254 <p><span xml:lang="en" lang="en">JavaScript</span> $B$G$O!"9=C[;R$r;H$C$F<!$N$h$&$K$3$N3&LL$r<BAu$7$?J*BN$r:n@.$G$-$^$9!#(B</p>
255 <pre class="JS" lang="en" xml:lang="en">var sp = new XPointerSchemeProcessor (function (doc, context, data) {
256 /* <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR-EVALUATE">XPointerSchemeProcessor.evaluate</a> $B%a%=%C%I$N<BAu(B */
257 });</pre>
258 </div>
259 <div class="caption"><code class="DOMi"
260 lang="en" xml:lang="en">XPointerSchemeProcessor</code> $BJ*BN$N9=C[(B</div>
261 </div><!-- example -->
262 </div><!-- dom-interface-description -->
263 <dl>
264 <dt>IDL $BDj5A(B</dt>
265 <dd class="dom-interface-idl-definition">
266 <pre lang="en" xml:lang="en">interface XPointerSchemeProcessor {
267 <a href="#DOM-IF-XPOINTERRESULT">XPointerResult</a> <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR-EVALUATE">evaluate</a>(in Document contextDocument,
268 in <a href="#DOM-IF-XPOINTERSCHEMECONTEXT">XPointerSchemeContext</a> schemeContext,
269 in DOMString schemeData);
270 };</pre>
271 </dd>
272 <dt>$B%a%=%C%I(B</dt>
273 <dd>
274 <dl>
275 <dt id="DOM-IF-XPOINTERSCHEMEPROCESSOR-EVALUATE"><code class="DOMm" xml:lang="en" lang="en">evaluate</code></dt>
276 <dd class="dom-method-definition">
277 <div class="dom-method-description">
278 <p>$BM?$($i$l$?(B <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData"><span lang="en" xml:lang="en">scheme</span> $B%G!<%?(B</a>$B$rI>2A$7!"(B
279 $B<1JL$5$l$?ItJ,;q8;$rJV$7$^$9!#(B</p>
280 </div>
281 <dl>
282 <dt>$B0z?t(B</dt>
283 <dd>
284 <dl>
285 <dt><code class="DOMp" xml:lang="en" lang="en">contextDocument</code>
286 ($B7?(B <code class="DOMi" xml:lang="en" lang="en">Document</code>)</dt>
287 <dd>$BI>2A$9$kJ8L.$H$J$kJ8=q!#(B</dd>
288 <dt><code class="DOMp" xml:lang="en" lang="en">schemeContext</code>
289 ($B7?(B <a href="#DOM-IF-XPOINTERSCHEMECONTEXT"><code class="DOMi" xml:lang="en" lang="en">XPointerSchemeContext</code></a>)</dt>
290 <dd>$BI>2A$9$k$?$a$N(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> $B$NJ8L.>pJs!#(B</dd>
291 <dt><code class="DOMp" xml:lang="en" lang="en">schemeData</code>
292 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
293 <dd>$BI>2A$9$k(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData"><span lang="en" xml:lang="en">scheme</span> $B%G!<%?(B</a>$B!#(B
294 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-EscapedData">$BJ8;z(B <code class="char">^</code>
295 $B$K$h$kF(Hr(B</a>$B$O85$KLa$5$l$?>uBV$GEO$5$l$^$9!#(B</dd>
296 </dl>
297 </dd>
298 <dt>$BJV$7CM(B</dt>
299 <dd>
300 <dl>
301 <dt><a href="#DOM-IF-XPOINTERRESULT"><code class="DOMi" xml:lang="en" lang="en">XPointerResult</code></a></dt>
302 <dd>$BI>2A$7$?7k2L$NItJ,;q8;!#(B
303 $BItJ,;q8;$,<1JL$5$l$?>l9g$K$O(B
304 <a href="#DOM-IF-XPOINTERRESULT-HASSUBRESOURCES"><code xml:lang="en" lang="en"><code class="DOMi">XPointerResult</code>.<code class="DOMa">hasSubresources</code></code></a>
305 $B$O(B <code xml:lang="en" lang="en">true</code>$B!"$=$&$G$J$$>l9g$K$O(B
306 <code xml:lang="en" lang="en">false</code> $B$K$7$^$9!#(B</dd>
307 </dl>
308 </dd>
309 <dt>$BNc30$J$7(B</dt>
310 </dl>
311 </dd><!-- evaluate -->
312 </dl>
313 </dd>
314 </dl>
315 </dd><!-- XPointerSchemeProcessor -->
316 <dt id="DOM-IF-XPOINTERSCHEMECONTEXT">$B3&LL(B <code class="DOMi"
317 lang="en" xml:lang="en">XPointerSchemeContext</code></dt>
318 <dd>
319 <div class="dom-interface-description">
320 <p>$B3&LL(B <code class="DOMi"
321 lang="en" xml:lang="en">XPointerSchemeContext</code> $B$O!"(B
322 <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR"><code class="DOMi"
323 lang="en" xml:lang="en">XPointerSchemeProcessor</code></a>
324 $B$,(B <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData"><span lang="en" xml:lang="en">scheme</span> $B%G!<%?(B</a>$B$rI>2A$9$k$?$a$KI,MW$JJ8L.$rDs6!$7$^$9!#(B</p>
325 <div class="note memo">
326 <p>$B8=:_$3$N3&LL$O(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-nsbinding">$BL>A06u4VB+G{J8L.(B</a>$B$N>pJs$@$1$rDs6!$7$F$$$^$9$,!"(B
327 $B>-Mh$NHG$G$O99$KB>$NJ8L.>pJs$bDs6!$9$k$+$b$7$l$^$;$s!#(B</p>
328 </div><!-- note -->
329 </div><!-- dom-interface-description -->
330 <dl>
331 <dt>IDL $BDj5A(B</dt>
332 <dd class="dom-interface-idl-definition">
333 <pre lang="en" xml:lang="en">interface XPointerSchemeContext {
334 DOMString <a href="#DOM-IF-XPOINTERSCHEMECONTEXT-LOOKUPNAMESPACEURI">lookupNamespaceURI</a>(in DOMString prefix);
335 void <a href="#DOM-IF-XPOINTERSCHEMECONTEXT-ADDNAMESPACEBINDING">addNamespaceBinding</a>(in DOMString prefix,
336 in DOMString namespaceURI);
337 };</pre>
338 </dd>
339 <dt>$B%a%=%C%I(B</dt>
340 <dd>
341 <dl>
342 <dt id="DOM-IF-XPOINTERSCHEMECONTEXT-LOOKUPNAMESPACEURI"><code class="DOMm" xml:lang="en" lang="en">lookupNamespaceURI</code></dt>
343 <dd class="dom-method-definition">
344 <div class="dom-method-description">
345 <p>$BM?$($i$l$?(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceprefix">$BL>A06u4V@\F,<-(B</a>$B$K4XO"IU$1$i$l$?(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceURI">$BL>A06u4V(B <abbr title="Uniform Resource Identifiers" lang="en" xml:lang="en">URI</abbr></a>
346 $B$rD4$Y$^$9!#(B</p>
347 <div class="note memo">
348 <p><a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceprefix">$BL>A06u4V@\F,<-(B</a>$B$H$7$F(B <code xml:lang="en" lang="en">null</code> $B$d6uJ8;zNs$,M?$($i$l$?;~$N7k2L$OL$Dj5A$H$7$^$9!#(B
349 $B>-Mh$NHG$G$ODj5A$9$k$+$b$7$l$^$;$s!#(B</p>
350 </div><!-- note -->
351 </div>
352 <dl>
353 <dt>$B0z?t(B</dt>
354 <dd>
355 <dl>
356 <dt><code class="DOMp" xml:lang="en" lang="en">prefix</code>
357 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
358 <dd>$BD4$Y$k(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceprefix">$BL>A06u4V@\F,<-(B</a>$B!#(B</dd>
359 <dt><code class="DOMp" xml:lang="en" lang="en">xpointer</code>
360 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
361 <dd>$BI>2A$9$k(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B!#(B</dd>
362 </dl>
363 </dd>
364 <dt>$BJV$7CM(B</dt>
365 <dd>
366 <dl>
367 <dt><code xml:lang="en" lang="en">DOMString</code></dt>
368 <dd>$B4XO"IU$1$i$l$F$$$k(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceURI">$BL>A06u4V(B <abbr title="Uniform Resource Identifiers" lang="en" xml:lang="en">URI</abbr></a>$B!#(B
369 $B$J$1$l$P(B <code xml:lang="en" lang="en">null</code>$B!#(B</dd>
370 </dl>
371 </dd>
372 <dt>$BNc30$J$7(B</dt>
373 </dl>
374 </dd><!-- lookupNamespaceURI -->
375 <dt id="DOM-IF-XPOINTERSCHEMECONTEXT-ADDNAMESPACEBINDING"><code class="DOMm" xml:lang="en" lang="en">addNamespaceBinding</code></dt>
376 <dd class="dom-method-definition">
377 <div class="dom-method-description">
378 <p><a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceprefix">$BL>A06u4V@\F,<-(B</a>$B$K(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceURI">$BL>A06u4V(B <abbr title="Uniform Resource Identifiers" lang="en" xml:lang="en">URI</abbr></a> $B$rB+G{$7$^$9!#(B
379 $BDI2C$5$l$?B+G{$O!"F1$8(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$N0J8e$N(B
380 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><span lang="en" xml:lang="en">scheme</span></a>
381 $B$NI>2A(B <span class="weak">($B9T$o$l$k>l9g!#(B)</span>
382 $B$G$bM-8z$G$9!#(B</p>
383 <div class="note memo">
384 <p><a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceprefix">$BL>A06u4V@\F,<-(B</a>$B$H$7$F(B <code xml:lang="en" lang="en">null</code> $B$d6uJ8;zNs$,M?$($i$l$?;~$N7k2L$OL$Dj5A$H$7$^$9!#(B
385 $B>-Mh$NHG$G$ODj5A$9$k$+$b$7$l$^$;$s!#(B</p>
386 </div><!-- note -->
387 </div>
388 <dl>
389 <dt>$B0z?t(B</dt>
390 <dd>
391 <dl>
392 <dt><code class="DOMp" xml:lang="en" lang="en">prefix</code>
393 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
394 <dd>$BB+G{$9$k(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceprefix">$BL>A06u4V@\F,<-(B</a>$B!#(B</dd>
395 <dt><code class="DOMp" xml:lang="en" lang="en">namespaceURI</code>
396 ($B7?(B <code xml:lang="en" lang="en">DOMString</code>)</dt>
397 <dd>$BB+G{$9$k(B<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/glossary.html#dt-namespaceURI">$BL>A06u4V(B <abbr title="Uniform Resource Identifiers" lang="en" xml:lang="en">URI</abbr></a>$B!#(B
398 $BL>A06u4V$J$7$J$i(B <code xml:lang="en" lang="en">null</code>$B!#(B</dd>
399 </dl>
400 </dd>
401 <dt>$BJV$7CM$J$7(B</dt>
402 <dt>$BNc30$J$7(B</dt>
403 </dl>
404 </dd><!-- addNamespaceBinding -->
405 </dl>
406 </dd>
407 </dl>
408 </dd><!-- XPointerSchemeContext -->
409 <dt id="DOM-IF-XPOINTERRESULT">$B3&LL(B <code class="DOMi"
410 lang="en" xml:lang="en">XPointerResult</code></dt>
411 <dd>
412 <div class="dom-interface-description">
413 <p><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$rI>2A$7$?7k2L$O(B <code class="DOMi" xml:lang="en" lang="en">XPointerResult</code>
414 $B$r<BAu$7$?J*BN$K$h$C$FJV$5$l$^$9!#(B
415 $B$3$NJ*BN$r$I$&<BAu$9$k$+$O$=$N<BAu$K0MB8$7$^$9!#(B</p>
416 <div class="note memo">
417 <p>$B7k2L$rJV$9J}K!$K$O99$K8!F$$,I,MW$G$9!#(B
418 $B>-Mh$NHG$G$O3&LL$,JQ99$5$l$k$+$b$7$l$^$;$s!#(B</p>
419 </div>
420 <div class="example fig">
421 <div class="fig-body">
422 <p><span xml:lang="en" lang="en">JavaScript</span> $B$G$O!"JX59>e?7$7$$(B <code class="DOMi" xml:lang="en" lang="en">XPointerResult</code>
423 $B$r@8@.$9$k$?$a$N@EE*%a%=%C%I$rMQ0U$7$F$$$^$9!#(B</p>
424 <pre class="JS" lang="en" xml:lang="en"><code class="comment" lang="ja" xml:lang="ja" id="JS-XPOINTERRESULT-CREATEEMPTYXPOINTERRESULT">// $B6u(B ($B0lCW$9$kItJ,;q8;$J$7(B) $B$N7k2L(B</code>
425 result = XPointerResult.createEmptyeXPointerResult ();
426 <code class="comment" lang="ja" xml:lang="ja" id="JS-XPOINTERRESULT-CREATENODEXPOINTERRESULT">// $B@aE@$,(B1$B$D$@$1$N7k2L(B</code>
427 <code class="comment" lang="ja" xml:lang="ja">// <var lang="en" xml:lang="en">code</var> $B$,(B <code lang="en" xml:lang="en">null</code> $B$J$i(B <a href="#JS-XPOINTERRESULT-CREATEEMPTYXPOINTERRESULT"><code lang="en" xml:lang="en">createEmptyXPointerResult</code></a> $B$HF1$8(B</code>
428 result = XPointerResult.createNodeXPointerResult (node);<!--
429 <code class="comment" lang="ja" xml:lang="ja" id="JS-XPOINTERRESULT-CREATENODESNAPSHOTXPOINTERRESULT">// $BJ#?t$N@aE@$N7k2L(B ($B%9%J%C%W<L??(B)</code>
430 result = XPointerResult.createNodeSnapshotXPointerResult (nodelist);--></pre>
431 </div>
432 <div class="caption"><code class="DOMi"
433 lang="en" xml:lang="en">XPointerResult</code> $BJ*BN$N9=C[(B</div>
434 </div><!-- example -->
435 </div><!-- dom-interface-description -->
436 <dl>
437 <dt>IDL $BDj5A(B</dt>
438 <dd class="dom-interface-idl-definition">
439 <pre lang="en" xml:lang="en">interface XPointerResult {
440
441 <code class="comment">// XPointerResultType</code>
442 const unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-UNORDERED-NODE-ITERATOR-TYPE">UNORDERED_NODE_ITERATOR_TYPE</a> = 4;
443 const unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-ORDERED-NODE-ITERATOR-TYPE">ORDERED_NODE_ITERATOR_TYPE</a> = 5;
444 const unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-UNORDERED-NODE-SNAPSHOT-TYPE">UNORDERED_NODE_SNAPSHOT_TYPE</a> = 6;
445 const unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-ORDERED-NODE-SNAPSHOT-TYPE">ORDERED_NODE_SNAPSHOT_TYPE</a> = 7;
446 const unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-ANY-UNORDERED-NODE-TYPE">ANY_UNORDERED_NODE_TYPE</a> = 8;
447 const unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-FIRST-ORDERED-NODE-TYPE">FIRST_ORDERED_NODE_TYPE</a> = 9;
448
449 readonly attribute unsigned short <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-resultType">resultType</a>;
450 readonly attribute Node <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathResult-singleNodeValue">singleNodeValue</a>;
451 <code class="comment">// raises(<a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathException">XPathException</a>) on retrieval</code>
452 <!--
453 readonly attribute unsigned long snapshotLength;
454 // raises(XPathException) on retrieval
455
456 Node snapshotItem(in unsigned long index)
457 raises(XPathException);
458 --> readonly attribute boolean <a href="#DOM-IF-XPOINTERRESULT-HASSUBRESOURCES">hasSubresources</a>;
459 };</pre>
460 </dd>
461 <dt>$BB0@-(B</dt>
462 <dd>
463 <dl>
464 <dt id="DOM-IF-XPOINTERRESULT-HASSUBRESOURCES"><code class="DOMa" xml:lang="en" lang="en">hasSubresources</code>
465 ($B7?(B <code xml:lang="en" lang="en">boolean</code>, $BFI<h@lMQ(B)</dt>
466 <dd class="dom-attr-definition">
467 <div class="dom-attr-description">
468 <p><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$B$,J8=q$NItJ,;q8;$r<1JL$7!"(B
469 $B$=$N7k2L$r$3$NJ*BN$,;}$C$F$$$k$N$G$"$l$P(B
470 <code xml:lang="en" lang="en">true</code>$B!"$=$&$G$J$1$l$P(B <code xml:lang="en" lang="en">false</code>$B!#(B</p>
471 </div>
472 </dd><!-- hasSubresources -->
473 </dl>
474 </dd>
475 </dl>
476 </dd><!-- XPointerResult -->
477 </dl>
478
479 </div><!-- #API -->
480
481 <div class="section" id="EXAMPLE">
482 <h2>$BNc(B</h2>
483
484 <div class="section" id="EXAMPLE-STYLECHANGE">
485 <h3>$B%9%?%$%k!&%7!<%H$NJQ99(B</h3>
486
487 <p><abbr xml:lang="en" lang="en" title="Hypertext Markup Language">HTML</abbr>
488 $B$K$O%9%?%$%k!&%7!<%H(B <span class="weak">($B$NAH(B)</span>
489 $B$rMxMQ<T$,A*Br$G$-$k5!G=$,Hw$o$C$F$$$^$9$,!"(B
490 $B$3$l$rAGJR<1JL;R$+$iA*Br$9$k$3$H$r;n$_$^$9!#$^$:$O;HMQNc$r$4Mw2<$5$$!#(B</p>
491
492 <ul>
493 <li><a href="example-stylechange">$B;HMQNc(B</a></li>
494 <li><a href="example-stylechange-link">$B;HMQNc$X$N%j%s%/$,$"$kJ8=q(B</a></li>
495 <li><a href="example-stylechange-script.js" type="application/x-javascript">$B;HMQNc$G;2>H$7$F$$$k30It(B
496 <span xml:lang="en" lang="en">JavaScript</span> $B$N%3!<%I(B</a></li>
497 </ul>
498
499 <p>$B$3$NNc$G$O!"L>A0$K$h$C$F%9%?%$%k!&%7!<%H$rA*Br$9$k(B
500 <a href="#XPOINTER-SCHEME-STYLE"><code class="XPointerScheme" xml:lang="en" lang="en"><code class="qname"><abbr class="qname-prefix" title="&lt;http://suika.fam.cx/~wakaba/archive/2005/3/style/&gt;">style</abbr>:<code class="qname-local-name">style</code></code>()</code></a>
501 $B$H$$$&(B
502 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><span lang="en" xml:lang="en">scheme</span></a>
503 $B$J$I$r(B
504 <a href="#DOM-IF-XPOINTERSCHEMEPROCESSOR"><code class="DOMi" xml:lang="en" lang="en">XPointerSchemeProcessor</code></a>
505 $B$N<BAu$K$h$C$FF3F~$7$F$$$^$9!#(B<a href="example-stylechange">$B;HMQNc(B</a>$B$d(B<a href="example-stylechange-link">$B;HMQNc$X$N%j%s%/$,$"$kJ8=q(B</a>$B$K$"$k%j%s%/$O!"(B
506 $B$3$N(B <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><span lang="en" xml:lang="en">scheme</span></a>
507 $B$r;H$C$?AGJR<1JL;R$r;H$C$F$$$^$9!#(B</p>
508
509 <p>$B%9%/%j%W%H$G$O!"J8=q$,FI$_9~$^$l$?;~$H%j%s%/$,3h@-2=$5$l$?;~$K4X?t(B
510 <code class="JS" lang="en" xml:lang="en">reevaluateFragment()</code>
511 $B$r<B9T$9$k$h$&$K;XDj$7$F$$$^$9!#$3$N4X?t$OAGJR<1JL;R$+$i(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
512 $B$r<h$j=P$7!"(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> $B=hM}4o$KEO$7$^$9!#(B</p>
513
514 <div class="fig" id="XPOINTER-SCHEME-STYLE">
515 <div class="fig-body">
516
517 <dl class="xpointer-scheme-definition">
518 <dt>$BL>A06u4VL>(B</dt>
519 <dd><code class="uri">&lt;<a href="http://suika.fam.cx/~wakaba/archive/2005/3/style/">http://suika.fam.cx/~wakaba/archive/2005/3/style/</a>&gt;</code></dd>
520 <dt>$B6I=jL>(B</dt>
521 <dd><code>style</code></dd>
522 <dt><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">$B%G!<%?(B</a>$B$N9=J8(B
523 (<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-EscapedData">$BF(Hr(B</a>$B$rLa$9A0(B)</dt>
524 <dd><code class="ABNF"><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">SchemeData</a></code></dd>
525 <dt>$B<1JL$9$kItJ,;q8;(B</dt>
526 <dd>$B$J$7(B</dd>
527 <dt>$BI{:nMQ(B</dt>
528 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">$B%G!<%?(B</a>$B$H$7$F;XDj$5$l$?J8;zNs(B
529 <span class="weak">(0$BJ8;z0J>e$NG$0U$NJ8;z$NNs(B)</span>
530 $B$H0lCW$9$kL>A0(B
531 (<a href="http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#specifying-external"><code class="HTMLa">title</code> $BB0@-(B</a>)
532 $B$N(B<a href="http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.3.1">$BBeBX%9%?%$%k!&%7!<%H(B
533 <span class="weak">($BM%@h%9%?%$%k!&%7!<%H$r4^$_$^$9!#(B)</span></a>
534 $B$N=89g$rM-8z$K$7!"B>$N(B<a href="http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.3.1">$BBeBX%9%?%$%k!&%7!<%H(B
535 <span class="weak">($BM%@h%9%?%$%k!&%7!<%H$r4^$_$^$9!#(B)</span></a>
536 $B$rL58z$K$7$^$9!#(B</dd>
537 </dl>
538
539 </div>
540 <div class="caption">$B%9%?%$%kA*Br$N(B
541 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span>
542 $B$NDj5A(B</div>
543 </div><!-- fig -->
544
545
546 <div class="fig" id="XPOINTER-SCHEME-TITLE">
547 <div class="fig-body">
548
549 <dl class="xpointer-scheme-definition">
550 <dt>$BL>A06u4VL>(B</dt>
551 <dd><code class="uri">&lt;<a href="http://suika.fam.cx/~wakaba/archive/2005/3/window/">http://suika.fam.cx/~wakaba/archive/2005/3/window/</a>&gt;</code></dd>
552 <dt>$B6I=jL>(B</dt>
553 <dd><code>title</code></dd>
554 <dt><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">$B%G!<%?(B</a>$B$N9=J8(B
555 (<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-EscapedData">$BF(Hr(B</a>$B$rLa$9A0(B)</dt>
556 <dd><code class="ABNF"><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">SchemeData</a></code></dd>
557 <dt>$B<1JL$9$kItJ,;q8;(B</dt>
558 <dd>$B$J$7(B</dd>
559 <dt>$BI{:nMQ(B</dt>
560 <dd><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">$B%G!<%?(B</a>$B$H$7$F;XDj$5$l$?J8;zNs(B
561 <span class="weak">(0$BJ8;z0J>e$NG$0U$NJ8;z$NNs(B)</span>
562 $B$rJ8=q$NBj$H$7$F;HMQ$9$k!#(B</dd>
563 <dt>$B0BA4@-$K$D$$$F(B</dt>
564 <dd>$BB>$N<jCJ$H$"$o$;$F0-MQ$5$l$k6s$,$"$j!"Cm0U$,I,MW$G$9!#(B</dd>
565 </dl>
566
567 </div>
568 <div class="caption">$BBj$rJQ99$9$k(B
569 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span>
570 $B$NDj5A(B</div>
571 </div><!-- fig -->
572
573
574 <div class="fig" id="XPOINTER-SCHEME-DOCUMENT">
575 <div class="fig-body">
576
577 <dl class="xpointer-scheme-definition">
578 <dt>$BL>A06u4VL>(B</dt>
579 <dd><code class="uri">&lt;<a href="http://suika.fam.cx/~wakaba/archive/2005/3/xpointer/">http://suika.fam.cx/~wakaba/archive/2005/3/xpointer/</a>&gt;</code></dd>
580 <dt>$B6I=jL>(B</dt>
581 <dd><code>document</code></dd>
582 <dt><a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-SchemeData">$B%G!<%?(B</a>$B$N9=J8(B
583 (<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#NT-EscapedData">$BF(Hr(B</a>$B$rLa$9A0(B)</dt>
584 <dd>$B>o$K6uJ8;zNs(B</dd>
585 <dt>$B<1JL$9$kItJ,;q8;(B</dt>
586 <dd>$BJ8=qA4BN(B</dd>
587 <dt>$BI{:nMQ(B</dt>
588 <dd>$B$J$7(B</dd>
589 <dt>$B%a%b(B</dt>
590 <dd>$BB>$N(B
591 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme"><span lang="en" xml:lang="en">scheme</span></a>
592 $B$NI{:nMQ$rMxMQ$7$?8e$GFC$KItJ,;q8;$r<1JL$7$J$$;~$K!"(B
593 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointer">$B;X<(;R(B</a>$BA4BN$,<:GT$H$J$i$J$$$h$&$KMxMQ$G$-$^$9!#(B</dd>
594 </dl>
595
596 </div>
597 <div class="caption">$B>o$KJ8=q$rA*Br$9$k(B
598 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> <span lang="en" xml:lang="en">scheme</span>
599 $B$NDj5A(B</div>
600 </div><!-- fig -->
601
602 </div><!-- #EXAMPLE-STYLECHANGE -->
603
604 </div><!-- #EXAMPLE -->
605
606 <div class="section" id="SEMANTICS">
607 <h2>$BAGJR<1JL;R$H(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> $B$N0UL#O@$K4X$7$F(B</h2>
608
609 <p>
610 <abbr lang="en" xml:lang="en" title="Uniform Resource Identifier">URI</abbr>
611 $B$NAGJR<1JL;R$O;q8;$N0lItJ,$d8+$(J}$r<1JL$7$^$9(B
612 <cite class="bibref">[<a href="#QUOTE-RFC3986" lang="en" xml:lang="en"><abbr
613 title="Request for Comments">RFC</abbr> 3986</a>]</cite>$B!#(B
614 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme" lang="en" xml:lang="en"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
615 scheme</a>
616 $B$O$[$H$s$I$I$s$J;X<($G$bM?$($k$3$H$,$G$-$^$9$,!"(B
617 $B$3$N0UL#$+$i0oC&$7$J$$HO0O$K$H$I$a$k$Y$-$G$9!#(B
618 </p>
619
620 <div class="fig quote" id="QUOTE-RFC3986">
621 <div class="fig-body">
622 <blockquote cite="urn:ietf:rfc:3986" lang="en" xml:lang="en">
623 <p>The fragment identifier component of a URI allows indirect
624 identification of a secondary resource by reference to a primary
625 resource and additional identifying information. The identified
626 secondary resource may be some portion or subset of the primary
627 resource, some view on representations of the primary resource, or
628 some other resource defined or described by those representations.</p>
629 </blockquote>
630 <div class="credit" lang="en" xml:lang="en"><abbr title="Request for Comments">RFC</abbr>
631 3986 <cite>Uniform Resource Identifier (URI): Generic Syntax</cite>
632 3.5. Fragment</div>
633 </div>
634 </div><!-- fig -->
635
636 <p>$B$^$?!"AGJR<1JL;R$N9=J8$O$=$N;q8;$NG^BN7?$K$h$C$FDj5A$5$l$k$3$H$K$J$C$F$$$^$9!#(B
637 $B;HMQ$9$kJ8=q$NG^BN7?$NDj5A$K$G$-$k$@$11h$C$?7A$GMxMQ$9$k$Y$-$G$9!#(B</p>
638
639 </div><!-- #SEMANTICS -->
640
641 <div class="section" id="SECURITY">
642 <h2>$B0BA4@-$K4X$7$F(B</h2>
643
644 <p>
645 <span lang="en" xml:lang="en">Web</span> $B%V%i%&%6$K$*$1$kI=<($J$I$r(B
646 <abbr lang="en" xml:lang="en" title="Uniform Resource Identifier">URI</abbr>
647 $B$N0lIt$K$h$j@)8f2DG=$H$9$k$H!"$J$j$9$^$7$J$I$K0-MQ$5$l$k4m81@-$,$"$j$^$9!#(B
648 <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-scheme" lang="en" xml:lang="en"><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
649 scheme</a> $B$N@_7W$O?5=E$K9T$&$Y$-$G$9!#(B
650 </p>
651 </div><!-- #SECURITY -->
652
653 <div class="section" id="RESTRICTIONS">
654 <h2>$B@)8B;v9`(B</h2>
655
656 <ul>
657 <li>
658 <abbr xml:lang="en" lang="en" title="Hypertext Markup Language">HTML</abbr> $B$d(B
659 <abbr lang="en" xml:lang="en" title="Extensible Markup Language">XML</abbr>
660 $B$NJ8=q$G(B <span lang="en" xml:lang="en">Web</span> $B%V%i%&%6$rDL$7$FMxMQ$9$k>l9g!"(B
661 <a href="#EXAMPLE-STYLECHANGE">$B%9%?%$%k!&%7!<%H$NNc(B</a>$B$G9T$C$F$$$k$h$&$K!"(B
662 $BJ8=q$NFI9~$_;~$J$I$KAGJR<1JL;R$r(B
663 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
664 $B$H$7$F2r<a$7$^$9!#$7$+$7!"0lEYJG$rFI$s$@8e!"(B
665 $BJGFb$N%j%s%/$r$?$I$C$?$j%V%i%&%6$N(B <abbr lang="en" xml:lang="en"
666 title="Uniform Resource Identifier">URI</abbr> $BMs$+$iD>@\AGJR<1JL;R$@$1=$@5$7$?$j$7$F$b!"(B
667 $BJ8=q$N:FFI9~$_$,5/$3$i$J$$$H(B
668 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
669 $B$N:F2r<a$O9T$o$l$^$;$s!#JGFb%j%s%/$N>l9g$O(B<a href="#EXAMPLE-STYLECHANGE">$B%9%?%$%k!&%7!<%H$NNc(B</a>$B$N$h$&$K%j%s%/$r$?$I$k:]$K%9%/%j%W%H$r<B9T$9$k$3$H$G2sHr$G$-$^$9$,!"(B
670 $B%V%i%&%6$N(B <abbr lang="en" xml:lang="en"
671 title="Uniform Resource Identifier">URI</abbr> $BMs$dMzNr$N0\F0$KBP=h$9$k$h$$J}K!$O$$$^$N$H$3$m$"$j$^$;$s!#(B
672 <span class="weak">(<code class="JS" lang="en" xml:lang="en">setTimeout</code>
673 $B$GDj4|E*$K3NG'$9$l$P2r7h$G$-$k$G$7$g$&$,(B...)</span>
674 </li>
675 <li>
676 $B8=:_$N<BAu$O(B
677 <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr>
678 $B$N2r<a$,@53N$G$O$"$j$^$;$s!#(B
679 <a href="http://www.w3.org/TR/REC-xml-names/#NT-NCName">$BL>A0J8;z(B</a>$B$N8!::$,87L)$G$O$J$$$N$G!"(B
680 $BK\MhG'$a$i$l$k$Y$-$G$O$J$$$b$N$,(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-error">$B8m$j(B</a>$B$K$J$i$J$$$3$H$,$"$j$^$9!#(B
681 $B$^$?!"@55,I=8=$r;H$C$F<BAu$7$F$$$k$N$G!"3g8L$NF~$l;R$K40A4$K$OBP=h$G$-$^$;$s!#(B
682 $B8=:_$N<BAu$G$O;0=E(B <span class="weak">($BA4BN$G;M=E(B)</span>
683 $B$NF~$l;R$^$G$7$+@5$7$/07$($^$;$s!#$^$?!"ESCf$N(B<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#dt-pointerpart">$B;X<(;RItJ,(B</a>$B$^$G2r<a$7$FItJ,;q8;$,<1JL$5$l$l$P!"(B
684 $B;D$j$NItJ,$NI>2A$O9T$o$J$$$N$G!"9=J8$,@5$7$$$3$H$bD4$Y$^$;$s!#(B
685 </li>
686 </ul>
687 </div><!-- #RESTRICTIONS -->
688
689 <div class="section" id="FILES">
690 <h2 lang="en" xml:lang="en">$B4XO"%U%!%$%k(B</h2>
691
692 <p><a href="./">$B$3$N3,AX(B</a>$B$K$"$k%U%!%$%k$,4XO"$9$k<BAu$d;HMQNc$G$9!#(B</p>
693 <p>$B3F%U%!%$%k$O(B <a href="http://suika.fam.cx/gate/cvs/www/2005/xpointer-js/"
694 ><abbr lang="en" xml:lang="en"
695 title="Concurrent Versions System">CVS</abbr>
696 $B$GHG4IM}$7$F$$$^$9(B</a>$B!#(B</p>
697 </div>
698
699 <div class="section" id="LICENSE">
700 <h2 lang="en" xml:lang="en">License</h2>
701
702 <p><a href="#FILES">$B4XO"$9$k%U%!%$%k(B</a>$B$O(B
703 <q lang="en" xml:lang="en">Perl/MPL 1.1/GPL 2.0/LGPL 2.1</q>
704 $B$GG[I[$7$F$$$^$9!#>\$7$/$O3F%U%!%$%k$NCm<a$r$4Mw2<$5$$!#(B</p>
705 </div>
706
707 <div class="section" id="RELATED">
708 <h2>$B4XO"$9$k;q8;(B</h2>
709
710 <dl>
711 <dt><a href="http://suika.fam.cx/gate/2005/sw/xpointer.js" lang="en"
712 xml:lang="en">xpointer.js</a> <span class="weak">(<a
713 href="http://suika.fam.cx/gate/2005/sw/">SuikaWiki</a>)</span></dt>
714 <dd>$B$40U8+(B, $BIT6q9g>pJsEy$O$3$A$i$^$G$*4j$$$7$^$9!#(B</dd>
715 <dt><a href="http://suika.fam.cx/gate/2005/sw/XPointer/API" lang="en"
716 xml:lang="en">XPointer//API</a> <span class="weak">(<a
717 href="http://suika.fam.cx/gate/2005/sw/">SuikaWiki</a>)</span></dt>
718 <dd><abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> $B$r07$&$?$a$N3&LL$K$D$$$F$NOCBj$r07$C$F$$$^$9!#(B</dd>
719 <dt><a href="http://www.mozdev.org/source/browse/annozilla/src/content/annozilla/xpointer.js"
720 lang="en" xml:lang="en">CVS log for annozilla/src/content/annozilla/xpointer.js</a></dt>
721 <dd>$B8E$$HG$N(B <a href="http://annozilla.mozdev.org/" lang="en"
722 xml:lang="en">Annozilla</a> $B$OFH<+$N(B <span lang="en"
723 xml:lang="en">ad hoc</span> $B$J(B <abbr xml:lang="en" lang="en" title="XML Pointer Language">XPointer</abbr> $B$N(B <span xml:lang="en" lang="en">JavaScript</span>
724 $B$K$h$k<BAu$r9T$C$F$$$^$7$?!#(B ($B8=:_$O(B <a lang="en" xml:lang="en"
725 href="http://xpointerlib.mozdev.org/">XPointerLib</a>
726 $B$r;HMQ$7$F$$$k$h$&$G$9!#(B)</dd>
727 <dt><a href="http://ma.la/mirrorman/wiki.cgi/location.hash"><code class="JS" lang="en"
728 xml:lang="en">location.hash</code>
729 $B$r;H$C$?%;%C%7%g%sI|854XO"!#(B</a></dt>
730 <dd>$BAGJR<1JL;R$K(B <span lang="en" xml:lang="en">Web</span>
731 $BJG$N%;%C%7%g%s4XO"$N>pJs$rJ]B8$7$h$&$H$$$&;n$_$G$9!#(B</dd>
732 </dl>
733 </div><!-- #RELATED -->
734
735
736 <div class="footer">
737 <div class="navigation">
738 [<a href="/">/</a> <a href="/www/" lang="en" xml:lang="en">Web</a>]
739 </div>
740 <div class="update" lang="en" xml:lang="en">$Date: 2005/03/13 10:43:22 $</div>
741 </div>
742 </body>
743 </html>
744
745 <!-- Revision: $Date: 2005/03/13 10:43:22 $ -->
746
747 <!-- ***** BEGIN LICENSE BLOCK *****
748 - Copyright 2005 Wakaba <w@suika.fam.cx>. All rights reserved.
749 -
750 - This program is free software; you can redistribute it and/or
751 - modify it under the same terms as Perl itself.
752 -
753 - Alternatively, the contents of this file may be used
754 - under the following terms (the "MPL/GPL/LGPL"),
755 - in which case the provisions of the MPL/GPL/LGPL are applicable instead
756 - of those above. If you wish to allow use of your version of this file only
757 - under the terms of the MPL/GPL/LGPL, and not to allow others to
758 - use your version of this file under the terms of the Perl, indicate your
759 - decision by deleting the provisions above and replace them with the notice
760 - and other provisions required by the MPL/GPL/LGPL. If you do not delete
761 - the provisions above, a recipient may use your version of this file under
762 - the terms of any one of the Perl or the MPL/GPL/LGPL.
763 -
764 - "MPL/GPL/LGPL":
765 -
766 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
767 -
768 - The contents of this file are subject to the Mozilla Public License Version
769 - 1.1 (the "License"); you may not use this file except in compliance with
770 - the License. You may obtain a copy of the License at
771 - <http://www.mozilla.org/MPL/>
772 -
773 - Software distributed under the License is distributed on an "AS IS" basis,
774 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
775 - for the specific language governing rights and limitations under the
776 - License.
777 -
778 - The Original Code is xpointer-js code.
779 -
780 - The Initial Developer of the Original Code is Wakaba.
781 - Portions created by the Initial Developer are Copyright (C) 2005
782 - the Initial Developer. All Rights Reserved.
783 -
784 - Contributor(s):
785 - Wakaba <w@suika.fam.cx>
786 -
787 - Alternatively, the contents of this file may be used under the terms of
788 - either the GNU General Public License Version 2 or later (the "GPL"), or
789 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
790 - in which case the provisions of the GPL or the LGPL are applicable instead
791 - of those above. If you wish to allow use of your version of this file only
792 - under the terms of either the GPL or the LGPL, and not to allow others to
793 - use your version of this file under the terms of the MPL, indicate your
794 - decision by deleting the provisions above and replace them with the notice
795 - and other provisions required by the LGPL or the GPL. If you do not delete
796 - the provisions above, a recipient may use your version of this file under
797 - the terms of any one of the MPL, the GPL or the LGPL.
798 -
799 - ***** END LICENSE BLOCK ***** -->

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24