ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Re: Can XLink be fixed?
by Lars Marius Garshol other posts by this author
Aug 21 2002 12:28PM messages near this date
Re: [xml-dev] Re: Can XLink be fixed? | Re: [xml-dev] Re: Can XLink be fixed?
* Simon St Laurent
| 
| I'm just not sure that there's much real benefit to using XLink.  

I think there can be, if you use it in the right way. The presence of
well-defined XLinks in your documents can be used to extract useful
information that may then be used in topic maps/RDF, but maintained as
part of the document rather than externally because that simplifies
maintenance. (Single place of update.)

For example, relationships like part X contains Y, module Z depends on
W, tool Q uses P, and so on can be reliably extracted from XLinks once
an application knows how to interpret the endpoints of the links.

XLink is very similar to the links of HyTime, and topic are basically
HyTime with very strong conventions for what the allowed endpoints for
links are. (Well, there's some additional stuff, but ignore that.) The
two (XLink and topic maps) have different uses, however. Since XLinks
have no contraints on the use of the endpoints you can embed them in
documents, but you then lose the precision of structure which topic
maps give you, but at the cost of no longer allowing document
embedding.

However, configure your XLink harvester correctly and you get to both
have the cake and eat it. (Hmmm. Sounds like there is a paper in this.)

Admittedly, you could do this without XLink (I have, many times), but
XLink makes it easier, and could perhaps even make it easier to
constrain, validate, and edit your links (at least if there were good
XLink tools around, which perhaps there may be one day, once people
figure out how to use it).

| On the one hand, sure it provides a generic means of indicating
| connections.  On the other, applications that do things like slap an
| xml:lang on the link element to indicate which language it's in are
| providing guidance about the nature of the link that goes beyond the
| role/arcrole info that XLink provides, and which could perhaps even
| contradict the best guess of a 'pure' XLink system.

This only apply if you use the unstructured parts of XLink, such as
the title attribute, which I don't think is a good idea. If you want
unstructured links, just create your own elements.
 
-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net > 
ISO SC34/WG3, OASIS GeoLang TC        <URL: http://www.garshol.priv.no > 


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:

Rick Jelliffe
Henry S. Thompson
Norman Walsh
Norman Walsh
Paul Prescod
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Robin Berjon
=?iso-8859-1?Q?Bill_de_h=D3ra?=
Simon St.Laurent
Paul Prescod
Simon St.Laurent
Robin Berjon
Simon St.Laurent
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
J. David Eisenberg
Norman Walsh
J. David Eisenberg
Robin Berjon
Norman Walsh
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Shane McCarron
Simon St.Laurent
Joe English
Norman Walsh
Simon St.Laurent
Keith W. Boone
Arjun Ray
Arjun Ray
Rick Jelliffe
Simon St.Laurent
Simon St.Laurent
Tim Bray
Simon St.Laurent
Tim Bray
Simon St.Laurent
Elliotte Rusty Harold
Simon St.Laurent
Lars Marius Garshol
Bob DuCharme
Elliotte Rusty Harold
Didier PH Martin
Elliotte Rusty Harold
Simon St.Laurent
Elliotte Rusty Harold
Norman Walsh
Tim Bray
Simon St.Laurent
Tim Bray
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Ann Navarro
Simon St.Laurent
Elliotte Rusty Harold
Simon St.Laurent
Simon St.Laurent
Elliotte Rusty Harold
Simon St.Laurent
John Cowan
Rick Jelliffe
Simon St.Laurent
John Cowan
Simon St.Laurent
John Cowan
Simon St.Laurent
Mike Champion
Didier PH Martin
John Cowan
Mike Champion
Simon St.Laurent
Norman Walsh
Tim Bray
Simon St.Laurent
Rick Jelliffe
Norman Walsh
Masayasu Ishikawa
John Cowan
Jeff Rafter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved