1.18. Element subProcess

<subProcess
  name = NMTOKEN (optionally preceded by
  a command namespace)
  parameter = string
/>

Invokes the process command whose name is specified by attribute name. Optional attribute parameter may be used to parametrize the behavior of the invoked process command.

This element returns the result of its last executed child element which itself returns a result (if any).

Example: the following process command is used to convert a DocBook document to PostScript® or to PDF.

  <command name="docb.toPSFile">
    <process>
      <subProcess name="docb.toPS" parameter='"%0" "%1" "%2" "%3"' />

      <upload base="%4">
        <copyFile file="__doc.%0" to="%4" />
      </upload>
    </process>
  </command>