[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Terse list of valuable projects

From: Vaclav Slavik
Subject: Re: [lmi] Terse list of valuable projects
Date: Thu, 18 Mar 2010 11:31:33 +0100

On Thu, 2010-03-18 at 01:39 +0000, Greg Chicares wrote:
> What I'm wondering is why no one seems to serialize this way instead:
>     <item key="propC">
>       <data>3 4 5</data>
>     </item>

It's bad practice, you loose all the advantages of using XML compared to
some other, more human-readable text formats. Having just a generic XML
parser is no longer enough, the <data> field now requires interpretation
and a tokenizer to parse it. You cannot manipulate the content as a DOM
tree anymore. You cannot describe the data with schema languages and you
cannot validate it. You cannot transform it with XSLT or point to (part
of) the data with XPath. And you cannot display the data nicely with CSS
or FO, either.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]