High Performance DOCX Generation using DocumentAssembler
Return to the
Developer CenterRelease of DocumentAssembler, a high-performance tool for generating customized documents from any data source that can be serialized as XML. DocumentAssembler is in Open-Xml-PowerTools version 4.0, which is available on GitHub.
The DocumentAssembler module processes a template document that contains special strings of text that specify how to pull data from the XML (using XPath expressions) to populate the assembled document. It has the following features:
- Formatting from the template document flows through to the assembled document. This gives you the flexibility you need to format the generated documents as your scenario requires.
- Generate tables from repeating data in the XML. Formatting of the table from the template document flows through to the generated documents.
- Generate repeating content from repeating data in the XML.
- Conditionally include content in the generated document based on data in the XML.
The following screen-cast demonstrates and discusses DocumentAssembler in depth: