XMl Data Structure

Posted by metdos on Stack Overflow See other posts from Stack Overflow or by metdos
Published on 2010-05-24T05:29:11Z Indexed on 2010/05/24 5:30 UTC
Read the original article Hit count: 555

Filed under:
|
|

Which one of two XML structures below do you prefer? Why? Any other suggestion is welcome :)

<Parameters>
  <Parameter id=username>metdos</Parameter>
  <Parameter id=password>123</Parameter>
</Parameters>

or

<Parameters>
  <username>metdos</username>
  <password>123</password>
</Parameters>

© Stack Overflow or respective owner

Related posts about Xml

Related posts about best-practices