Lists Home |
Date Index |
- From: "Sebastian Schnitzenbaumer" <firstname.lastname@example.org>
- To: email@example.com
- Date: Fri, 10 Sep 1999 00:12:00 +0200
> > Why not introduce a custom "variant indentification system" for
> > XHTML? Possible solution: re-introduce the version attribute on the
> > HTML root element specifying the XHTML variant. The problem here
> > are fragments. I want to include a piece of XHTML in a document
> > instance other than XHTML.
> Then why not allow the html:version attribute on *any* HTML element?
> Then you can specify version information for subtrees as well as for
> an entire HTML document.
This mechanism would then be similar to namespaces in design.
You are suggesting that the namespace is the highest level of
hierarchie, and every XML grammar that has multiple variants shall
introduce its own mechanism to distinguish the variants as the
second level below namespaces. XHTML is a language with quite
some history. I a few years, it is likely that other XML grammars
will have the same situation like HTML (SMIL, for instance). I feel
unconfortable introducing such a mechanism now just for XHTML
where it will be likely that a similar mechanism will be needed in
different languages as well. In the end, the version attribute will be
used in conjunction with the xmlns attribute for many popular
languages. So then why have two mechanisms, where one is
global and the other one is always language-specifc, but both
are in the same space.
Stack Overflow AG
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)