[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: why distinctions within XHTML?

  • From: "Hunter, David" <dhunter@M...>
  • To: XML-Dev Mailing list <xml-dev@i...>
  • Date: Wed, 1 Sep 1999 10:29:52 -0400

flavours of xhtml
> From: Mark Birbeck [mailto:Mark.Birbeck@i...]
> David Brownell wrote:
> > Mark Birbeck wrote:
> > > 
> > >  6. There are three variants of HTML 4.0 so we need three variants
> > >     of 'HTML 4.0 as XML' (let's call it XHTML).
> > 
> > Isn't that assertion pretty core to this debate?  That is, it's
> > not a generally accepted assumption.
> 
> If you want to write something that transforms current HTML into XML,
> you need to go via an XML version of HTML. Since there are three
> versions of HTML, then you need three 'XML versions of HTML'. 
> To me that
> says nothing about the future direction of XHTML, or what future
> browsers will do, etc. It just says if you want to manipulate current
> documents, you have to accept they are in one of three dialects of the
> same language.

<?email snip?>

> That's good - and I'm sure 'modular' XHTML will address all those
> issues. But what about dealing with current problems? We need 
> a mark-up
> for transforming current HTML documents to XML. And when I say this, I
> don't mean converting:
> 
> <TD ALIGN=LEFT>The Thin Red Line <B>1998</td>
> 
> To:
> 
> <TD ALIGN="LEFT">The Thin Red Line <B>1998</B></TD>
> 
> That is converting it to an XML version of HTML, but there is no
> meta-information. I mean converting it to:
> 
> <Film>
>     <Title>The Thin Red Line</Title>
>     <Year>1998</Year>
> </Film>
> 

<?email snip?>

I think this post is slightly off topic, for talking about XHTML.  The
debate here is:

a)  Although there are currently three flavours of HTML 4, *should* those
three flavours also be mapped into three flavours of XHTML 1, or *should* we
strive for one flavour?

b)  *If* we *should* use three flavours of XHTML, is namespaces the way to
do it?

What you're describing above is not XHTML, but is some other XML vocabulary.
(That is, there is no <xhtml:Film/> tag.)  If you want to convert the HTML
above to some other XML vocabulary, go ahead.  There is nothing stopping you
from doing that today.  But if we want to convert that HTML above to XHTML,
with XHTML's defined set of tags, *then* you have to worry about whether
XHTML should be using three namespaces or not.

Even if you want to take your other XML vocabulary and display it directly
in a browser you can do that;  CSS can do that today.  But it still isn't
XHTML.

David Hunter
david.hunter@m...
MediaServ Information Architects
http://www.MediaServ.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.