Sql XML Path with different children
问题 I have done a lot of XML PATH statements, but this one escapes me or might not even be possible with multiple different children. The end result should look like this <Process> <TaskList> <SqlTask Name="Get Report Parameters"> <StoredProcName>GetReportParameters</StoredProcName> <ConnectionName>Local</ConnectionName> <DataTableName>DistributionList</DataTableName> <Parameters> <Parameter> <Name>ReportName</Name> <Value>TheReprot</Value> <Type>String</Type> </Parameter> </Parameters> </SqlTask