Archive: Using XSLT to transform XML files during the installation process


Using XSLT to transform XML files during the installation process
Hi,

Is there someone who knows how to transform an XML using an XSLT during the installation process?

My concern is to upgrade existing configuration files adding new items, but without changing any customer's personal values.

In other words and two steps:
1/ my customer has already installed the version 1 of my product. At that time he mades some changes to the configuration files to personalize the soft. The config files are in xml.
2/ I send a new release, then during the upgrade process, I would like to update the config files (using an XSLT to add new items to the existing config file)

Eric


I'm not sure if this XML plugin will help you.

-Stu


The xml plugin is probably the right way, but there is no xslt transformation processor defined there.

Considere for example a new method:

nsXML::transform "inFile" "xsltFile" "outFile"

That wuold be nice

Eric