Re: [xml-dev] (In)Validate My Assumptions on Linking.

From
andrew welch <>
To
Jirka Kosek <>
Date
2006-09-28T10:32:45Z
ID
<>
Thread
Re: [xml-dev] (In)Validate My Assumptions on Linking.
On 9/28/06, Jirka Kosek <> wrote:
> Ben Trafford wrote:
>
> >     After much thinking, reading, and reviewing, I've come to these
> > three ideas:
> >
> >     1) Stylesheet languages need some sort of way to display links from
> > generic XML. This is so we can interact with them in user agents. By
> > "stylesheet languages," I am specifically referring to XSL-FO and CSS.
> >
> >     2) Links need to be declared in generic XML,
>
> Given the point 1 which allows you to turn anything into link, why you
> then need to declare it as link on XML level (point 2). I mean if you
> have some generic XML, e.g.:
>
> <hotel moreinfo="http://example.org/dream-hotel">
>    ...
>
> and you are able to say that this element should work as link on a
> stylesheet level, e.g.:
>
> hotel { link-type: simple;
>          link-target: attr(moreinfo);
>        }
>
> what is then point of point 2?

+1

I think adding multi-arc linking to CSS is the answer here.

Given XML + XSLT => DHTML + Javascript I can create multi arc links in
the browser.  If it was possible to do the same with XML + CSS then I
think most people would be happy - Less Javascript, more CSS.