During the lab, you will extend the XProc pipeline document created in the previous lab so
that when it is run on a DITA Map, it will include all of the DITA Topics referenced by the Map in the
processing.
To complete the lab, you will need the following stylesheets:
list-map-images-xhtml.xsl
list-map-images-copy.xsl
-
In the lab folder, make a copy of the XProc pipeline document you created in the previous
lab.
-
Open the
pipeline.xpl
file in your favorite editor.
-
Import the
parse-hrefs.xpl
pipeline library, using the following URN:
cpnz:dita:xpl:parse-hrefs.xpl.
<p:import href="cpnz:dita:xpl:parse-hrefs.xpl" />
-
After the p:load step, add a dita:parse-hrefs step.
<dita:parse-hrefs name="parse-hrefs" />
-
Modify the two XSLT steps to use the
list-map-images-xhtml.xsl
and
list-map-images-copy.xsl
stylesheets instead of the topic ones.
-
Save your changes.
-
Test your XProc pipeline with the com.componize.samples.lab12.PipelineTest unit
test.