}
/* Attributes */
final String[] params = getParametersFromXML();
if (params != null) {
for (final String param : params) {
Value value = new StringValue(resourceNode.get(param));
final Value defaultValue = getParamDefault(param);
if (value.isNothingSelected()) {
value = defaultValue;
}
final Value oldValue = getParamSaved(param);
final Widget wi = getWidget(param, null);
final boolean haveChanged = !Tools.areEqual(value, oldValue)
|| !Tools.areEqual(defaultValue, getResource().getDefaultValue(param));
if (haveChanged) {
getResource().setValue(param, value);