Lists Home |
Date Index |
A general question and a specific one.
Someone once told me that you should only used attributes when you know that
you will never need another attribute. (Case 1)
And then I read somewhere to forget about attributes except for the
exception of an id attribute. (Case 2)
Does anyone care to comment and clarify this.
And to add a specific question.
I want to define a set of 64 bit flags, and I want to only define ones that
What do you reckon is the best ways to do this:
<x flag0="true" flag4="true"/>
or something like:
<Flags Value="20"> <!- Binary 10100 -->
or something better? Can anyone see any problems with any of the
I would like the resulting XML to be easy to parse and to transform ( ie not
tricky xpath or recursion required).
I haven't decided whether to use events such as those found in sax.
any comments or suggestions would be gladly appreciated.