[
Lists Home |
Date Index |
Thread Index
]
At 5:45 PM -0400 8/15/02, Simon St.Laurent wrote:
><img>
> <src xlink:href="whatever.gif" />
> <longdesc xlink:href="item.txt" />
> <alt>This is alt text</alt>
></img>
>
>I'm not sure I feel confident, however, that it's the one and only
>correct answer. There's a layer in there which feels like it's
>somewhere between simple and complex links, and I don't think XLink has
>really described how the relationship between the img element and the
>child element simple links in src and longdesc might work.
>
It absolutely does not, because this is application layer markup. The
XLink syntax only defines the existence of a link between two
resources, the meaning and behavior of that link is a question for
the particular application and the local processing environment, and
this is how it's intended to be.
XLink cannot and should not attempt to define this. XHTML most
certainly should define the meaning of links within its domain. And
other applications will define the meaning and behavior of links
within theirs.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|