Hi Wizou,
Here is my XML file: <?xml version="1.0" encoding="utf-8"?> <project name="Production" xmlns="http://nant.sf.net/release/0.90/nant.xsd> <property name="database.name" value="HUBServer"/> </project>
Here is my code to update above XML file nsisXML::create nsisXML::load ${ConfigFile} nsisXML::select "/project/property[@name='${Name}']" nsisXML::setAttribute "value" ${Value} nsisXML::save ${ConfigFile}
The above code is working fine for me, if the XML file doesn't contain XMLNS.
But the above XML file contains XMLNS. So that I couldn't update that file.
Could you please help me to fix the above issue.
Thanks in Advance, Raja
|