I’m using an XML file as input, and needing to pass in field content, which itself contains fields from within the model.
<fieldA>World</fieldA> <content>Hello @fieldA@!</content>
Is there a way to setup the DataMapper, so that the content which gets rendered is “Hello World!”?
I’d call this a second pass, either in rendering or datamapping.
Which is the most efficient and simple technique? May I please get code or mapping examples?
fieldA = 'World' content = 'Hello @fieldA@!'