Command "LoadPropFromEle"

Summary

Defines properties from a textcontent of an XML element.Each property has to be defined as 'name=value'.Several property definitions have to be separated by a [newline]. The command belongs to the group "Control".


Parameters

Parameter Name Description Type
EleRefFrom The XML element that contains the property definition elementReference
EleRefProp The reference of an XML Element under which the properties shall be copied in XML-format. elementReference

Valid parameter combinations



Description

Loads one or more properties listed in the body of an element "EleRefFrom" into memory and adds them to the element "EleRefProp". The properties loaded are available for use in subsequent commands.

Examples


Example 1

The example below loads the properties "lastname" and "firstname" and adds them to the element "myTargetElement"
<myElement>
lastname="Duck" firstname="Daisy"
</myElement>
<LoadPropFromFile EleRefFrom="$myElement" EleRefProp="$myTargetElement"/>