[This message was posted by David Rosenborg of Pantor Engineering AB <d...@pantor.com> to the "FAST Protocol" discussion forum at http://fixprotocol.org/discuss/46. You can reply to it on-line at http://fixprotocol.org/discuss/read/04015aa3 - PLEASE DO NOT REPLY BY MAIL.]
Hi! No, the FAST template syntax doesn't include any support for parameterized templates. You'll either have to specify the constant field separately as in <string name="MsgType"> <constant value="X"/> </string> <templateRef name="Common"/> or you can choose to preprocess your extended format using for example XSLT to produce conforming templates. /David > Is it possible to pass arguments to a common template referenced in > other templates. Something like below? > > <template name="Common" msgType > <string constant value=msgType> > </template> > > <template name="Msg1"> <templateRef name="Common" msgType='X'> ...other > fields for this template </template> > > <template name="Msg2"> <templateRef name="Common" msgType='W'> ...other > fields for this template </template> > > Regards, Darshan [You can unsubscribe from this discussion group by sending a message to mailto:unsubscribe+100932...@fixprotocol.org] -- You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to fix-proto...@googlegroups.com. To unsubscribe from this group, send email to fix-protocol+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/fix-protocol?hl=en.