W3C home > Mailing lists > Public > www-tag@w3.org > September 2002

Re: Is XHTML a dead end?

From: Tim Bray <tbray@textuality.com>
Date: Fri, 27 Sep 2002 13:33:36 -0700
Cc: www-tag@w3.org
To: Eric van der Vlist <vdv@dyomedea.com>
Message-Id: <65ED2C1B-D258-11D6-8E90-0003938E7308@textuality.com>

On Friday, September 27, 2002, at 01:09 PM, Eric van der Vlist wrote:

>> For example... suppose we had some nice modern XHTML2 with
>> properly-nested DIVs and so on, and hyperlinks scattered around.
>> Suppose I wanted to produce a nested table of contents with just
>> hyperlinks, losing all the other text; basically lose anything that's
>> not a <div>, <h[0-8]>, or hyperlink.
>> How would the approaches compare if the source were XLink vs HLink?
> In this case, the transformation would probably be easy enough that we
> can try to do it in one pass with HLink as with XLink.

Really?  Now we're getting somewhere.  I know this is asking a lot, but 
I am far from an XSLT virtuoso... could someone do the XSLT?  Here's 
what I'd like: given an XHTML2 instance, produce another one that keeps 
only DIV tags, H1-H8 elements, and hyperlinks
(a) in the case that they're identified by HLink
(b) in the case they're identified by XLink (for complex links I think 
you just need the parts with xlink:type attributes, but if that's wrong 
let's discuss it).

I think the outcome of this exercise would be real useful in helping us 
understand the real practical operational differences between deploying 
HLink and XLink in the field. -Tim
Received on Friday, 27 September 2002 16:33:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:34 UTC