Skip to main content
1-Visitor
June 19, 2015
Question

Print Compose multiple XML files into one PDF?

  • June 19, 2015
  • 1 reply
  • 6496 views

Fellow Forum Members,

Is it possible in Arbortext Editor 6.1 to use the Print Compose feature for the task of printing 150 separate XML files into a single PDF in a batch mode process? The idea I have is to code a XML file that will list all of the XML files in the order I want and here is where I need help. How can I direct the Print Compose tool to print all of the XML files in a batch mode by using such a XML list file?  Any opinion on how I can accomplish this will be greatly appreciated.  Thanks in advance.

1 reply

1-Visitor
June 19, 2015

Hi Ivan,

This sounds like the sort of thing which is typically handled by creating a top-level XML file which references the 150 other files via XML Include or file references. This requires that the top-level tag in your included files is allowed (in context) within some tag in your including document. This may require a small amount of DTD/XML Schema work. Or the 150 files could be saved as fragments with their top-level tag removed. One way to create such fragments is to select everything except the top-level tag and Select Entities > Create File Entity from Selection.

Is this along the right lines, or did I misunderstand your situation?

Best regards,

Gary Grosso

Oberon Technologies Inc

1-Visitor
June 19, 2015

If this is something that you need to do regularly, I suggest Gary's first approach of modifying your Schema/DTD to support a top-level XML file (map?) that references the XML that you need to publish. Then you can use File References (xincludes) to reference the other XML files.

-Jeff