Specifications
CHAPTER
13-117
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
13
Cisco CRS-1 Series XML Schemas
This chapter contains information about common XML schemas. The structure and allowable content of
the extensible markup language (XML) request and response instances supported by the Cisco IOS XR
XML application programming interface (API) are documented by means of XML schemas (.xsd files).
The Cisco CRS-1 Series XML schemas are documented using the standard World Wide Web Consortium
(W3C) XML schema language, which provides a much more powerful and flexible mechanism for
describing schemas than can be achieved using Document Type Definitions (DTDs). The set of
Cisco CRS-1 Series XML schemas consist of a small set of common high-level schemas and a larger
number of component-specific schemas as described in this chapter.
Note For more information on the W3C XML Schema standard, refer to http://www.w3.org/XML/Schema.
The following sections are described:
• XML Schema Retrieval, page 13-117
• Common XML Schemas, page 13-117
XML Schema Retrieval
The XML schemas that belong to the features in a particular package are obtained as a .tar file from
cisco.com at http://www.cisco.com/cgi-bin/Software/IOXPlanner/ioxplanner.cgi. Once untarred, all the
XML schema files appear as a flat directory of .xsd files, and can be opened with any XML schema
viewing application such as XMLSpy.
Common XML Schemas
Among the .xsd files that belong to a BASE package are the common Cisco IOS XR XML schemas that
include definitions of the high-level XML request and response instances and a number of common
datatype definitions. These common XML schemas are:
• common_types.xsd
• error_types.xsd
• namespace_types.xsd
The XML schema file containing all configuration operations is also among the BASE package common
schemas, and is named cfgmgr_operations.xsd.