ORA-19016: attributes cannot occur after element specifications
Cause: Attributes specified using the "@" identifier can only occur before any other element definition when creating XML
Action: Change the order of the types so that the attributes occur in the begining
Error Type: ORA