Imported from previous forum
Hi,
Could you please clarify following question:
Does “templateRef” XML element acts like MACRO and just insert text of the referenced template into the original template?
In XML it looks like this:
…
Does fields Target, Sender and MDReqID will use same dictionary? Or Target and Sender fields will use seperate dictionary than MDReqID field?
Thank you.
Hi Sergey -
The Target and Sender fields will use a separate dictionary from the MDReqID field.
The “current template” changes as you follow a template reference. This is described in the second paragraph of section 6.4 in the specification: “A static reference specifies that processing should continue with the referred template as the current template.”
BTW, the name of the attribute is just dictionary as in dictionary=“template”. Another tip: it is possible to inherit the dictionary attribute from an ancestor element as in:
....Best regards,
David
Hi, Could you please clarify following question: Does “templateRef” XML
element acts like MACRO and just insert text of the referenced template
into the original template?In XML it looks like this: …
…Does fields Target, Sender and MDReqID will use same dictionary?
Or Target and Sender fields will use seperate dictionary than
MDReqID field?Thank you.
Oops, I forgot to mention that the messageRef has changed name to typeRef and consequently the corresponding dictionary is now called “type” so your example would become
... .../David
…Best regards, David
Oops, I forgot to mention that the messageRef has changed name to
typeRef and consequently the corresponding dictionary is now called
“type” so your example would become
Thank you a lot!.
When new version of the template specification will be available?
I believe a new version will be out shortly, but I have no dates. Until then you can use this one which isn’t far off from the upcoming one:
http://www.fixprotocol.org/documents/2811/FAST%20Specification%201.x.05.pdf
/David
Oops, I forgot to mention that the messageRef has changed name to
typeRef and consequently the corresponding dictionary is now called
“type” so your example would becomeThank you a lot!.
When new version of the template specification will be available?