[backend] improve code, just having one place of zypp XML definition