hAdd some additional flexibility for creating XML for the ATOM entry