} else if (el instanceof XMLComplexElement) {
List attributes = ((XMLComplexElement) el).getXMLAttributes();
String str = "\n\tElement type=" + el.toName();
for (int i = 0; i < attributes.size(); i++) {
XMLAttribute attr = (XMLAttribute) attributes.get(i);
str += "\n\t " + i + ". attribute [" + attr.toName() + "," + attr.toValue() + "]";
}
List elems = ((XMLComplexElement) el).getXMLElements();
for (int i = 0; i < elems.size(); i++) {
XMLElement attr = (XMLElement) elems.get(i);
if (attr instanceof XMLSimpleElement) {