This documentation is archived and is not being maintained.

New FOR XML Features

The FOR XML feature introduced in SQL Server 2000 is enhanced in SQL Server 2005, with both new features and updates to the existing functionality. For more information, see Constructing XML Using FOR XML.

The following topics describe the enhancements: