FIXML in brief
The XML form of FIX, and where it differs from tag=value.
FIXML is the XML representation of FIX application messages. It carries the same business meaning as tag=value FIX and shares its data dictionary, but uses XML syntax. It is common in post-trade clearing, settlement and reporting; CME, for example, publishes FIXML samples for its STP service.
How the names map
- Messages become elements with abbreviated names: SecDef for Security Definition (35=d), TrdCaptRpt for Trade Capture Report (35=AE).
- Fields become attributes: RptID for SecurityReportID (964), ReqID for SecurityReqID (320).
- Components become wrapper elements that hold their own fields.
- To find the tag number behind an attribute, look up its type in the FIXML schema, which records the tag and abbreviation.
Root element and versions
Each document has a FIXML root element. Its v attribute gives the FIX version (for example FIX50SP2) and its s attribute the schema release date. The root can hold one message or a batch. FIX 4.1 to 4.3 use DTDs; FIX 4.4 and later use XML Schema.
Differences to watch for
- Some datatypes follow ISO formats, so values are written differently. TransactTime is 60=20010911-09:30:47-05:00 in tag=value and TxnTm="2001-09-11T09:30:47-05:00" in FIXML.
- There is no standard conversion between the two formats, so converters can differ.
- FIXML has no session layer. It travels inside another protocol, or inside a FIX session as an XML message.
- It is easier to read and parse with standard XML tools, but uses more bandwidth and parses more slowly than tag=value.
The OnixS Java and .NET FIX Engines can convert between FIXML and tag=value.
Documentation: FIXML Tutorial on ref.onixs.biz
Try it: Request a free 30-day evaluation
Questions? Email sales@onixs.biz