Mapping of a “Repeating section content control” with a name space
Keywords: C#, Word 2015, CustomXml, VSTO, XMLMapping.
This text is provided to assist VSTO programmers with mapping of “repeating section content controls” when names spaces are involved. Based on my testing, only prefix “ns0:” works for mapping of a repeating section content control. If other prefix letters are used, the repeating section will not work properly. See code:
Here the prefix is: prefixBooks = @”xmlns:ns0=’http://some-namespace.com/bookschema'”;