HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

An entry name and a line feed code are output. The entry name is output even if the entry does
not have a value.
Second and subsequent lines:
A value and a line feed code are output. An end-of-file (EOF) code is output after the last line.
NOTE:
Items output in the execution result differ depending on the parameters specified by the Device
Manager CLI command.
When you use different Device Manager CLI versions, the order and number of items output as
the execution result might be different even if the specified parameters are the same.
Outputting execution results of the GetStorageArray command
in XML format
To output the execution results of the GetStorageArray command in XML format, specify xml for
the -f (or --format) option.
To output the execution results of the GetStorageArray command in XML format:
Specify xml for the -f (or --format) option, and execute the GetStorageArray command.
Specify xml by using lowercase letters.
The execution results are output to the standard output. If you want to output the execution results
to a file, also specify the -o (or --output) option, or redirect the output to a file.
The execution results of the GetStorageArray command are output in XML format.
Related topics
GetStorageArray, page 132
Property for specifying the DTD file (dtd), page 471
XML-formatted execution results (GetStorageArray), page 491
XML-formatted execution results (GetStorageArray)
The following shows an example of output when the execution results of the GetStorageArray
command are output in XML format.
<?xml version="1.0" encoding="UTF-8"?>[CRLF]
<!DOCTYPE DvMCLIResult SYSTEM "CLI-DTD-URL.dtd">[CRLF]
<DvMCLIResult version="version"><CommandResult command="GetStorageArray">
<StorageArray attr-name="attr-value" attr-name="attr-value" ... >
</StorageArray> ... </CommandResult></DvMCLIResult>
Legend:
attr-name: Entry name
attr-value: Value
[CRLF]: Line feed code
CLI Reference Guide 491