XSLTransform.AddParameter

Syntax variant: Set the parameter value with a full name

Syntax:

AddParameter(<FullName>, <Value>)

Parameters:

<FullName> (required)

Type: String.
Full name of the parameter.

<Value> (required)

Type: Boolean; Number; String.
Parameter value.

Syntax variant: Set the value of the parameter with the local name and URI name space

Syntax:

AddParameter(<LocalName>, <NamespaceURI>, <Value>)

Parameters:

<LocalName> (required)

Type: String.
Local parameter name.

<NamespaceURI> (required)

Type: String.
Parameter namespace URI.

<Value> (required)

Type: Boolean; Number; String.
Parameter value.

Description:

Sets the parameter value.

Availability:

Thin client, server, thick client, external connection.

Note:

If the value of the parameter with the specified name has already been defined, it is redefined.

Example:

Transform = New XSLTransform;
Transform.LoadFromFile("c:/transforms/transform.xsl");
Transform.AddParameter("low_sales", 30000);


    

1C:Enterprise Developer's Community