// Insert the mixin elements
Element mixinsElement = doc.createElement("Mixins");
descriptorElement.appendChild(mixinsElement);
for (Iterator itr = mixinMap.valueIterator(); itr.hasNext(); )
{
Element mixinElement = XMLUtil.addChildElement(mixinsElement, null, "Mixin");
NamedNodeMap map = ((Element)itr.next()).getAttributes();
for (int i = 0, n = map.getLength(); i < n; ++i)