Posted: Tue Jul 29, 2003 2:37 am Post subject: XML Elements vs Attributes
Novice
Joined: 10 Jul 2003 Posts: 12 Location: South Africa
We are running a MQSI flow to third parties and are in the process of establishing a standard for the XML messages sent to us in XML format. My question is simple: Is it better to use normal XML elements as in
<ReceivedMessage>
<Value1>AAA</Value1>
<Value2>BBB</Value2>
<Value3>CCC</Value3>
</ReceivedMessage>
or as Attributes as in
<ReceivedMessage Value1="AAA" Value2="BBB" Value3="CCC"/>
Which is the most effective, and which is the fastest?
Thanks
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum