CHAPTER
13-115
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
13
Cisco CRS-1 Series XML Schemas
The structure and allowable content of the extensible markup language (XML) request and response
instances supported by the Cisco IOS XR XML API are documented by means of XML schemas (.xsd
files).
Note The XML API code is available for use on any Cisco platform that runs Cisco IOS XR software.
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.
This chapter contains information about common XML schemas.
XML Schema Retrieval
The XML schemas that belong to the features in a particular package are obtained as a .tar file from
cisco.com (follow the link on the page from which your particular package was downloaded). Once
untarred, all the XML schema files will appear as a flat directory of .xsd files, any of which can be
opened up 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