Re: [WD XHTML 2.0 ] why not use xlink

Bill Daly <billdalynj@yahoo.com> wrote in
news:20020823153712.94290.qmail@web13005.mail.yahoo.com:

> If XHTML truly is an XML application, then it should
> be using the XML Linking mechanism instead of making
> one of its own.

See also the XML Accessibility Guidelines WD, section 2.3
<URL: http://www.w3.org/TR/xmlgl#cp2_3 >:

  2.3 Use the standard XML linking and pointing mechanisms
  (XLink and XPointer).

  XLink and XPointer have been reviewed for accessibility and
  provide known linking and pointing mechanisms.

  Techniques for 2.3

    Example. *Wrong*

    User Agents have no way of knowing this is a link.
    <mylink linkend="http://mysite/myfile.xml">
            Current list of references
    </mylink>

    Example: *Right*

    Links can be recognized reliably by XLink applications.
    <crossref xmlns:xlink="http://www.w3.org/1999/xlink"
              xlink:href="http://mysite/myfile.xml">
              Current list of references
    </crossref>

-- 
Karl Ove Hufthammer

Received on Friday, 23 August 2002 13:03:12 UTC