I've been checking out what is possible with the Office Open XML specification for documents. I'm particularly interested in being able to add custom XML content to a document and binding it to content controls. I was wondering if it is possible to have a repeating content control type?
For example, say I have some custom XML in my .docx file that looks like so:
<Work>
.
.
<People>
<Person>
<Name>Jane Doe</Name>
<EmailAddress>[email protected]</EmailAddress>
</Person>
<Person>
<Name>John Doe</Name>
<EmailAddress>[email protected]</EmailAddress>
</Person>
</People>
</Work>
Is there any repeating content control (similar to an ASP repeater) that I could use to generate output that looks something like
- Jane Doe ([email protected])
- John Doe ([email protected])
If there are no types of controls, I guess I could do some processing on the word document itself to generate a list. Has anyone done this and have some helpful pointers?