@Override
    public XmlAttributesDataWriterBuilder recordElementName(final String recordElementName) {
        super.recordElementName(recordElementName);
        return this;
    }
Produces XML like:
<pre>
{@code
<?xml version="1.0" encoding="UTF-8"?>
<records xmlns=\"namespace\">
  <record>
    <data name="field1" value="field1-value1"/>
    <data name="field2" value="field2-value1"/>
    <data name="field3" value="field3-value1"/>
  </record>
  <record>
    <data name="field1" value="field1-value2"/>
    <data name="field2" value="field2-value2"/>
    <data name="field3" value="field3-value2"/>
  </record>
  </records>
}
</pre>
stroom-test-common/src/main/java/stroom/test/common/data/XmlAttributesDataWriterBuilder.java