|
| I think first approach is good for this case. You have
Person and its(his) properties. If the name itself has
properties then second option can be considered. Maintain
balance between depth and breadth.
-SP
>-----Original Message-----
>I'm putting together some guidelines on schema form and
would like to get
>other people's opinions on the element v attribute
question.
>
>Consider the following:
>
><People>
> <Person name="joe" age="30" />
></People>
>
>or
>
><People>
> <Person>
> <Name>joe</Name>
> <Age>30</Age>
> </Person>
></People>
>
>Does anyone know of any guidelines on this? As a rule I
tend to go for the
>attribute form - as it's lighter - but I don't really
have any great
>argument either way?
>
>Hugo
>http://hugo.rodger-brown.com
>
>
>.
>
|
|