User Guide
25
2.2 Output XML data
2.2.1 Overview
If an argument "-o | -output format=clpxml" is specified, output is in XML format. An XML schema of the
XML is described in "9.1.2XML Schema for response file".
2.2.2 XML elements
Standard contents of the response XML are as below. A format of <COMMAND> element is different from
each basic commands. Details of other elements are described in Table 2-2.
<!-- In the case of successful -->
<?xml version="1.0" encoding="UTF-8"?>
<response>
<command>
<inputline>…</inputline>
</command>
<cmdstat>
<status>0</status>
<status_tag>COMMAND COMPLETED</status>
</cmdstat>
<COMMAND>
</ COMMAND >
<oemdata>
</oemdata>
</response>
<!-- In case of error -->
<?xml version="1.0" encoding="UTF-8"?>
<response>
<command>
<inputline>…</inputline>
</command>
<cmdstat>
<status>3</status>
<status_tag>COMMAND EXECUTION FAILED</status>
<error>255</error>
<error_tag>COMMAND ERROR UNSPECIFIED</error_tag>
</cmdstat>
< COMMAND >
</ COMMAND >
<oemdata>
</oemdata>
</response>