// parse the aspect with its pointcut-def, bind-advice and bind-introduction rules
boolean hasDef = false;
for (Iterator it1 = root.elementIterator("aspect"); it1.hasNext();) {
final AspectDefinition aspectDef = new AspectDefinition();
final Element aspect = (Element)it1.next();
for (Iterator it2 = aspect.attributeIterator(); it2.hasNext();) {
Attribute attribute = (Attribute)it2.next();
final String name = attribute.getName().trim();
final String value = attribute.getValue().trim();
if (name.equals("name")) {
aspectDef.setName(value);