Try to improve the docs for xml
Add more examples and doc improvements