|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RFP: Namespace URI for HTML
> > 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. Regards, Sebastian --- Stack Overflow AG Phone: +49-89-767363-70 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








