Improv acc xml
[anna.git] / source / statistics / Accumulator.cpp
index c3e3b2c..255489c 100644 (file)
@@ -395,7 +395,7 @@ anna::xml::Node* Accumulator::asXML(anna::xml::Node* parent, const int & numberO
     concept->createAttribute("Id", conceptId);
     concept->createAttribute("Description", conceptDescription);
     concept->createAttribute("Unit", conceptUnitDescription);
-    anna::xml::Node* data = concept->createChild("Data");
+    anna::xml::Node* data = concept->createChild("Sample");
 
     if(ptrConceptData->Size != 0) {
       data->createAttribute("Size", anna::functions::asString((anna::U64)ptrConceptData->Size));
@@ -440,7 +440,7 @@ anna::xml::Node* Accumulator::asXML(anna::xml::Node* parent, const int & numberO
         data->createAttribute("ProcessingRate", cad_aux);
       }
     } else {
-      concept->createAttribute("Data", "Not enough data to get statistics");
+      concept->createAttribute("Sample", "Not enough data to get statistics");
     }
   }