workingexample for xml using dip