Good Afternoon Team -
I"m asking for assistance on a piece of code to populate two values in an XML file. I have it working perfectly using CScript for DOS, but I have a need to do that same process in a Linux environment.
Here is the XML I need to modify:
<?xml version="1.0" encoding="UTF-8"?>
<Package>
<LOCALE>en_US</LOCALE>
<User name="" password=""/>
<Task>
<Source type="Application" product="HP" project="Default Application Group" application="GENJBAPP"/>
<Target type="FileSystem" filePath="/HP-GENJBAPP"/>
<Artifact recursive="true" parentPath="/Configuration" pattern="*"/>
<Artifact recursive="true" parentPath="/Essbase Data" pattern="*"/>
<Artifact recursive="true" parentPath="/Global Artifacts" pattern="*"/>
<Artifact recursive="true" parentPath="/Plan Type" pattern="*"/>
<Artifact recursive="true" parentPath="/Relational Data" pattern="*"/>
<Artifact recursive="true" parentPath="/Security" pattern="*"/>
</Task>
</Package>
I need to add a value in-between the " symbols for User name as well as a password for password.
Thank you for your time!