Command "Set"

Summary

Sets values for Properties, AttributeValues and Element content. The command belongs to the group "Set".


Parameters

Parameter Name Description Type
Ref The name of the reference to the element to set (i.e: Property; $Element; $Element.Attribute). saveReference
Value The value to set. valueexpression

Valid parameter combinations



Description

Sets either a property, an element or an element attribute to the value of a valueexpression.

Examples


Example 1

The example below set the property "lastname" to "Duck"
<Set Ref="lastname" Value="Duck"/>



Example 2

Sets the attribute "Color" of the element "Title" to "green".
<Set Ref="$Title.Color" Value="green"/>