[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <davidc@n...>
  • To: Pete Cordell <petexmldev@c...>
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member