This statement has the following parameter:
Parameter |
Description |
---|---|
Parameter list |
Literals or identifiers of data items, which comprise a list containing at least one name/value pair to be used whenever transform operations are performed. Names in the list must be nonnumeric and must correspond to parameters specified in the XSLT stylesheet to have any effect. Values in the list can be numeric or nonnumeric. |
The XML SET XSL-PARAMETERS-NEW is for managed code only and must be paired with the XML END XSL-PARAMETERS-NEW statement. It allows any type of COBOL data items. It passes a list of name/value pairs to XML Extensions, where they are stored until one of the following occurs:
The saved parameters are used whenever any of the following transform operations occur:
A maximum of 20 name/value pairs may be specified. If more than 20 pairs are specified or the parameters are not specified as pairs, an error will be reported.
XML SET XSL-PARAMETERS-NEW "MY-COUNT", 7 XML END XSL-PARAMETERS-NEW. IF NOT XML-OK GO TO Z.