}
final String value = subst.replace(event, v);
sb.append(name).append("=\"").append(value).append("\"");
parms[index] = value;
} else if (a instanceof PluginAttribute) {
PluginAttribute attr = (PluginAttribute) a;
final String name = attr.value();
final String value = subst.replace(event, getAttrValue(name, aliases, attrs));
sb.append(name).append("=\"").append(value).append("\"");
parms[index] = value;
} else if (a instanceof PluginElement) {
final PluginElement elem = (PluginElement) a;