Update XML Method

Signed-off-by: lanhouzi <346121824@qq.com>