Export Gantt Xml with resource

Need to export xml with resource and to import in the primeravera software.

Hello Prakash,
To export to Primavera, you need to use the gantt.exportToPrimaveraP6 method:
https://docs.dhtmlx.com/gantt/api__gantt_exporttoprimaverap6.html
Here is an example:
http://snippet.dhtmlx.com/59a836f92

You can specify the resources in the resources parameter in the export function.
Here is the snippet:
http://snippet.dhtmlx.com/68c831215