Options

Xoom Processor takes various global options that can be used to control and modify its behaviour.

Railroad diagram for grammar entity Options in Xoom Processor.

Options  ::= ( '--describe' | '-d' )? '--enable-set'? ( '-v' n )? ( '--comparer-config' ComparerFileName )?
           | ( '--help' | '-h' )?
The available options are:

Using the describe option

xp -d : default.xml % t1.xsl % t2.xsl default-t1-t2.xml

Produces the following description without actually running the operations:

Get from query 'DEFAULT' on server 'localhost' 
       Write to file 'default.xml' 
       Transform using XSL stylesheet from file 't1.xsl' 
       Transform using XSL stylesheet from file 't2.xsl' 
       Write to file 'default-t1-t2.xml'

Deploying a configuration patch to two Xoom servers

xp --enable-set patch.xml ( server1: response1.xml ) ( server2: response2.xml )

This command deploys XoomXML in the file patch.xml to two live Xoom servers: server1 and server2. After each deployment, the response is saved as response1.xml and response2.xml respectively. At the end of each subsequence the inner buffer containing the Xoom response is discarded, and the outer buffer with the initial source document, in this case patch.xml, becomes the buffer that is fed into further operations or subsequences.