def _box_in_box(el, child):
    """ Return True if child is contained within el. """
    return all([float(el.get('x0')) <= float(child.get('x0')), float(el.get
        ('x1')) >= float(child.get('x1')), float(el.get('y0')) <= float(
        child.get('y0')), float(el.get('y1')) >= float(child.get('y1'))])
