add licence to xml