Xlink Isn't Dead
24 answers - 2703 bytes -

Hi.
As far as I understand it, topic maps match what you describe below in
significant ways.
It would allow for the dynamic merging you describe in the first
paragraph (quoted below), though at this time the implementations lag
far behind those in the relational world in terms of maturity and
standardization.
From your second paragraph (below) topic maps use hierarchical documents
to represent graph structures as you describe. In the topic maps
paradigm you wouldn't usually "reference [an] embedded relationship
graph from the primary document" unless I misunderstand your meaning in
this.
The third paragraph could be describing topic maps verbatim if you cut
off everything from the first mention of css onward.
>Nathan
the database side we store our relationships in a graph structures
(which I've talked about on the list at times). At the moment we end
up dynamically creating separate documents that summarise our
relationships on a document context by document context basis. Any
given final result document ends up getting created dynamically (via
XSLT) to reflect the merging of some initial document with some set of
discovered links. From our side of the world this meets many of the
requirements you list, however, it is pretty much useless across
multiple domains.
I could see creating a standard that encapsulates the essentials of
this approach. In particular, using the hierarchical structure of XML
to create document sections that give relationships with graph
structures being reflected via multiple such hierarchies. Existing
mechanisms could then reference this embedded relationship graph from
the primary document. In our case we use element names and name spaces
to match up the relationships with the document nodes which allows for
many to many relationship mapping but also leaves some room for
ambiguity.
If I was going to go whole hog on this approach I'd probably end up
with some document format that allowed for multiple document roots
with each root level having some content type declaration. This way
one could ship a single data instance containing well separated
sections containing the primary document, the relationship graphs, any
CSS, any XSLT, etc. I'd probably use MIME type section identifiers
instead of PI type identifiers so that things like the CSS and (ahem)
binary XML could be easily packaged up, so this isn't so much an XML
2.0 as it is a HTTP 3.0 data envelope, but I digress as this has only
a little to do with the problem at hand
No.1 | | 1471 bytes |
| 
Hi,
Le vendredi 22 septembre 2006 11:09 -0700, Nathan Young -X (natyoung -
Artizen at Cisco) a :
Hi.
As far as I understand it, topic maps match what you describe below in
significant ways.
Topic Maps are often mentioned as a XLink success story and that's the
second time they are coming quoted in this thread and that'll give me
the opportunity to express a point that's been bothering me for a while.
I am not really a Topic Maps expert and most of what I know about Topic
Maps has been acquired sitting in discussions between RDF and TM geeks.
of the thing which kept popping up is that TM are about defining
links with multiple arcs and this is the domain of extended XLinks.
However, XTM has chosen, for the sake of simplicity, to use simple links
rather than extended links.
As far as I remember, the XLink recommendation sees the other way round
and sees simple links as a specific case of extended links
Using XLink to simulate extended links with a bunch of simple links
looks to me like saying: "K; we'll take the syntax so that we can say
we are compliant but we'll attach a slightly different meaning".
If I am right, XTM can hardly pretend to be using XLink :)
TH, if I am wrong, the XLink recommendation should better have defined
simple links only and explained how extended links can be built from
simple links.
Eric
No.2 | | 1762 bytes |
| 
9/22/06, Nathan Young -X (natyoung - Artizen at Cisco)
<natyoung (AT) cisco (DOT) comwrote:
Hi.
As far as I understand it, topic maps match what you describe below in
significant ways.
Yes, Topic Maps are probably a good match up for some of it. However,
we keep looking at topic maps as more of a higher level tool for
analysis rather than at the inner working level. That may just be due
to a lack of experience with the technology
It would allow for the dynamic merging you describe in the first
paragraph (quoted below), though at this time the implementations lag
far behind those in the relational world in terms of maturity and
standardization.
That sort of confirms my comment above; we really do need a solid and
efficient mechanisms for managing this all. Perhaps it will come in
time?
From your second paragraph (below) topic maps use hierarchical documents
to represent graph structures as you describe. In the topic maps
paradigm you wouldn't usually "reference [an] embedded relationship
graph from the primary document" unless I misunderstand your meaning in
this.
No, we don't really do that explicitly either: the discovery of link
relationships is done by the mapping of the relationship documents to
the primary document by an external process (XSLT in our case)
The third paragraph could be describing topic maps verbatim if you cut
off everything from the first mention of css onward.
And that's the point where the discussion veers away from linking and
into transport and presentation, though that's an important part of
the whole package if you want to have the thing gain traction at all
levels
No.3 | | 2027 bytes |
| 
Fri, September 22, 2006 2:09 pm, Nathan Young -X \(natyoung - Artizen
at Cisco\) wrote:
As far as I understand it, topic maps match what you describe below in
significant ways.
All right, you asked for it: if a link is a specific relationship between
two identifiable resources relationship that can be implemented with a
hypertext link or with whatever rendering a given medium is capable
of we want to express that link in such a way that the link itself
can have its own metadata, then RDF can do this quite well. It's
particularly good at out-of-line links (and RDF/XML is particularly bad at
inline links).
I'm only half serious, but I do think that RDF and Topic Maps played a
serious role in XLink's failure, which was mostly due to the lack of a
community that was excited about XLink enough to implement and promote it
(We all know that a spec doesn't have to be good to have such a community
built around it.) People interested in building applications on top of
device-independent methods for expressing information relationships hopped
on the RDF and Topic Map trains, and the XLink train sat in the station
waiting for more passengers than the XBRL folk.
I wrote an article summarizing XLink's lack of success in XML.com over
four years ago (). While I
was embarrassed when Tony Coates pointed out that I had failed to mention
XBRL, a very successful project that uses a lot of XLink, that was about
it. I don't see how things have changed since then, outside of XBRL's own
growth.
Bob
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.4 | | 2856 bytes |
| 
(In which I display that I'm a philistine.)
I keep reading people talking about things like "ontologies" and
"graph structures" and "relationship semantics" and I have to confess
that it all starts to meld into "bleah bleah bleah."
I'm sure these are important issues. But at the end of the day, I
want to know why I can't take this:
<link location="http://www.prodigal.ca">This is a link</link>
and style it as a link in a web browser. I want to know why I can't
model behavior and display like <imgand <aand <objectin plain
XML without resorting to XHTML tags. I want to know why I can't
repurpose a link's behavior for different display situations.
I want to know why I can't leverage the power evident in XLink's
concepts via CSS and XSL-F!
Some people have said that link behavior doesn't belong in
stylesheets and that I'm missing the point. They point to the
semantics of modelling relationships, and claim that simple document
transformation will give me what I want.
Except that XSL-F doesn't support anything beyond unidirectional,
simple links. CSS won't allow me to render any tag I want as a link,
and the link styling is does do is also unidirectional and simple.
I'm betraying my Web focus, certainly, but I really, really want to
see powerful links in browsers. I really don't want to have to code a
few dozen lines of Javascript everytime I want to display something
beyond a single-ended, one-way link. I don't want to have to code
dropdown menus in some scripting language. I want to be able to click
on a link in a webpage and see multiple link ends, to and from the
content. I want to be able to build one document from various
fragments, automatically, without having to use the include features
of some scripting language, or some on-the-fly XSLT transformation.
You can talk about semantics and ontologies and all the stuff that
has been spinning the wheels of the *ML communities for the last
twenty years, but until I can render any generic XML with the power
of an XLink, then I'm not interested.
So far, I haven't heard any cogent arguments for why the CSS and
XSL-F people shouldn't be do a lot more with link rendering than they have.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.5 | | 1496 bytes |
| 
9/23/06, Ben Trafford <ben (AT) prodigal (DOT) cawrote:
You can talk about semantics and ontologies and all the stuff that
has been spinning the wheels of the *ML communities for the last
twenty years, but until I can render any generic XML with the power
of an XLink, then I'm not interested.
"I don't care about semantics; I only care about meaning!"
are data models (mostly used as systems of logic inference)
that uses linking as _part_ of it. Linking by itself means very
little, in HTML, XML or otherwise. I suspect this debate is once again
about the balance in XML between data and the application of such. As
Key says, what *is* the difference between <element xlink:href=""
/and <element arbitrary-one-way-link="" /in XML in isolation?
Nothing at all. It's *all* about the application of such, even in
XHTML where it means *nothing* until the browser application use the
data for something.
In the worlds of "semantics" and "ontologies" there are defined rules
for what the application mean (you can say that an ontology is a meta
data model; a data model that has implied semantics). It sounds like
you want there to be more generic application specific things in XML,
not less. I'm of the "less" opinion, but only because, well, I'm in
the ontologies camp. :)
You can use <generic_xml_element xhtml:href="" />, though, and play
with that namespace.
Alex
No.6 | | 2084 bytes |
| 
Hiya,
9/23/06, Bob DuCharme <bob (AT) snee (DOT) comwrote:
All right, you asked for it: if a link is a specific relationship between
two identifiable resources relationship that can be implemented with a
hypertext link or with whatever rendering a given medium is capable
of we want to express that link in such a way that the link itself
can have its own metadata, then RDF can do this quite well. It's
particularly good at out-of-line links (and RDF/XML is particularly bad at
inline links).
The key here is where you put the context. To find the context of the
resource in question we need to find that resources place in the
linked-to document, and this is where RDF and Topic Maps are very
different, because we're coming into the realm of merging
domain-views, something Topic Maps were designed to do out of the box
but which XLink nor RDF do well.
I'm only half serious, but I do think that RDF and Topic Maps played a
serious role in XLink's failure
Interestingly, I explored Xlink deeper because I got into Topic Maps
, which was mostly due to the lack of a
community that was excited about XLink enough to implement and promote it.
My biggest problem with Xlink were the reclarifications of something
we all knew from HTML. Why impose a whole standard for linking when
most people would be happy as larry with xml:href or instead just used
xhtml:href? 80/20 :)
(We all know that a spec doesn't have to be good to have such a community
built around it.) People interested in building applications on top of
device-independent methods for expressing information relationships hopped
on the RDF and Topic Map trains, and the XLink train sat in the station
waiting for more passengers than the XBRL folk.
The Topic Maps train has just left the station, while the RDF train
has come back 10 times to pick up more people, even if the service on
the RDF train is reputed to be bad. Crowds think strange, indeed. :)
Alex
No.7 | | 1797 bytes |
| 
At 07:17 PM 9/22/2006, Alexander Johannesen wrote:
>"I don't care about semantics; I only care about meaning!"
That's actually not what I was saying, at all.
are data models (mostly used as systems of logic inference)
I know what ontologies are. I just think that they represent
the briar patch.
>that uses linking as _part_ of it. Linking by itself means very
>little, in HTML, XML or otherwise. I suspect this debate is once again
Are you using "means" in the ontological sense? As in, the
presence of link doesn't define what that link means?
>Nothing at all. It's *all* about the application of such, even in
>XHTML where it means *nothing* until the browser application use the
>data for something.
Then we're in agreement.
>It sounds like
>you want there to be more generic application specific things in XML,
>not less. I'm of the "less" opinion, but only because, well, I'm in
>the ontologies camp. :)
I actually don't see how you're finding a conflict between
getting the styling languages to do something smart with links and
the modelling of more generic ontologies.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.8 | | 1261 bytes |
| 
At 07:23 PM 9/22/2006, Alexander Johannesen wrote:
>My biggest problem with Xlink were the reclarifications of something
>we all knew from HTML. Why impose a whole standard for linking when
>most people would be happy as larry with xml:href or instead just used
>xhtml:href? 80/20 :)
That's the common misconception. How many webpages do you go
to where basic link functionality has been extended via scripting
tricks? I'm willing to bet it's quite a few. An example: the Flickr
sidebar at http://www.shelter.nu/.
xhtml:href does -not- win us the 80/20. That's part of my
point. A lot of people are doing a lot of work, having to wrestle
with making it cross-platform, and it could be solved with XLinks in
a standardized and relatively simple way.
Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.9 | | 2389 bytes |
| 
>"I don't care about semantics; I only care about meaning!"
9/23/06, Ben Trafford <ben (AT) prodigal (DOT) cawrote:
That's actually not what I was saying, at all.
Sorry; it wasn't meant as a paraphrase at all, just a contextual joke. :)
>that uses linking as _part_ of it. Linking by itself means very
>little, in HTML, XML or otherwise. I suspect this debate is once again
>
Are you using "means" in the ontological sense? As in, the
presence of link doesn't define what that link means?
Then we're in agreement.
Indeed.
>It sounds like
>you want there to be more generic application specific things in XML,
>not less. I'm of the "less" opinion, but only because, well, I'm in
>the ontologies camp. :)
>
I actually don't see how you're finding a conflict between
getting the styling languages to do something smart with links and
the modelling of more generic ontologies.
The word "style" and its "meaning", I suppose. :) To me, style is
presentation and as such only a part of an application of something.
Links is more than presentation, they speak of things "larger" than
that. That's all.
At 07:23 PM 9/22/2006, Alexander Johannesen wrote:
>My biggest problem with Xlink were the reclarifications of something
>we all knew from HTML. Why impose a whole standard for linking when
>most people would be happy as larry with xml:href or instead just used
>xhtml:href? 80/20 :)
That's the common misconception. How many webpages do you go
to where basic link functionality has been extended via scripting
tricks? I'm willing to bet it's quite a few. An example: the Flickr
sidebar at http://www.shelter.nu/.
Not sure I follow you here. What scripting tricks? What is the *trick*?
xhtml:href does -not- win us the 80/20. That's part of my
point. A lot of people are doing a lot of work, having to wrestle
with making it cross-platform, and it could be solved with XLinks in
a standardized and relatively simple way.
<confusedWhich part of "80/20 of linking" doesn't xhtml:href cover?
</confused>
regards,
Alex
No.10 | | 2568 bytes |
| 
At 08:17 PM 9/22/2006, Alexander Johannesen wrote:
>The word "style" and its "meaning", I suppose. :) To me, style is
>presentation and as such only a part of an application of something.
>Links is more than presentation, they speak of things "larger" than
>that. That's all.
Yes, and it's a part of the application that's woefully unrepresented.
>>tricks? I'm willing to bet it's quite a few. An example: the Flickr
>>sidebar at http://www.shelter.nu/.
>
>Not sure I follow you here. What scripting tricks? What is the *trick*?
I mean this code on your site:
<script type="text/javascript"
src=";count=5&display=random&size=t&layout=v&source=user&user=93544306%40N00"></script>
How much work went into creating the Javascript to display
that sidebar? Wouldn't it have been much nicer to simply say:
<flickrBar userID="93544306" />
And have CSS do the rest by intelligent placing an embedded,
"onLoad" link?
><confusedWhich part of "80/20 of linking" doesn't xhtml:href cover?
></confused>
Actuation and display of anything beyond single, unidirectional links.
Examples:
A menubar link - one click gives you multiple choices.
Sounds like a multi-ended resource to me!
A document compiled from multiple document fragments - like
what people are doing with inclusion scripts all over the place,
specifically in CMS applications.
Embedding dynamic content into a document - like your Flickr sidebar.
When we think of rendering links, we need to think beyond
"click and you go there," and we need to think beyond <a>. When
defining where the 80/20 is on links, we need to look at how
resources are being used today -- not how <alinks are being used,
but <img>, <objectand more to the point, the host of scripting
tricks commonly used on the Web.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.11 | | 1338 bytes |
| 
Fri, September 22, 2006 6:22 pm, Ben Trafford wrote:
But at the end of the day, I want to know why I can't take this:
<link location="http://www.prodigal.ca">This is a link</link>
and style it as a link in a web browser.
You can, easily. You want to style it, use a stylesheet:
<?xml-stylesheet href="mystylesheet.xsl" type="text/xsl" ?>
<link location="http://www.prodigal.ca">This is a link</link>
where mystylesheet.xsl is
<xsl:stylesheet xmlns:xsl=""
version="1.0">
<xsl:template match="/">
<html><body>
<xsl:apply-templates/>
</body></html>
</xsl:template>
<xsl:template match="link">
<a href="{@location}"><xsl:apply-templates/></a>
</xsl:template>
</xsl:stylesheet>
Works for me in Firefox and IE
Bob
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.12 | | 1447 bytes |
| 
At 09:47 PM 9/22/2006, Bob DuCharme wrote:
<link location="http://www.prodigal.ca">This is a link</link>
>You can, easily. You want to style it, use a stylesheet:
I'd rather not use a transformation when I should just be
able use something like:
link {
xlink-href: "http://www.prodigal.ca";
color: blue;
text-decoration: underline;
}
even better, modify CSS to allow for attribute
inspection, and thus author intent:
link {
xlink-href: ||location; /* where the || indicates an
attribute inspection
color: blue;
text-decoration: underline;
}
Seems a lot more straightforward that 10 lines of XSLT that
95% of your audience isn't going to understand or want to bother to learn.
I'm busily writing up my thoughts on using XLink concepts in
CSS. I'll post a link when it's readable. It'll explain my thoughts
on this more clearly, I think.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.13 | | 854 bytes |
| 
At 09:47 PM 9/22/2006, Bob DuCharme wrote:
>You can, easily. You want to style it, use a stylesheet:
Addendum to my previous message:
The other problem with this approach is that it still can
only result in unidirectional, single-ended HTML-style links. As my
previous examples in this thread have shown, they no longer cut the
mustard for the 80/20 margin.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.14 | | 1991 bytes |
| 
Fri, September 22, 2006 10:17 pm, Ben Trafford wrote:
I'd rather not use a transformation when I should just be
able use something like:
Either way, the point is that we store the semantics of the content and
the link relationship(s) in a device-independent format, and then we use
the stylesheet language of our choice to convert it into something
appropriate to the medium where we want to output it. I chose XSLT 1.0 to
do that (and only 3 of my 10 lines were really necessary to address your
example; I just wanted to make it a complete stylesheet so that I could
test it) and you chose CSS. If syntax like
xlink-href: ||location; /* where the || indicates an
attribute inspection
is more intuitive to you, and works for you, then you'll get your
implementation done in a language you're happy with, and that's what
counts. If I prefer XSLT, and others prefer DM or SAX or the latest
Java-oriented XML API, and it works for them, fine. If we can all convert
the same XML into our chosen output medium with our favorite stylesheet
language or API, then that XML was well-designed.
>The other problem with this approach is that it still can
>only result in unidirectional, single-ended HTML-style links.
What in your original example indicated that it was supposed to be
anything but a unidirectional, single-ended link? If the default in your
approach is that your describing one end of a two-ended link, that has to
be indicated somewhere, and
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.15 | | 2403 bytes |
| 
(My addendum: sorry, I sent off that last one before it was done.)
Fri, September 22, 2006 10:17 pm, Ben Trafford wrote:
I'd rather not use a transformation when I should just be
able use something like:
Either way, the point is that we store the semantics of the content and
the link relationship(s) in a device-independent format, and then we use
the stylesheet language of our choice to convert it into something
appropriate to the medium where we want to output it. I chose XSLT 1.0 to
do that (and only 3 of my 10 lines were really necessary to address your
example; I just wanted to make it a complete stylesheet so that I could
test it) and you chose CSS. If syntax like
xlink-href: ||location; /* where the || indicates an
attribute inspection
is more intuitive to you, and works for you, then you'll get your
implementation done in a language you're happy with, and that's what
counts. If I prefer XSLT, and others prefer DM or SAX or the latest
Java-oriented XML API, and it works for them, fine. If we can all convert
the same XML into our chosen output medium with our favorite stylesheet
language or API, then that XML was well-designed, and I (and, I believe,
Michael Kay) believe that this should apply to linking relationships as
well as the roles of block and inline elements of content.
>The other problem with this approach is that it still can
>only result in unidirectional, single-ended HTML-style links.
Your original example had no indication that it was supposed to be
anything but a unidirectional, single-ended link. Some feel that all such
link descriptions should by default be considered one end of a
bidirectional link, but if we are to treat this link as one of those, this
has to be indicated either in the markup or in some documentation about
the default behavior of the system being described.
Bob
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.16 | | 3190 bytes |
| 
At 01:04 AM 9/23/2006, Bob DuCharme wrote:
>(My addendum: sorry, I sent off that last one before it was done.)
The curse of the "send" button. Since instant messengers
have become popular, I've also learned the evil ways of the enter key. :^)
>Either way, the point is that we store the semantics of the content and
>the link relationship(s) in a device-independent format, and then we use
>the stylesheet language of our choice to convert it into something
>appropriate to the medium where we want to output it. I chose XSLT 1.0 to
The question is: can the medium support it?
There's no straightforward, standardized way to support
anything other than single-ended, unidirectional links via CSS or
XSL-F There ought to be. This is my primary contention.
>If we can all convert
>the same XML into our chosen output medium with our favorite stylesheet
>language or API, then that XML was well-designed, and I (and, I believe,
>Michael Kay) believe that this should apply to linking relationships as
>well as the roles of block and inline elements of content.
The only problem being if the most used stylesheet languages
aren't capable of supporting it. Again, this is my primary
contention. My secondary issue is that XLink went about it the wrong
way, for a variety of reasons. Link behavior should not be explicitly
declared in the markup. I used to support that approach, because I
wanted to honor the intention of the document author, rather than the
stylesheet author.
With CSS, at least, I'm starting to see ways that I can have
my cake and eat it, too.
>Your original example had no indication that it was supposed to be
>anything but a unidirectional, single-ended link. Some feel that all such
>link descriptions should by default be considered one end of a
>bidirectional link, but if we are to treat this link as one of those, this
>has to be indicated either in the markup or in some documentation about
>the default behavior of the system being described.
True, I didn't make use an example that was anything but
your typical, HTML-style link. But if I had, we still come back to
the same point: there is no way to represent anything but basic links
using CSS or XSL-F0. Without resorting to scripting tricks, or
awkward HTML output, you simply can't do anything smart with links
using either of those stylesheet languages.
And the need is there. I've given several examples in this thread.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.17 | | 2105 bytes |
| 
Back in the days (ca. 1997) when XML was bright and shiny it had
three components:
- XML Core (I think this was the term)
- XML Style (now XSL-*)
- XML Link
I was optimistic and naive enough to believe that XLink was going to
happen in the same way as the first two (which IM are great
successes). I assumed that it would acquire toolkits like the first
two. I personally hacked quite a lot of code to support XLink at a
prototype level. There are even examples in CML. I have been very
disappointed that it hasn't really happened.
I need XLink for semantic relationships. I assumed that these were
implied in it as well as "rendering". From the recent discussion it
seems semantics is in a minority. When everyone talks about the
S/semantic W/web
we are still obsessed with sighted humans.
As a result I have had to implement my own linking structure in CML.
(Yes, I also use RDF, but it isn't cuddly). I need a strongly typed
bidirectional link (i.e. the link knows what the type of the element
is at the end). I want to point from an <atomto a <moleculeand
know that the link will check the target is of the correct type.
So I waited for an XLink toolkit. (It didn't have to be bloated like
so many of the modern XML specs and tools.) None appeared. So I have
had to do it all myself - the spec, the examples, the semantics, the
code. What a waste of my time to end up with a system incompatible
with anything else.
P.
Peter Murray-Rust
Unilever Centre for Molecular Sciences Informatics
University of Cambridge,
Lensfield Road, Cambridge CB2 1EW, UK
+44-1223-763069
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.18 | | 1159 bytes |
| 
At 01:51 AM 9/23/2006, peter murray-rust wrote:
>I need XLink for semantic relationships. I assumed that these were
>implied in it as well as "rendering". From the recent discussion it
>seems semantics is in a minority. When everyone talks about the
>S/semantic W/web
>we are still obsessed with sighted humans.
Well, humans. Not necessarily sighted ones. I tend to be a
pretty big supporter of accessibility -- and that's yet another
reason to pull smart linking into CSS, as CSS integrates with
accessibility tools rather nicely, all told.
In terms of semantics, what do you think XLink is lacking
from your experience with CML?
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.19 | | 2908 bytes |
| 
At 07:02 23/09/2006, Ben Trafford wrote:
>At 01:51 AM 9/23/2006, peter murray-rust wrote:
>>I need XLink for semantic relationships. I assumed that these were
>>implied in it as well as "rendering". From the recent discussion it
>>seems semantics is in a minority. When everyone talks about the
>>S/semantic W/web
>>we are still obsessed with sighted humans.
>
Well, humans. Not necessarily sighted ones. I tend to be a
pretty big supporter of accessibility -- and that's yet another
reason to pull smart linking into CSS, as CSS integrates with
accessibility tools rather nicely, all told.
I agree - and I try to make my pages accessible. But it only really
relates to text and images - there is no metaphor for chemistry
In terms of semantics, what do you think XLink is lacking
from your experience with CML?
I haven't looked for 2-3 years - but basically there was no added
value from the community - such as toolboxes, validity checkers,
tools to check whether the hyperdocument was bounded, etc. So the
implication is the implementers has to do all the work themselves.
Similarly if I am in a company of one - or two ( I don't know XBRL) -
I don't get any synergy. If I write XSLT there are zillions of
tutorials, examples, tools, etc. Everyone knows what I am taking
about. If I write XLink I point to a spec whose vitality is being
questioned here. Not all XML specs are good things to point
non-experts to. I'm also not even sure that XLink actually does what I want.
So if I were still moderating this list maybe I'd try to ginger us up
to revisit XLink. But
P.
>>Ben
>
>
>
>XML-DEV is a publicly archived, unmoderated list hosted by ASIS
>to support XML implementation and development. To minimize
>spam in the archives, you must subscribe before posting.
>
>[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
>subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
>List archive:
>List Guidelines:
Peter Murray-Rust
Unilever Centre for Molecular Sciences Informatics
University of Cambridge,
Lensfield Road, Cambridge CB2 1EW, UK
+44-1223-763069
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.20 | | 1485 bytes |
| 
Eric van der Vlist wrote:
of the thing which kept popping up is that TM are about defining
links with multiple arcs and this is the domain of extended XLinks.
TM data model is much richer than extended XLinks and it is more high
level and thus provides some direct sementics -- like roles, types and
scopes for each association.
However, XTM has chosen, for the sake of simplicity, to use simple links
rather than extended links.
XTM is just serialization and interchange syntax for Topic maps data
model (TMDM). It could be possible to represent some TM constructs by
extended XLink, but such mapping will be quite artifical and it would
not gain much benefits. of the biggest differences between TM and
RDF is that each association in TM has also its own identity (it is also
topic) so you can make statements about it. IIRIC XLink (similarly to
RDF) doesn't directly support this mechanism.
So, basically XTM is serialization of graph of topic map and simple
XLinks are used to express edges of this graph structure.
If I am right, XTM can hardly pretend to be using XLink :)
XTM uses simple links as defined in XLink specification. ;-)
BTW, recently some people involved in TM development proposed to remove
XLink dependency in a future version of XTM. But I think that final
decision was to stay with current approach.
You can follow discussion here, if you are interested:
No.21 | | 3100 bytes |
| 
Hi,
>Not sure I follow you here. What scripting tricks? What is the *trick*?
9/23/06, Ben Trafford <ben (AT) prodigal (DOT) cawrote:
I mean this code on your site:
How much work went into creating the Javascript to display that sidebar?
Work for me? Little; copy and paste. Work for them? Who knows. But why
do you call this a "trick"? What's tricky about it? Not markup?
Neither is CSS.
Wouldn't it have been much nicer to simply say:
<flickrBar userID="93544306" />
And have CSS do the rest by intelligent placing an embedded, "onLoad" link?
Why? By that you're placing arbitrary code in two places instead of
one. And what about translation rules for the markup of the badge?
CSS1|2 doesn't create markup, so you might be looking to things like
XSLT maybe or CSS3, which, in my personal opinion, is a poor way to
fiddle with content! Is moving the transformation out of the markup
and into the presentation layer a good thing at all, though?
><confusedWhich part of "80/20 of linking" doesn't xhtml:href cover? </confused>
>
Actuation and display of anything beyond single, unidirectional links.
But that's assuming there's more than a 80% need for that, which is
what I'm asking; what is that assumption based on?
Examples:
A menubar link - one click gives you multiple choices.
Sounds like a multi-ended resource to me!
Why? This problem could easily be solved through an embedded (in
browsers) JS object with multiple link support in it. We currently
solve it through custom JS, of course. I know what you're suggesting,
though, but it could be as easy as <a href="http://somewhere
http://somewhere-else http://another-place"></a>
Embedding dynamic content into a document - like your Flickr sidebar.
Not sure I follow you here. You want something generic and dynamic
which isn't a generic and dynamic programming language? Why is your
CSS version better than a JS version?
When we think of rendering links, we need to think beyond
"click and you go there," and we need to think beyond <a>. When
defining where the 80/20 is on links, we need to look at how
resources are being used today -- not how <alinks are being used,
but <img>, <objectand more to the point, the host of scripting
tricks commonly used on the Web.
Well, you don't need to convince me about where we should take links
in general, but in practice I think only automatic parsing benefits
from all the extra work that would go into it, and hence, since the
successful web is built by lazy people, I don't see it happening that
way. If we're to make systems that works best for automata, let's not
hide it in human forms, I'd say. But I fear I just don't understand
what you're trying to say, so there you go :)
regards,
Alex
No.22 | | 5047 bytes |
| 
At 09:22 AM 9/23/2006, Alexander Johannesen wrote:
>Work for me? Little; copy and paste. Work for them? Who knows. But why
>do you call this a "trick"? What's tricky about it? Not markup?
>Neither is CSS.
When I say "trick," I mean, "a hack for something that
should be based on markup + styling."
See, you're speaking from the perspective of "Javascript is
the norm, we all use it, it's fine." Ten years ago, the idea that
we'd need scripting on -every- website was abhorrent. Now people accept it.
As somebody who has written a few thousands lines of
Javascript in my time, let me tell you, CSS support is generally more
coherent across browsers than Javascript support.
Also, if we keep things in the land of markup vs. the land
of code, we have an easier time with things like accessibility for
websites. CSS is a web accessibility enabler; Javascript is a
disabler, by and large.
Finally, yes, I confess that there is a part of me that's a
bit of a purist about this, but there's also a pragmatic aspect.
The purist says: code is for doing things -- markup is for
modelling them. So why am I see menus using code for display
purposes? Why aren't they modelled in markup + styling?
The pragmatist says: People are struggling against the
boundaries of the <a>-style link. They're pushing the boundaries with
Javascript and other scripting hacks. Why don't we provide them with
a robust, powerful linking toolkit in CSS, so they can explore some
powerful hyperlinking?
>CSS1|2 doesn't create markup, so you might be looking to things like
>XSLT maybe or CSS3, which, in my personal opinion, is a poor way to
>fiddle with content! Is moving the transformation out of the markup
>and into the presentation layer a good thing at all, though?
What's the difference between embedded markup and embedded
images? That's what the <imgtag is. A link that automatically
actuates upon pageload to place an image. Even with basic CSS, a
transformation is happening at the presentation layer.
>But that's assuming there's more than a 80% need for that, which is
>what I'm asking; what is that assumption based on?
Er. The numerous examples I've given in this thread? To
which you've uniformly replied, "Why not just use Javascript?"
I think I've answered why, above. People shouldn't need to
learn how to program just to make a good link work. And requiring
them to do so isn't encouraging the use of hyperlinks in a way that
will increase the value of the Web, and make them inclined to create
richer pages. As soon as someone has to do more than an <alink,
they groan, pull out the crappy Javascript they got from somebody
else's site (that probably won't work properly in more than one or
two browser varieties), and go to it.
The need for an 80% is based on the fact that more than 80%
of the sites I go to are using advanced linking features via some
kind of scripting trick, or trying to emulate advanced linking
features with CSS. And these aren't giant corporate portals; these
are personal websites, small businesses, etc.
Ten years ago, *ML people simply assumed linking support
would get better over time, so they focused on other things. I don't
think anyone actually expected to be using Javascript for -links- ten
years down the line. It seems natural, and you seem to be taking a
"If it it ain't broke, don't fix it" approach, but I say it only
seems natural because of exposure.
Imagine if someone told you that everytime you wanted to add
visual accessibility options to a page, you needed to code them into
Javascript. I mean, heck, the visually impaired are only 10% of the
population. They're not on the right side of the 80/20. And then the
government mandates accessible webpages, so everyone is hacking code
for visual accessibility options into their webpages that work with
dubious functionality depending on the site and browser.
Would you find that acceptable?
>hide it in human forms, I'd say. But I fear I just don't understand
>what you're trying to say, so there you go :)
Have I made myself clearer?
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.23 | | 1397 bytes |
| 
At 01:19 PM 9/23/2006, Len Bullard wrote:
Style languages vs linking languages (CSS vs XSLT, a useless debate
>really)
I don't know that it is.
My biggest problem in all this is that I can't properly
style XML for website use. I can't simply declare any tag as a link
via CSS. CSS and XML is easier than XSLT and XML, and will get more
penetration in the public perception. This, in turn, will get us more
and better use of links.
So it's a very useful debate, in my mind.
>For that to work, links have to be transitory. Pick the format and
>environment that enables that.
If CSS were doing the right thing with links, it seems to me
that it'd be the obvious choice.
As for what that "right thing" is, wellI'm working on it.
I ought to have something out for discussion in the next day or so.
>Ben
XML-DEV is a publicly archived, unmoderated list hosted by ASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
unsubscribe: xml-dev-unsubscribe (AT) lists (DOT) xml.org
subscribe: xml-dev-subscribe (AT) lists (DOT) xml.org
List archive:
List Guidelines:
No.24 | | 5282 bytes |
| 
Hola,
9/24/06, Ben Trafford <ben (AT) prodigal (DOT) cawrote:
When I say "trick," I mean, "a hack for something that
should be based on markup + styling."
"Should be"?
See, you're speaking from the perspective of "Javascript is
the norm, we all use it, it's fine." Ten years ago, the idea that
we'd need scripting on -every- website was abhorrent. Now people accept it.
Not sure I'm writing from any specific perspective as such, but, for
the sake of argument, assuming I do the problem with this is,
what?
As somebody who has written a few thousands lines of
Javascript in my time, let me tell you, CSS support is generally more
coherent across browsers than Javascript support.
Hehe, maybe you just haven't done enough CSS then. :) More seriously,
I disagree with JS support being skewed; it's the various object
models that are different. The object models are *not* the language
JS, but what browsers have chosen to stuff into it. I assume this is
what you're referring to, though, but I still can't accept it; I've
written a few thousand CSS templates in my time, and there is no where
near a coherent support across browsers, even today on simple things
like margins and paddings. JS have had a few more years to sort things
out, and I'm sure CSS will over time as well. But these are both
bolt-on technologies, neither of which are markup so I'm not sure why
you think CSS is somehow "better".
Also, if we keep things in the land of markup vs. the land
of code, we have an easier time with things like accessibility for
websites. CSS is a web accessibility enabler; Javascript is a
disabler, by and large.
Well, depends on the markup, depends on the JS, but in general you're right.
The purist says: code is for doing things -- markup is for
modelling them. So why am I see menus using code for display
purposes? Why aren't they modelled in markup + styling?
Well, that one is easy; there isn't good enough support across all
browsers for doing it in markup + CSS.
>But that's assuming there's more than a 80% need for that, which is
>what I'm asking; what is that assumption based on?
>
Er. The numerous examples I've given in this thread? To
which you've uniformly replied, "Why not just use Javascript?"
Actually, I haven't replied that; you inferred it. But even still, I
don't feel you're adressing the question, which is; what sort of links
do people mostly want to make? How do we know the answer to this? How
do we support it? Are we sure that 80% of what all people want to do
isn't just to throw up an arbitrary link to something?
I think I've answered why, above. People shouldn't need to
learn how to program just to make a good link work.
Uh, ok, but what is the definition of a "good link" as opposed to any
other link?
The need for an 80% is based on the fact that more than 80%
of the sites I go to are using advanced linking features via some
kind of scripting trick, or trying to emulate advanced linking
features with CSS. And these aren't giant corporate portals; these
are personal websites, small businesses, etc.
Some examples? What exactly are you talking about here?
Ten years ago, *ML people simply assumed linking support
would get better over time, so they focused on other things. I don't
think anyone actually expected to be using Javascript for -links- ten
years down the line. It seems natural, and you seem to be taking a
"If it it ain't broke, don't fix it" approach, but I say it only
seems natural because of exposure.
No, I take a rather different approach, which is the simplest use of
the <a /element / tag. I don't like JS anymore than I gather you do.
I'm just unsure about *what* this "better linking" really is, that's
all.
Imagine if someone told you that everytime you wanted to add
visual accessibility options to a page, you needed to code them into
Javascript.
But isn't that all for the features of browsers, and not a feature of
the markup itself?
I mean, heck, the visually impaired are only 10% of the
population. They're not on the right side of the 80/20. And then the
government mandates accessible webpages, so everyone is hacking code
for visual accessibility options into their webpages that work with
dubious functionality depending on the site and browser.
That's because they did a crap job to begin with in terms of
accessibility. Not sure I'm ready to blame poor remedy for *being* a
remedy. :)
Have I made myself clearer?
Not sure. Maybe. I still don't understand your CSS over JS progrom
half the time. Both technologies are there for various reasons, and
some use JS to do what should be in CSS, and some use CSS for what
probably is better in JS, and so forth. Both are technologies that
browsers may or may not do well.
Alex