[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Fixing what's broke
- From: David Carlisle <davidc@nag.co.uk>
- To: Pete Cordell <petexmldev@codalogic.com>
- Date: Tue, 07 Dec 2010 10:30:29 +0000
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]