Using XMetal Author Enterprise 6.0 SP1 (version 6.0.2.070) with SP Edition (version 2.0.0.061):
I have created a deliverable based on the Multiple XHTML Files output format. This custom deliverable specifies values for certain of the parameters defined by the output format, such as the name of the XSL stylesheet.
In addition to the parameter values, I want to specify some additional batch processing; in particular, I want to copy certain icons into the output directory. Can I add a
<bat_content> element to the
<config> element that defines my deliverable? Or does
<bat_content> only apply to output formats?
In other words, if I want custom batch processing, must I clone the Multiple XHTML Files output format, and base my deliverable on the clone?
Of course the first thing I did was to try it. I added a single batch line to the
<config> element that defines my deliverable:
<bat_content>
<bat_line>echo Hello world</bat_line>
</bat_content>
It didn't work, as far as I could tell -- I didn't see "Hello world" in the log file anywhere. But maybe I didn't add the
<bat_content> section to my deliverable in exactly the right way.