add some xml support