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

When an execution result is output in XML format, an XML declaration, a DOCTYPE declaration, and
XML elements are output.
First line:
An XML declaration and a line feed code are output.
Device Manager CLI uses UTF-8 encoding to output the execution result according to the XML 1.0
specifications recommended by W3C.
Second line:
A DOCTYPE declaration and a line feed code are output.
In the DOCTYPE declaration, the URI (Uniform Resource Identifier) of the DTD (Document Type
Definition) specified in the properties file is output.
To include the DOCTYPE declaration and line feed code in the execution results, you must specify
a DTD in the properties file.
Third line:
XML elements are output.
The DvMCLIResult element, which is the root element of the XML-formatted output, indicates
the execution result of Device Manager CLI. The version attribute of the DvMCLIResult element
indicates the Device Manager CLI version.
The CommandResult element indicates the Device Manager CLI command execution result.
Related topics
Property for specifying the DTD file (dtd), page 471
The DTD used for outputting execution results in XML format (GetStorageArray), page 492
The DTD used for outputting execution results in XML format
(GetStorageArray)
This section describes the DTD used for outputting execution results of the GetStorageArray
command in XML format. If a DTD file that has been created in advance is specified in the properties
file, the path of the DTD file is displayed in the command execution results in the DOCTYPE declaration.
You cannot specify the DTD file from the command line.
The DTD used for outputting execution results in XML format is as follows:
<!ELEMENT DvMCLIResult (CommandResult)>
<!ELEMENT CommandResult (StorageArray)*>
<!ELEMENT StorageArray (ArrayGroup | CommParameters | Component
| HostStorageDomain | LDEV | LogicalDKC | LogicalUnit | Path
| PDEV | Pool | Port | PortController
| ReplicationInfo | MFReplicationInfo | SnapshotGroup
| ExternalStorage | TieringPolicy | VResourcePartitionUnit)*>
<!ELEMENT ArrayGroup (FreeSpace | LogicalUnit | PDEV
| RelatedDistributedArrayGroup | ExternalPathInfo)*>
<!ELEMENT HostStorageDomain (FreeLUN | Path | WWN | ISCSIName
| VHostStorageDomain)*>
<!ELEMENT LDEV (VolumeConnection | ObjectLabel | VLDEV)*>
<!ELEMENT LogicalUnit (LDEV | Path | VolumeConnection)*>
<!ELEMENT MFReplicationInfo (LDEV)*>
<!ELEMENT Path (HostInfo | WWN | ISCSIName)*>
<!ELEMENT Pool (LDEV | LogicalUnit | PairedPool | ReplicationInfo
| ArrayGroup | PoolTier)*>
Output format of execution results of the GetStorageArray command492