             return S3DMtlDescriptorElement(type: nodeType, elem: elem)
         case .MtlDescriptorType:
             return S3DMtlDescriptorType(type: nodeType, elem: elem)
-        case .XSDAttributeGroup:
-            return S3DXSDAttributeGroup(type: nodeType, elem: elem)
+//        case .XSDAttributeGroup:
+//            return S3DXSDAttributeGroup(type: nodeType, elem: elem)
         }
     }
     

    case MtlDescriptorElement(name: String)
    case MtlDescriptorType(name: String)
//    case XSDAttribute(name: String) // do i realllly need attribute?
    case XSDAttributeGroup(name: String)
    
    //methods to construct document selector for dependency
    

        switch tag {
//        case "xs:attribute": //don't need it in parseXSD()
//            return .XSDAttribute(name: name)
//        case "xs:attributeGroup":
//            return .XSDAttributeGroup(name: name)
        case "xs:element":
            return .MtlDescriptorElement(name: name)
        case "xs:complexType":
