add early version of templated xml