Enable map chunking for the QA Plugin
The acme.dita2qareport target is a target that
calls the DITA-OT to execute a transformation (in this
case, with the qa
transtype that is defined by the QA Plugin),
but you can use existing Ant tasks to customize this target as necessary.
For example, 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.
Modifying the map before generating the QA report
To produce the report, the input map must have chunk="to-content"
set at its root. You don't want to have to add this each time
you want a report for the map and then remove it afterward.
IXIA CCMS Output Generator already includes a
target (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.
- Add the highlighted line to conductor-client.xml:
<!-- Import basic init --> <import file="outgen-init.xml"/> <import file="conductor-ixia-cr.xml"/>
- 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">
- Save conductor-client.xml.
You do not need to restart the Ixiasoft Output Generator service.