[Tree]For path new config add xml support

This make a notice when I use xml config, so I fix it