i have xml (template) file and i set variables in the xml using {$var}
and i have a list with values for the xml variables.
how can i open (set) my file and set the xml variable to the values from my list ?
<sut>
<Cdu>
<class>XXX</class>
<conn>
<class>XXX</class>
<cli>
<password>{$password}</password>
<user>{$user}</user>
<host>{$host}</host>
<connectOnInit>false</connectOnInit>
</cli>
</conn>
<basic>
<class>XXX</class>
</basic>
</Cdu>