Module instance sets file
This page is the generated field list for ModuleInstanceSets.xml — a small
lookup file that gives a single id to a group of
module instance ids, so other config
can reference “all the import modules” (for example) instead of listing each
one.
At a glance
Section titled “At a glance”Purpose
: Groups module instance ids under one moduleInstanceSetId, listed either
explicitly (moduleInstanceId, repeated) or by wildcard pattern
(moduleInstanceIdPattern, using */?).
Folder
: Config/RegionConfigFiles/
Root element
: <moduleInstanceSets> (version="1.1", required)
Depends on : The instances it lists must exist in Module instance descriptors.
Minimal example
Section titled “Minimal example”<?xml version="1.0" encoding="UTF-8"?><moduleInstanceSets xmlns="http://www.wldelft.nl/fews" version="1.1"> <moduleInstanceSet id="AllRainfallForecasts" name="All rainfall forecast imports"> <moduleInstanceIdPattern>*_Rainfall_Forecast</moduleInstanceIdPattern> </moduleInstanceSet></moduleInstanceSets>Field reference
Section titled “Field reference”Auto-generated from moduleInstanceSets.xsd. Descriptions are the schema's own annotations.
Element <moduleInstanceSets>
Attributes
| Attribute | Use | Notes |
|---|---|---|
version | required | fixed: 1.1. |
Elements
| Element | Type | Cardinality | Description |
|---|---|---|---|
moduleInstanceSet | ModuleInstanceSetComplexType | required · repeats |
ModuleInstanceSetComplexType
Attributes
| Attribute | Use | Notes |
|---|---|---|
id | required | |
name | optional |
Elements
| Element | Type | Cardinality | Description |
|---|---|---|---|
description | string | optional | |
moduleInstanceId | idStringType | required | |
moduleInstanceIdPattern | idStringType | required | * and ? can be used, eg *_Rainfall_Forecast |
Gotchas
Section titled “Gotchas”- Inside one
moduleInstanceSet,moduleInstanceIdandmoduleInstanceIdPatternare a repeated choice — mix explicit ids and wildcard patterns in the same set if needed; the field reference lists both as top-level fields but they aren’t required together.
See also
Section titled “See also”- Reference: Module instance descriptors file
- Schema:
moduleInstanceSets.xsd