replace loop with `content.addAll(mdv(templateElement).children)` ?