[
Lists Home |
Date Index |
Thread Index
]
Andrew Welch wrote:
> What is the current status of Xlink?
Well, it hasn't really taken off. Mozilla is making steps to support XLink and
XPointer [1], also xml:base [2][3]. Other browsers have largely neglected these,
to my knowledge. I have heard of a few players who are using XLink, but I can't
remember who they are at the moment. %^} John Simpson's /XPath and XPointer/
offers some worthwhile help. [4]
Mike
[1] http://www.mozilla.org/newlayout/xml/#linking
[2] http://www.w3.org/TR/xmlbase/
[3] http://www.mozilla.org/newlayout/xml/#other-general
[4] http://www.oreilly.com/catalog/xpathpointer/index.html
p.s. If this is any help, here is an example of simple links and xml:base that I
have lying around. It works in in Moz :
base.xml:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="base.css" type="text/css"?>
<links xml:base="http://www.xml.com/"
xmlns:xlink="http://www.w3.org/1999/xlink">
<heading>Resources on XML.com.</heading>
<block>Start here:
<link xlink:type="simple" xlink:href="index.csp">Home</link> </block>
<block>Topics:
<link xlink:type="simple" xlink:href="/programming/">Programming articles</link> :
<link xlink:type="simple" xlink:href="/schemas/">Schema articles</link> :
<link xlink:type="simple" xlink:href="/style/">Style articles</link>
</block>
<block xml:base="/images/">Logo for XML.com:
<link xlink:type="simple" xlink:href="logo_tagline.jpg">logo</link>
</block>
</links>
base.css:
/* CSS stylesheet for base.xml */
links {
font-family:sans-serif;
size-size: 12px
}
heading {
font-weight:bold;
font-size: 26px;
margin: 10px 10px 10px 10px
}
block {
display:block;
margin: 10px 10px 10px 15px
}
link:link,link:visited,link:active {
font-style: italic;
text-decoration: none;
color: black
}
link:hover {
background-color: skyblue;
text-decoration: underline
}
|