SQL Server 2008 continues the standard for XML integration introduced with the SQL Server 2005 release. The new generation of XML support offers much tighter integration with T-SQL through the
xml data type, support for the World Wide Web Consortium (W3C) XQuery and XML Schema recommendations, and improvements to legacy XML functionality.
SQL Server 2008's tight XML integration and the
xml data type provide streamlined methods of performing several XML-related tasks that used to require clunky code to interface with COM objects and other tools external to the SQL Server engine. This chapter discusses the new
xml data type and the XML tools built into T-SQL to take advantage of this new functionality.
T-SQL support for XML ...