This section specifies the general format, syntax and processing of option string parameters in XML Services. Actions of individual options are described in the functions that reference them.Any function that has an option_string parameter accepts the union of all options, and ignores any options that do not apply to that particular function.
For example, forxmlj does not have an XML document parameter, but it still accepts an option_string containing the xmlerror option (which specifies actions for invalid XML operands).This “union options” approach lets you use a single option_string variable for all XML Services functions.
option_string::= basic_string_expression
The complete syntax of the runtime value of the option_string parameter is:
option_string_value ::= option [[,] option] … option ::= name = value name ::= option name as listed below value ::= simple_identifier | quoted_string
If an option_string parameter is null, the empty strings are all blanks.
You can use any amount of white space before the first option, after the last option, between options, and around the equals signs.
You can separate options using commas or by white space.
An option_value can be either a simple identifier, beginning with a letter and continuing with letters, digits, and underscores, or a quoted string. Quoted strings are formed using the normal SQL conventions for embedded quotes.
The set of options, and the functions to which they are applicable, are shown in Table 2-3. See specific function descriptions for descriptions of options.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |