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

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. For details about specifying a DTD, see Specifying a
DTD on page 412.
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.
Specifying a DTD
To use a DTD when you output the execution results of the GetStorageArray command in XML
format, specify the URI of the DTD in the dtd property of the properties file (hdvmcli.properties).
The following shows an example that specifies D:/dtd/cli.dtd as the URI of the DTD.
dtd=D:/dtd/cli.dtd
NOTE:
The Device Manager CLI does not check whether the specified DTD URI is a well-formed URI, nor
does it perform any error processing.
You must create the DTD to be used by the Device Manager CLI. For details about creating a DTD,
see Using a DTD with the Device Manager CLI on page 412.
You cannot specify a DTD from the command line.
Using a DTD with the Device Manager CLI
To use a Document Type Definition (DTD), you must create a DTD containing the following:
<!ELEMENT DvMCLIResult (CommandResult)>
<!ELEMENT CommandResult (StorageArray)*>
<!ELEMENT StorageArray (ArrayGroup | CommParameters | Component
| HostStorageDomain | LDEV | LogicalDKC | LogicalUnit | Path | PDEV
| Pool | Port | PortController | ReplicationInfo | MFReplicationInfo
| ExternalStorage)*>
<!ELEMENT ArrayGroup (FreeSpace | LogicalUnit | PDEV
| RelatedDistributedArrayGroup | ExternalPathInfo)*>
<!ELEMENT HostStorageDomain (FreeLUN | Path | WWN | ISCSIName)*>
<!ELEMENT LDEV (VolumeConnection | ObjectLabel)*>
<!ELEMENT LogicalUnit (LDEV | Path | VolumeConnection)*>
<!ELEMENT MFReplicationInfo (LDEV)*>
<!ELEMENT Path (HostInfo | WWN | ISCSIName)*>
<!ELEMENT Pool (LDEV | LogicalUnit | PairedPool | ReplicationInfo
| ArrayGroup | PoolTier)*>
<!ELEMENT Port (HostStorageDomain | WWN | ISCSIName)*>
<!ELEMENT PortController (IPAddress | PairedPortController)*>
<!ELEMENT ReplicationInfo (LogicalUnit)*>
Properties file412