XML features are enhanced in SQL Server 2005, allowing for more flexible XML generation and querying of XML data stored in databases. Key features include improvements to the FOR XML and OPENXML functions that provide more options for generating XML. The XML data type allows XML to be stored and queried using XQuery expressions. XML schemas can also now be associated with XML columns to validate typed XML instances.