XMLConfiguration xmlconfig = new XMLConfiguration();
xmlconfig.addProperty("base.element[@property]", "property");
xmlconfig.addProperty("base.element.name", "name");
// We make these strings as that is how they will be read from the file.
xmlconfig.addProperty("base.element.positiveLong", String.valueOf(POSITIVE_LONG));
xmlconfig.addProperty("base.element.negativeLong", String.valueOf(NEGATIVE_LONG));
xmlconfig.addProperty("base.element.boolean", String.valueOf(true));
xmlconfig.addProperty("base.element.double", String.valueOf(DOUBLE));
for (int i = 0; i < LIST_SIZE; i++)
{
xmlconfig.addProperty("base.element.list", i);