// Add any extra attributes.
if ((value = pi.getValue("attribute")) != null) {
String name = value;
Scope scope = parser.getScope();
AttributeDefinition definition = scope.addAttributeDefinition(
name);
definition.setType(pi.getValue("type"));
definition.setUse(pi.getValue("use"));
List attributes = attributesStructureInfo.getAttributes();
attributes.add(definition);
}