13,212
edits
(→Adding a Property-rule Configuration to Aircraft: + <name> tag) |
|||
Line 67: | Line 67: | ||
To achieve this load your filters configuration by adding: | To achieve this load your filters configuration by adding: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<property-rule n="100"> <!-- "n" needs to be >= 100 to avoid overwriting other predefined global rules (in particular the environment ones) | <property-rule n="100"> <!-- "n" needs to be >= 100 to avoid overwriting other predefined global rules (in particular the environment ones) --> | ||
<path>Systems/my-propertyrules.xml</path> <!-- path can be relative to the current aircraft-set.xml location --> | <name>My property rule</name> <!-- Optional name tag useful for debugging and other maintenance --> | ||
<path>Systems/my-propertyrules.xml</path> <!-- path can be relative to the current aircraft-set.xml location --> | |||
</property-rule> | </property-rule> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 77: | Line 78: | ||
<systems> | <systems> | ||
<!-- many other elements live here --> | <!-- many other elements live here --> | ||
<property-rule n="100"> <!-- "n" needs to be >= 100 to avoid overwriting other predefined global rules (in particular the environment ones) | <property-rule n="100"> <!-- "n" needs to be >= 100 to avoid overwriting other predefined global rules (in particular the environment ones) --> | ||
<path>Systems/my-propertyrules.xml</path> <!-- path can be relative to the current aircraft-set.xml location --> | <name>My property rule</name> <!-- Optional name tag useful for debugging and other maintenance --> | ||
<path>Systems/my-propertyrules.xml</path> <!-- path can be relative to the current aircraft-set.xml location --> | |||
</property-rule> | </property-rule> | ||
</systems> | </systems> |