changed XSD elements to attributes