Add new XML related API sample