-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
drakehutner edited this page Apr 23, 2013
·
4 revisions
Hydra uses XML-based configuration files.
A configuration is a tree of configlist
and configvalue
.
Every item in the configuration has a name attribute.
- A
configlist
contains a list of subitems, which are eitherconfiglist
orconfigvalue
. - A
configvalue
is always a leaf in the resulting configuration tree and contains a single value.
<?xml version="1.0" encoding="utf-8"?>
<hydra:configuration name="configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:hydra="http://www.gethydrated.org/schema/configuration"
xsi:schemaLocation="http://www.gethydrated.org/schema/configuration http://www.gethydrated.org/schema/configuration.xsd">
<configlist name="list">
<configvalue name="subitem1" value="Some value" />
<configvalue name="subitem2" value="Some more value" />
<configvalue name="subitem3" value="1.0" />
</configlist>
</hydra:configuration>