xml builder from hoodle data type