[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [Fwd: The problems with Xlink for integration langu ages]


xlink problems
[Jeni Tennison]

> But what if you
> had XSLT templates (or some other transformation technology)
> describing the mapping:
>
> <xsl:template match="xhtml:img">
>   <xhtml:img  xlink:type="extended">
>
>     <image xlink:type="resource" xlink:label="image">
>       <xsl:value-of select="@alt" />
>     </image>
>
>     <src xlink:href="{@src}" xlink:type="locator"
>          xlink:label="src" />
>     <go xlink:type="arc" xlink:from="image" xlink:to="src"
>         xlink:show="embed" xlink:actuate="onLoad" />
>
>     <longdesc xlink:href="{@longdesc}" xlink:type="locator"
>               xlink:label="longdesc" />
>     <go xlink:type="arc" xlink:from="image" xlink:to="longdesc"
>         xlink:show="new" xlink:actuate="other" />
>   </xhtml:img>
> </xsl:template>
>

With great respect to Jeni, I think that something has gotten lost here (I
do not mean in her example, just the whole discussion the way it has
developed).    If xhtml is supposed to be a replacement or follow-on to more
or less replace html,  then its hyperlinks MUST BE SIMPLE TO UNDERSTAND AND
USE.  Or at least, ordinary everyday hyperlinks must be.  Otherwise this new
facility will not get used, or it will be used wrongly and sour the majority
of web page developers on using it - back to html 4.0, at least it works and
we can understand it.

What is the simplest thing you could want to say in an (x)html document
about a hyperlink?  It seems to be "This attribute in this element (or kind
of element) means a hyperlink".  So start from there.  The whole idea of
different kinds of activation ("show","embed") is bound to be confusing, so
at the very least, its expression must be simple with defaulting to the
current behavior of an href.

If we cannot get to a **really simple** syntax to express these notions, one
that will be clear to most non-specialists and non-nerd html authors, we
better forget it right now.  And it should have few options and no
interactions between parts.  I know that this does not sound like a general
replacement for xlink, but I think it is what is needed for xhtml.

Does anyone else think like this, or is it just me?

Cheers,

Tom P



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.