FIXML: Attributes v/s Elements

Imported from previous forum

Hello,
We are making a FIXML 4.3 Interface I was going through the specifications of the FIXML and one thing which struck me is that say for e.g. in MesgType = D ( FIXML = Order) there are many fields which are defined empty and the value comes as an attribute of the tag say for e.g. <CURRENCY Value = USD/> I read somewhere a interesting discussion whether to keep the it as attributes or Elements … Is it ok if we keep <CURRENCY>USD</CURRENCY>

Thanks for your help
Regards,
Nirav

[ original email was from Jim Northey - jnorthey@lasalletech.com ]
Nirav,

For compatibility reasons you should follow the specification. For FIXML 4.3 is not okay to use the element only - this won’t match the DTD definition.

Please note that we are in the process of defining a FIXML Schema that will be available in August 2003. This new version will be associated with FIX 4.4. The format of the FIXML instance documents will likely change to support reduced message size.

> Hello,
> We are making a FIXML 4.3 Interface I was going through the specifications of the FIXML and one thing which struck me is that say for e.g. in MesgType = D ( FIXML = Order) there are many fields which are defined empty and the value comes as an attribute of the tag say for e.g. <CURRENCY Value = USD/> I read somewhere a interesting discussion whether to keep the it as attributes or Elements … Is it ok if we keep <CURRENCY>USD</CURRENCY>
>
> Thanks for your help
> Regards,
> Nirav
>