xml: T5666: add with_tag keyword arg to owner
(cherry picked from commit 57a0333c423f74ef733619f57dbfc608e513aa56)