XML databases are a type of structured document-oriented database that allows querying based on XML document attributes. How is XML used in enterprise database management?