I have a Word document that is dynamically populated using XML.
The information is pulled from a database, processed by the XML document and then input in the word document.
In the Word document I have a field called txtPetitionerAddressLineService. The XML code to populate that field is
<fieldmap mergefield="txtPetitionerAddressLineService" type="Replace">
<resources source="petitioner" templateid="AddressLine"/>
<item id="0" value=""/>
I would like to assign a hard-coded string value to the value attribute of item, so that when the mapping is done, the field txtPetitionerAddressLineService in the word document reads that value. I tried to do it but it didn't work.
What would be the right way of doing this?