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

Re: XLink and mixed vocabulary design


span href
robin.berjon@e... (Robin Berjon) writes:
>I've used generic XLinks to find out about dependencies between XML 
>documents in a variety of arbitrary vocabularies, and I've found it 
>useful. I'm not in love with XLink itself, but I'd rather have it than 
>nothing.

This feels like an argument from laziness, and I have a hard time
respecting it.  I think analyzing documents should mean learning the
vocabularies they use and how they use them.

>I remain fairly unconvinced, even if images are the one case that gets 
>closest to making sense. However to hop just one bump up from this 
>ultra-simple example, if I want to link an image and a bit of text, 
>would you recommend:
>
>   <img src='thumb.jpg' href='fullpicture.jpg'/>
>   <span href='fullpicture.jpg'>Simon's nice house</span>
>
>or
>
>   <a href='fullpicture.jpg'>
>     <img src='thumb.jpg'/> <span>Simon's nice house</span>
>   </a>
>
>? The former seems to me quite wasteful in its redundancy, implying in
>turn that you need anchors, and since <a> it hardly a huge waste of
>characters why not use it always? A "nice-to-have" shorthand that
>breaks down for anything but the simplest cases hardly seems to
>justify the dropping of a more powerful feature.

I don't have a strong opinion.  I think I'd prefer the former as I
sometimes want to have unlinked material between two places that link to
the same thing, but it hardly matters.  I'd certainly like to have the
option of the former, and not be stuck with the latter, which XLink
does.

>And even then, that could be made generic. There's no need for it to be 
>vocabulary specific.

This is really basic linking; I don't think you appreciate what a rich
set of possibilities is involved here.

>> Bad sex is not pretty good, IMHO.
>
>Still beats XHTML 2 linking though :p

I think we've had different life experiences.



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.