×
Menu
Index

Element Tables

 

Introduction

Configuration files can be based on an XML Schema (XSD). In a Local Configuration their are 2 choices, first you can load an XML Schema per Local Configuration. This can be hard to maintain if you use a lot of Local Configurations. Also using an Element Table locally consumes a lot of memory. So it is a good idea to use a Global ElementTable if you need the same XML structure in more than one Local Configuration.
 
The ElementTable screen contains two tabs.
 

Tab ElementTable

Description

Enter a description of the ElementTable.
 

Schema (XSD)

Contains the path and the filename of the XSD file that should be used in this Element Table.
 
Tip!
Use a relative path so that your configurations will continue working even after the file are copied to another location.
 
Example:
Suppose your Configurations reside here (Project Folder):
 
C:\Users\<Username>\Documents\SoftRules\Data
 
And the XSD file is here:
 
C:\Users\<Username>\Documents\SoftRules\Data\XSD\Demo.xsd
 
You should use this value to make the location of your XSD relative.
 
\XSD\Demo.xsd
 

Elements

A list with Elements that are found in te schamefile after the Load button has been pressed.
 
This list contains the following columns:
 
Elementname
 
The name of the element.
Path
 
This column contains 'all paths' until clicked. After that the list filters to the selected element and this column show all the separate paths to these elements. Links to Units and TextValues are usually created for all paths, but when separated paths are shown, you can declare links for each separate element / path combination. Using the rightbutton and clicking 'Show all elements' you'll return to the view showing all elements (unfiltered).
Description
 
Description of the element. This will be used in the Userinterface as a default label.
Unit
 
Links the element to a Unit in the Global Configuration.
TextValues
 
Links the element to a TextValue in the Global Configuration.
 

Load button

Using this button you can (re)load the XML Schema (XSD). If multiple root elements are declared in your schemafile, a popup appears in which you can make a selection.
 

Search

This field works as a filter to the elementnames.
 

Tab Tools

This tab locates some tooling that you can use to copy links to Units and TextValues from another Configuration or Element Table. Check 'Override' if values may be overwritten.