xml: T5738: re-use "disable" building block
(cherry picked from commit 019723aaa4217403f1fcbcd636f573ea403f909c)