Pablo

owner([filter])

Returns a collection of the collection element’s closest owner ancestor element.

owner() uses the SVGElement’s ownerSVGElement property.

var flag   = Pablo(demoElement).svg({name:'japan', height: 100}),
    rect   = Pablo.rect({fill: 'white', height: 100, width: 200}),
    circle = Pablo.circle({fill: 'red', r: 26, cx: 100, cy: 50});

flag.append([rect, circle]);

alert(circle.owner().attr('name'));
Painting is just another way of keeping a diary.
Pablo Picasso