<< Back to the snippet list
Merge Xml Files in PDF Document & Reduce Code Duplication
This technical tip shows how to merge Xml Files in PDF Document. Sometimes different PDF documents share some same content. For example, a number of PDF documents may have the same header or footer. In such cases, a lot of code duplication might be experienced by developers. To reduce this code duplication, it's a good practice to save the content (shared by multiple PDF documents) into different XML files and then merge the XML files together before generating PDF documents.
Generating PDF documents
merge Xml files in PDF document
reduce code duplication
merge the XML files
Use XSLT file
combine shared content from different XML files