14. Input

There are three ways to specify an input binding in the configuration:

Command line (long): --input port=uri
Command line (short): -iport=uri
XML configuration: <cc:input port="portname" href="uri"/>
Ant task: For detailed information on how to specify input and output files in the Ant task, see Section 2.2, “Input and output files and filesets” and Section 4.1, “input”

The input specified must be an XML document. The string “-” may be used for exactly one input URI to bind that input to stdin.

If the input binding for a particular port is repeated, all of the inputs specified will appear on that port as a sequence of documents.

If the uri does not contain an equals sign, the port specification can be left out and the input will be applied to the primary non-parameter input port.