﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / Change XML output hierarchy in a SELECT...FOR XML clause / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 22:40:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Change XML output hierarchy in a SELECT...FOR XML clause</title><link>http://www.sqlservercentral.com/Forums/Topic735374-338-1.aspx</link><description>Hi Valle,you might want to read the following article [url]http://www.sqlservercentral.com/articles/SS2K5+-+XML/2982/[/url].If you have further questions please provide sample data as described in the link in my signature. Please use [ code="xml" ] tag (with removed spaces) for xml sample data.</description><pubDate>Tue, 16 Jun 2009 00:47:27 GMT</pubDate><dc:creator>LutzM</dc:creator></item><item><title>Change XML output hierarchy in a SELECT...FOR XML clause</title><link>http://www.sqlservercentral.com/Forums/Topic735374-338-1.aspx</link><description>Hi, I'm trying to create an XML output file with some hierarchy using a a SELECT...FOR XML clause, to group equal values in rows in the same XML node.I've tried   with AUTO and EXPLICIT clauses but its doesn't work as I need.Best Regards,Valle</description><pubDate>Mon, 15 Jun 2009 17:05:59 GMT</pubDate><dc:creator>JDValle</dc:creator></item></channel></rss>