extended template support to SVG elements; append rendered instance into template parent