support for svgTemplate