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

XLink and mixed vocabulary design


xhtml2 xlink
I think I understand the idea behind the design of XLink. Here's an example
of how it breaks down.

Say, in XHTML2, you have a form label. <label>

Now, you want the content of the label to come from an out-of-document
source.

XLink : <label xlink:href="sometext.html" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad">...
XHTML2: <label src="sometext.html">...

Now, to the same element, you want to establish a conventional link, so that
users can "click" on it and navigate to another page.

XHTML2: <label src="sometext.html" href="gohere.html">...
XLink : ???

When combining vocabularies, the chances of something like this happening
increase exponentially. Refactoring (so that the above construct would use
two elements), or using complex links often is either not possible or too
much hassle when you simply want to combine two pre-defined vocabularies.

.micah

-----Original Message-----
From: DuCharme, Bob (LNG-CHO) [mailto:bob.ducharme@l...]
Sent: Wednesday, January 21, 2004 11:23 AM
To: XML Developer List
Subject: RE:  RDDL(2): new version up


>>Why does XLink have problems with mixed vocabularies?

>Because it uses a single attribute name (xlink:href) for multiple purposes.

The idea is that instead of using n different attributes for n purposes, one
attribute, href, is used to identify the URL and others
(http://www.w3.org/TR/xlink/#link-semantics) are used to identify the
purpose.

Bob

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.