def xmlbool(bool):
    """Convert a boolean into the string expected by the elfweaver XML."""
    # Is there a smarter way of doing this?
    if bool:
        return "true"
    else:
        return "false"