EasyManuals Logo
Home>Cisco>Switch>11503 - CSS Content Services Switch

Cisco 11503 - CSS Content Services Switch User Manual

Cisco 11503 - CSS Content Services Switch
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #262 background imageLoading...
Page #262 background image
Chapter 7 Using an XML Document to Configure the CSS
Creating XML Code
7-2
Cisco Content Services Switch Administration Guide
OL-5647-02
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:
<?xml version=”1.0” standalone=”yes”?>
2. Enclose the CLI commands within the <action></action> tag set. For
example:
<action>add service MyServiceName</action>
<action>vip address 10.2.3.4</action>
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 <action></action> tag set. For example,
<action>service My@#Service</action>
.
If special characters do form part of an XML tag, specifically an
attribute, these characters are not supported (for example,
<service name
=
My@#Service>. In this case, the command request may be rejected or the
special characters may be discarded. You must enclose the special
characters within an <action></action> tag set, as described above.

Table of Contents

Other manuals for Cisco 11503 - CSS Content Services Switch

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 11503 - CSS Content Services Switch and is the answer not in the manual?

Cisco 11503 - CSS Content Services Switch Specifications

General IconGeneral
BrandCisco
Model11503 - CSS Content Services Switch
CategorySwitch
LanguageEnglish

Related product manuals