XML Elements or Attributes in the world

By admin - Last updated: Thursday, November 1, 2007 - Save & Share - Leave a Comment

Elements way is good at interoperability.

Attributes way is good at size of the XML.

<message id="1">
<message id="1">Hello</message>
<message id="1" myword="Hello" />

Which way do you prefer?

Posted in Code Notes • Tags: , Top Of Page