xml attributes are now maps (following xtmpl)
add option --local