build with internal xml, xslt