... we ship an XQuery subset in SQL Server 2005 when it has been removed from the .Net Framework can be found here.