add example for xml support