Enable map chunking for the QA plugin

The acme.dita2qareport target is a target that calls the DITA-OT to run a transformation, but you can use existing Ant tasks to customize this target.

You can modify the source files before sending them to the DITA-OT or modify the output before sending it back to the end user.

To produce the report, the input map must have chunk="to-content" set at its root, so you don't want to have to add the parameter each time you want a report for the map and then remove it afterward.

IXIA CCMS Output Generator already includes a target defined in conductor-ixia-cr.xml that chunks an entire map. This target is named dita2xhtmlcr.addchunkattr and is used by the Collaborative Review and Approval creation process. You can use this same target but you must import the conductor-ixia-cr.xml into your conductor-client.xml file.

To modify a map before generating the QA report:

  1. Add the highlighted line to conductor-client.xml.
    <!-- Import basic init -->
    	<import file="outgen-init.xml"/>
    	<import file="conductor-ixia-cr.xml"/>
  2. Add the dita2xhtmlcr.addchunkattr target as a dependency to the qa.report target.
    <target name="qa.report" depends="default_dependencies, flatten, resolve_container_keyref, extract_HiRes_images, dita2xhtmlcr.addchunkattr">
  3. Save conductor-client.xml.
    Note: You do not need to restart the Ixiasoft Output Generator service.