A simple API for serialisation to XML for Java.