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 |
|
|
-moz-binding: url(hlink-xbl.xml#hlink);
|
30 |
|
|
}
|
31 |
|
|
fooml|anchor, fooml|page, fooml|home {
|
32 |
|
|
display: block;
|
33 |
|
|
color: orange;
|
34 |
|
|
}
|
35 |
|
|
]]></h:style>
|
36 |
|
|
<foo:anchor><anchor/></foo:anchor>
|
37 |
|
|
<foo:anchor href=""><anchor href=""/></foo:anchor>
|
38 |
|
|
<foo:anchor href="http://foo.example/"><anchor href="http://foo.example/"/></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>
|