/[suikacvs]/markup/hlink/example/xhtml1-hlink.xml
Suika

Contents of /markup/hlink/example/xhtml1-hlink.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Jul 6 23:59:38 2003 UTC (20 years, 10 months ago) by w
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/xml
2003-02-28 09:49 version

1 <?xml version="1.0" encoding="us-ascii"?>
2 <!DOCTYPE hlinks PUBLIC "+//IDN suika.fam.cx//DTD Extended HLink 20030228//EN"
3 "http://niigata.cool.ne.jp/wakaba2001/temp/hlink/hlink-ext.dtd" [
4 <!ENTITY % xHLink.prefix "x">
5 <!ENTITY % xHLink.xmlns.extra.attrib
6 "xmlns:h CDATA #FIXED 'http://www.w3.org/1999/xhtml'">
7 <!ENTITY x.effect.of.secondary.links "replace">
8 ]>
9 <hlinks xmlns="http://www.w3.org/2002/06/hlink"
10 xmlns:x="urn:x-suika-fam-cx:markup:hlink:extension"
11 xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
12 xmlns:h="http://www.w3.org/1999/xhtml">
13 <!-- Replacing Hyperlinks -->
14 <!-- xhtml1:a -->
15 <hlink namespace="http://www.w3.org/1999/xhtml" element="a"
16 locator="@href" effect="replace" actuate="onRequest"
17 replacement="@target" role="@rel" reverseRole="@rev"
18 mediaType="@type" shape="@shape" coords="@coords">
19 <x:target>
20 <x:locators node="@href"/>
21 <x:langs node="@hreflang"/>
22 <x:mediaTypes node="@type"/>
23 <x:charsets node="@charset"/>
24 </x:target>
25 <x:replacement node="@target"/>
26 <x:role node="@rel"/>
27 <x:reverseRole node="@rev"/>
28 <x:shape node="@shape"/>
29 <x:coords node="@coords"/>
30 </hlink>
31 <!-- xhtml1:link -->
32 <hlink namespace="http://www.w3.org/1999/xhtml" element="link"
33 locator="@href" effect="replace" actuate="onRequest"
34 replacement="@target" role="@rel" reverseRole="@rev"
35 mediaType="@type">
36 <x:target>
37 <x:locators node="@href"/>
38 <x:langs node="@hreflang"/>
39 <x:mediaTypes node="@type"/>
40 <x:mediaDesc node="@media"/>
41 <x:charsets node="@charset"/>
42 </x:target>
43 <x:replacement node="@target"/>
44 <x:role node="@rel"/>
45 <x:reverseRole node="@rev"/>
46 </hlink>
47 <!-- Embeding Hyperlinks -->
48 <!-- xhtml1:img -->
49 <hlink namespace="http://www.w3.org/1999/xhtml" element="img"
50 locator="@src" effect="embed" actuate="onLoad"
51 onFailure="warn">
52 <x:target>
53 <x:locators node="@src"/>
54 </x:target>
55 <x:onFailure node="@alt"/>
56 </hlink>
57 <hlink namespace="http://www.w3.org/1999/xhtml" element="img"
58 locator="@longdesc" effect="&x.effect.of.secondary.links;"
59 actuate="onRequestSecondary">
60 <x:target>
61 <x:locators node="@longdesc"/>
62 </x:target>
63 </hlink>
64 <hlink namespace="http://www.w3.org/1999/xhtml" element="img"
65 locator="@usemap" effect="map" actuate="onLoad">
66 <x:target>
67 <x:locators node="@usemap"/>
68 </x:target>
69 </hlink>
70 <!-- xhtml1:object -->
71 <hlink namespace="http://www.w3.org/1999/xhtml" element="object"
72 locator="@data" effect="embed" actuate="onLoad"
73 onFailure="processChildren" onSuccess="ignoreChildren"
74 mediaType="@type">
75 <x:target>
76 <x:locators node="@data"/>
77 <x:mediaTypes node="@type"/>
78 </x:target>
79 <x:onFailure node="self"/>
80 <x:loading node="@standby"/>
81 </hlink>
82 <hlink namespace="http://www.w3.org/1999/xhtml" element="object"
83 locator="@classid" effect="embed" actuate="onLoad"
84 onFailure="processChildren" onSuccess="ignoreChildren"
85 mediaType="@codetype">
86 <x:target>
87 <x:locators node="@classid"/>
88 <x:mediaTypes node="@codetype"/>
89 </x:target>
90 <x:onFailure node="self"/>
91 <x:loading node="@standby"/>
92 </hlink>
93 <hlink namespace="http://www.w3.org/1999/xhtml" element="object"
94 effect="embed" actuate="onLoad">
95 <x:target>
96 <x:locators node="@archive" type="space-separeted"/>
97 </x:target>
98 </hlink>
99 <hlink namespace="http://www.w3.org/1999/xhtml" element="object"
100 locator="@usemap" effect="map" actuate="onLoad">
101 <x:target>
102 <x:locators node="@usemap"/>
103 </x:target>
104 </hlink>
105 <hlink namespace="http://www.w3.org/1999/xhtml" element="param"
106 locator="@value" effect="&x.effect.of.secondary.links;"
107 actuate="onRequestSecondary"
108 mediaType="@type">
109 <xslt:if test="@valuetype='ref'">
110 <x:target>
111 <x:locators node="@value"/>
112 <x:mediaTypes node="@type"/>
113 </x:target>
114 </xslt:if>
115 </hlink>
116 <!-- xhtml1:script -->
117 <hlink namespace="http://www.w3.org/1999/xhtml" element="script"
118 locator="@src" effect="embed" actuate="onLoad"
119 onFailure="ignoreChildren" onSuccess="ignoreChildren">
120 <x:target>
121 <x:locators node="@src"/>
122 </x:target>
123 </hlink>
124 <!-- xhtml1:applet -->
125 <!-- Form submitting -->
126 <!-- xhtml1:input[@type='submit' or @type='image'] -->
127 <hlink namespace="http://www.w3.org/1999/xhtml" element="input"
128 effect="submit" actuate="onRequest">
129 <xslt:if test="@type='submit' or @type='image'">
130 <x:target>
131 <x:locators node="ancestor::h:form/@action"/>
132 </x:target>
133 <x:replacement node="ancestor::h:form/@target"/>
134 </xslt:if>
135 </hlink>
136 <hlink namespace="http://www.w3.org/1999/xhtml" element="input"
137 locator="@src" effect="embed" actuate="onLoad"
138 onFailure="warn">
139 <xslt:if test="@type='image'">
140 <x:target>
141 <x:locators node="@src"/>
142 </x:target>
143 <x:onFailure node="@alt"/>
144 </xslt:if>
145 </hlink>
146 <hlink namespace="http://www.w3.org/1999/xhtml" element="input"
147 locator="@usemap" effect="map" actuate="onLoad">
148 <xslt:if test="@type='image'">
149 <x:target>
150 <x:locators node="@usemap"/>
151 </x:target>
152 </xslt:if>
153 </hlink>
154 <!-- xhtml1:button -->
155 <hlink namespace="http://www.w3.org/1999/xhtml" element="button"
156 effect="submit" actuate="onRequest">
157 <xslt:if test="@type='submit'">
158 <x:target>
159 <x:locators node="ancestor::h:form/@action"/>
160 </x:target>
161 <x:replacement node="ancestor::h:form/@target"/>
162 </xslt:if>
163 </hlink>
164 <!-- Map -->
165 <!-- xhtml1:area -->
166 <hlink namespace="http://www.w3.org/1999/xhtml" element="area"
167 locator="@href" effect="replace" actuate="onRequest"
168 replacement="@target" shape="@shape" coords="@coords">
169 <x:target>
170 <x:locators node="@href"/>
171 </x:target>
172 <x:replacement node="@target"/>
173 <x:shape node="@shape"/>
174 <x:coords node="@coords"/>
175 <x:onFailure node="@alt"/>
176 </hlink>
177 <!-- Informational Hyperlinks -->
178 <!-- xhtml1:blockquote -->
179 <hlink namespace="http://www.w3.org/1999/xhtml" element="blockquote"
180 locator="@cite" effect="&x.effect.of.secondary.links;"
181 actuate="onRequestSecondary">
182 <x:target>
183 <x:locators node="@cite"/>
184 </x:target>
185 </hlink>
186 <!-- xhtml1:q -->
187 <hlink namespace="http://www.w3.org/1999/xhtml" element="q"
188 locator="@cite" effect="&x.effect.of.secondary.links;"
189 actuate="onRequestSecondary">
190 <x:target>
191 <x:locators node="@cite"/>
192 </x:target>
193 </hlink>
194 <!-- xhtml1:head -->
195 <hlink namespace="http://www.w3.org/1999/xhtml" element="head"
196 effect="&x.effect.of.secondary.links;"
197 actuate="onRequestSecondary">
198 <x:target>
199 <x:locators node="@profile" type="space-separated"/>
200 </x:target>
201 </hlink>
202 <!-- Frames -->
203 <hlink namespace="http://www.w3.org/1999/xhtml" element="frame"
204 locator="@src" effect="embed" actuate="onLoad" onFailure="warn">
205 <x:target>
206 <x:locators node="@src"/>
207 </x:target>
208 </hlink>
209 <hlink namespace="http://www.w3.org/1999/xhtml" element="frame"
210 locator="@longdesc" effect="&x.effect.of.secondary.links;"
211 actuate="onRequestSecondary">
212 <x:target>
213 <x:locators node="@longdesc"/>
214 </x:target>
215 </hlink>
216 <hlink namespace="http://www.w3.org/1999/xhtml" element="iframe"
217 locator="@src" effect="embed" actuate="onLoad"
218 onFailure="processChildren" onSuccess="ignoreChildren">
219 <x:target>
220 <x:locators node="@src"/>
221 </x:target>
222 </hlink>
223 <hlink namespace="http://www.w3.org/1999/xhtml" element="iframe"
224 locator="@longdesc" effect="&x.effect.of.secondary.links;"
225 actuate="onRequestSecondary">
226 <x:target>
227 <x:locators node="@longdesc"/>
228 </x:target>
229 </hlink>
230 </hlinks>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24