Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
 to some definition of simple, see the XML spec (namespaces etc).
 not by humans, due to its bad noise/signal ratio. XML is intended (as
a slowdown) for automated processing.
Posted Oct 16, 2009 21:47 UTC (Fri) by dlang (✭ supporter ✭, #313)
what most people end up using is insane, but I believe that properly used it can be good.
many people do something like
which I agree is horrible to deal with
however if you did something like this instead
<user name='data' address='data' />
I think it's reasonable.
my view is that if the item of data can only appear once it should be an attribute, only if it can appear multiple times or can have something else inside it should it be an element (and even there I sometimes 'cheat' by making the data be a comma separated list)
Posted Oct 18, 2009 4:51 UTC (Sun) by dang (guest, #310)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds