Method: MergeSourcesToXml ( … )

Merges all the specified data source names into a single Xml-document. The data sources must be of the Table-type.

Syntax

string MergeSourcesToXml( string[] sourceNames )

Method Parameters

stringsourceNames // A list of all the data source names to merge into an Xml-document.

Example

Below example shows how to merge the content from 3 named data-sources into an Xml-document, and then set the Xml content as a source on the Data Sources Stack (e.g. so it can be processed by other Action commands.

string myXml = MergeSourcesToXml( "Products", "Categories", "Features" ); Sources["MyXmlData"] = myXml;