Cisco 11503 Administration Guide - Page 262
Creating XML Code
UPC - 746320664958
View all Cisco 11503 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 262 highlights
Creating XML Code Chapter 7 Using an XML Document to Configure the CSS Creating XML Code When developing XML code for the Content API to issue CLI commands, adhere to the following guidelines. You can use any text editor for creating the XML code. The maximum number of characters for each tag set is 300. 1. Include the following line as the first line in the XML file: 2. Enclose the CLI commands within the tag set. For example: add service MyServiceName vip address 10.2.3.4 Note A nested script play command (to execute a script line by line from the CLI) is not allowed in an XML file. This restriction is enforced because the actual execution of the XML tag set is performed within a script play command 3. If special characters are required in an XML configuration, be aware of the following considerations: - The CSS supports the inclusion of the and ) characters in XML content. All other special characters (such as , and %) are not supported in an XML configuration. - Special characters can be included in a service, owner, or content name provided that the name is included in the content of the XML element and the name is enclosed within an tag set. For example, service My@#Service. - If special characters do form part of an XML tag, specifically an attribute, these characters are not supported (for example, . In this case, the command request may be rejected or the special characters may be discarded. You must enclose the special characters within an tag set, as described above. Cisco Content Services Switch Administration Guide 7-2 OL-5647-02