/[suikacvs]/markup/hlink/example/test-1.xml
Suika

Contents of /markup/hlink/example/test-1.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download) (as text)
Mon Jul 7 00:05:09 2003 UTC (21 years, 4 months ago) by w
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
File MIME type: text/xml
Modify fiel path

1 w 1.1 <?xml version="1.0" encoding="us-ascii"?>
2     <foo:root xmlns:foo="http://example.org/markup/foo"
3     xmlns:h="http://www.w3.org/1999/xhtml"
4     xml:lang="en">
5     <h:style type="application/x-hlink+xml">
6     <hlinks xmlns="http://www.w3.org/2002/06/hlink">
7     <hlink namespace="http://example.org/markup/foo" element="anchor"
8     locator="@href" effect="replace" actuate="onRequest"/>
9     <hlink namespace="http://example.org/markup/foo" element="page"
10     locator="@src" effect="embed" actuate="onLoad" mediaType="@type"/>
11     <hlink namespace="http://example.org/markup/foo" element="home"
12     locator="/" effect="replace" actuate="onRequest"/>
13     <hlink namespace="http://example.org/markup/foo" element="home"
14     locator="internal-gopher-menu" effect="embed" actuate="onLoad"
15     mediaType="image/png"/>
16     </hlinks>
17     </h:style>
18     <h:style type="text/css"><![CDATA[
19     @namespace fooml 'http://example.org/markup/foo';
20     @namespace xhtml1 'http://www.w3.org/1999/xhtml';
21     xhtml1|style {
22     display: none;
23     }
24     xhtml1|style[type="application/x-hlink+xml"] {
25     display: block;
26     max-width: 0; max-height: 0;
27     }
28     xhtml1|style[type="application/x-hlink+xml"] *|hlink {
29 w 1.3 -moz-binding: url(../implementation/hlink-xbl.xml#style-hlink);
30 w 1.1 }
31     fooml|anchor, fooml|page, fooml|home {
32     display: block;
33     color: orange;
34     }
35     ]]></h:style>
36     <foo:anchor>&lt;anchor/&gt;</foo:anchor>
37     <foo:anchor href="">&lt;anchor href=""/&gt;</foo:anchor>
38     <foo:anchor href="http://foo.example/">&lt;anchor href="http://foo.example/"/&gt;</foo:anchor>
39    
40     <foo:page src="about:mozilla" type="text/html">Alternate Content</foo:page>
41     <foo:page src="data:application/octet-stream,foo"
42     type="application/octet-stream">Alternate Content</foo:page>
43    
44     <foo:home/>
45     </foo:root>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24