Re: Is XHTML a dead end?

On Fri, 2002-09-27 at 22:36, Tim Bray wrote:
> On Friday, September 27, 2002, at 01:09 PM, Eric van der Vlist wrote:
> > 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).

This doesn't seem that difficult :-) ...

If you give us a test case with a sample of XHTML2 instance and the
expected output, I would bet that many subscribers to www-tag can write
the XSLT in 5 to 15 minutes. I can eventually give it a try but not
before tomorrow since it's getting late in Paris!

> 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

Yes, it would make things more concrete. I am also quite sure that it 
would be trivial to write it as a SAX filter especially given the fact 
that the Hlinks definition seems to precede the use of the mappings
allowing a brute streaming processing.

Eric 
-- 
Rendez-vous à Paris.
                          http://www.technoforum.fr/integ2002/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------

Received on Friday, 27 September 2002 17:05:17 UTC