XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Fixing what's broke

On 07/12/2010 09:48, Pete Cordell wrote:
> So I'd suggest doing something like:
>
> <Book:Book>
> <Book:Author>John Grisham</>
> <Book:Title>The Case of the Hidden Claw</>
> </Book:Book>

But why stop there? if tag minimisation is what you want and you had an 
SGML DTD (or a newly proposed xmlnext schema or an html-like parser) 
then you could do

<Book:Book>
<Book:Author>John Grisham
<Book:Title>The Case of the Hidden Claw

as Title wouldn't be allowed inside Author, so Author would close, and 
then the end of file would close the open Title and Book.

David


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS