We have many Word document templates with Merge Fields similar to below. We have a need to “read/access” the “switch”/metadata (in red) that is after the field name but part of the merge field. Using Aspose for Words, how can I do this? I did not see anything on the MailMerge object that would let me do this. The closest thing was a string of field names which doesn’t help.
Examples of our merge fields. I’ve also attached an example document
FirstName repeater=1 xPath=Client\ClientContact\FirstName mask= TableName=
HideBegin xPath=Client\ClientLocation\MailAddress2 Compare=’’
MailAddress2 repeater=1 xPath=Client\ClientLocation\MailAddress2 mask= TableName=