measureFolder.addMeasure(sales);
measureFolder.addMeasure(cost);
measureFolder.addMeasure(price);
// Write the XML string for the analytic workspace.
String XML = globalAW.WriteToXML();
try
{
File xmlFile = new File(xmlStr);
FileWriter xmlout = new FileWriter(xmlFile);