CHAPTER
5-63
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
5
Cisco CRS-1 Series XML and Native Data Access
Techniques
This chapter describes the various techniques or strategies you can use to structure native data operation
requests to access the information needed within the extensible markup language (XML) schema object
class hierarchy.
Note The XML API code is available for use on any Cisco platform that runs Cisco IOS XR software.
Available Set of Native Data Access Techniques
The available native data access techniques are as follows:
• Request all data in the configuration hierarchy. See “XML Request for All Configuration Data”
section on page 5-64.
• Request all configuration data for a component. See “XML Request for All Configuration Data per
Component” section on page 5-64.
• Request all data within a container. See the “XML Request for Specific Data Items” section on
page 5-66.
• Combine object class hierarchies within a request. See the “XML Request with Combined Object
Class Hierarchies” section on page 5-68.
• Use wildcards in order to apply an operation to a set of entries within a table (Match attribute). See
the “XML Request Using Wildcarding (Match Attribute)” section on page 5-70.
• Repeat naming information in order to apply an operation to multiple instances of an object. See the
“XML Request for Specific Object Instances (Repeated Naming Information)” section on
page 5-72.
• Perform a one-level <Get> in order to “list” the naming information for each entry within a table
(Content attribute). See the “XML Request Using Operation Scope (Content Attribute)” section on
page 5-74.
• Specify the maximum number of table entries to be returned in a response (Count attribute). See the
“Limiting the Number of Table Entries Returned (Count Attribute)” section on page 5-75.
• Use custom filters to filter table entries (Filter element). See the “Custom Filtering (Filter Element)”
section on page 5-77.