×
Menu
Index

Assignment - Common tab

 
 

Element

Enter the name of the XML element that should be written. If you are using an XML schema in your Configuration you will see a list of elements matching the pattern that you are typing. If you want to see a complete list with elementnames, click the link Element.
 

Variables

If you want to use a Variable (to temporary store a value), you can use a hash (#) as a prefix in the name. This value will not be available in in- and output XML documents.
 

#Result

The Variable #Result has a specific function in Functions and should therefore not be used elsewhere.
 

Joker *

By using jokers at the beginning or the end of the name of an element, you can let SoftRules® fill in the rest if the Configuration uses an XML schema.
 
Attention!
The use of jokers in elementnames should not be used if the name is fully known. This is because the use of jokers will degrade your performance.
 

Attributes

If the element contains a list of attributes, these list will be shown here. You can enter a value behind each attribute to select the element with the correct attribute values.
 

Alt. path

The path to the element appears in this field. You are free to select another path (within the boundaries of your schema if Strict XML is checked).
 
Tip!
For more information about addressing in XML documents, look here.
 

Relative Paths

When checked, the Alt. path dropdown will not appear in absolute paths, but in relative paths to the element. Relative paths start from the current position and use .. to go one step up in the hiërarchie. You can use . to navigate from your current position deeper into the hiërarchie.
 
If you selected an Element without a current path (like in a Function) and you check Relative paths, the following popup will be shown:
 
The combobox contains all the paths. Chose one and click Ok to use this absolute path as Current path.
 
By default Relative paths will be checked in situations where the current position is known.
 
Attention!
Always use Relative paths in your configuration to get maximum flexibility
 
 

Type

Possible values:
=
 
The value that is written to the element overwrites the current value
+
 
The value that is written to the element will be added to the current value
-
 
The value that is written to the element will be subtracted of the current value
x
 
The value that is written to the element is multiplied by the current value
/
 
The value that is written to the element is will be used as  a divider of the current value
 

Value

The value written to the element. Depending of ValueType this field has a different meaning. Double clicking this field opens the Value editor, but it is only parsed as a formula if the ValueType is 'Formula'.
 

Library

If you want to use a Table or a Function, you can chose the Configuration where this Table or Function resides.
 

Multiple Instances

When the multiple occurance indicator in the schema allows it (i.e. MaxOccurs is greater than 1) you haver the possibility to check Multiple Instances. In that case the Value of the Element will not be overwritten, but a new Element with the same name in the same path will be written.
 

ValueType

Possible values:
 
Fixed
 
The Value is taken literally into the Element.
Table
 
The Value is the ID of a Table in Configuration (Library). That Table will be used to fetch the Value that is written to the Element. To help you editing Table ID's, a dropdown with all Table names will be shown.
Function
 
The Value is the ID of a Function in Configuration (Library). That Function will be used to fetch the Value that is written to the Element. The help you editing the Function ID's, a dropdown with all Function names will be shown.
 

XML Transformation link

Clicking the link XML Transformation link will show the following dialogue.
 
 
Using this it is possible to call Functions that use a different schema by translating your XML's using XSLT files (one for IN and one for OUT XML).
 
Copy
 
The value of the Value field contains the name of an Element that should be copied to Element.
 
If this Element is located in a different path, you can use the following format (example):
 
../OB/OB_VWACA
 

Attention!
Don't use square brackets here. This is not a Formula.

Formula
 
The value in Value is a  Formula. Use the Value editor to edit this.
 
HTML
 
The Value should be seen as HTML text.
 
 

Category

See here.
 

Create Question

This functionality makes it possible to create a Question coupled to this Assignment directly. You should already have defined a Userinterface for this Question.
 
Select your Userinterface and a Group where the new Question should be created.