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: why whitespace counts as a node?

On Sat, 13 Nov 2010 11:54:20 +0000, David Carlisle wrote:

>  Not all XML is a database dump
> <row>
>    <item>a</item>
>    <item>b</item>
> </row>
> where all white space is cosmetic indentation.

Ah, see, maybe that's just my bias or lack of imagination.  I can't 
imagine where white space is anything but cosmetic.

Ok, so it does serve a purpose.  However, even in xhtml, if you want 
white space in a paragraph of text, then you can put that whitespace 
between tags.  I'm sure it's my lack of experience, but, for example, 
when do you need that white space?



[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