'Returns a string containing the XML version of the Lifecycle
configuration as defined by S3.'

def to_xml(self):

    s = '<?xml    version="1.0"    encoding="UTF-8"?>'
    s += '<LifecycleConfiguration>'
    for rule in self:
        s += rule.to_xml()
    s += '</LifecycleConfiguration>'
    return s
