Appendix B

XML Format 2

B.1

Introduction

NOTE:

XML files created using the -x2command line option match standard output. They do not match the X1 files which are designed for backward compatibility with customized legacy scripts. If you are developing new scripts, we strongly recommend using the -x2command line option which generates standard output XML files (see Appendix A).

The -x2command line option (see section 5.3.35) displays all output in XML Format 2. This section defines the XML2 output format, which consists of the following parts:

„Main tag

„Utility header

„Status message

„XML2 message (one for each option)

B.2

Main Tag

When SANsurfer FC HBA CLI is in XML2 mode, all outputs are between the main tags:

<QLogic>

...

</QLogic>

B.3

Utility Header

The following header information is displayed after the main tag:

<AppName> SANsurfer FC HBA CLI </AppName> <AppVersion> X.YY.ZZ Build XX</AppVersion> <AppXMLVersion> X.YY </AppXMLVersion>

SN0054614-00 F

B-1

Page 205
Image 205
Q-Logic FC HBA CLI manual Appendix B