working bat file
solved problem using xpaths
Code reorganized for dbx convert -> xml