1-19
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 1 Cisco CRS-1 Series XML API Overview
Cisco CRS-1 Series XML API Tags
.
.
Operation
2
- specific content goes here
...
</Operation
2
>
.
.
.
and so on
.
.
.
</Request>
Sample XML Response from Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion=”1” MinorVersion=”0”>
<Operation
1
>
.
.
.
Operation
1
response data returned here
...
</Operation
1
>
<Operation
2
>
.
.
.
Operation
2
response data returned here
.
.
.
</Operation
2
>
...
and so on
.
.
.
</Response>
Note All examples in this document are formatted with new lines and white space to aid readability. Actual
XML request and response streams exchanged with the Cisco CRS-1 Series router do not include new
lines and white space characters because theseelements would add significantly to the size of the XML
data and impact the overall performance of the Cisco CRS-1 Series XML API.
XML Declaration Tag
Each request and response exchanged between a client application and the Cisco CRS-1 Series router
must begin with an XML declaration tag indicating which version of XML and (optionally) which
character set are being used:
<?xml version="1.0" encoding="UTF-8"?>
The attributes of the XML declaration are defined by the XML specification:
• Version—This required attribute specifies the version of XML to be used. Only Version“1.0” is
supported by the Cisco CRS-1 Series router at this time.