Normalize xml processing
[anna.git] / include / anna / core / util / defines.hpp
index 7e56b7d..25a7e03 100644 (file)
@@ -20,6 +20,9 @@
 // For cstd0x compatibility we will use stdint.h types instead of std:: ones on cstdint:
 //#include <cstdint>  when C++11 available
 
+// For xml representations (xml::Compiler and json::functions::json2xml)
+#define ANNA_XML_INDENTATION_SPACES 3
+
 
 // Decoding helpers
 #define DECODE2BYTES_INDX_VALUETYPE(buffer,indx,value_type) ((((value_type)buffer[indx] << 8) & 0xFF00) + ((value_type)buffer[indx+1] & 0x00FF))