cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
anilkumar_mca
Level 8

help me to update XML file through ism

Hi,

Can anybody help me to update a XML file which is already installed in target machine through "System Configuration\XML File Changes" in .ism

what is the value I have to give in 'Attribute' , 'Value' , 'Operation' ?
Labels (1)
0 Kudos
(7) Replies
anilkumar_mca
Level 8

Hi,
Can anyone tell me how to do.... i verified somany other posts, but the installer is no modifying .xml file in a proper way:

eg:-

Original line:
NonStop

Modified line:
dt:dt="string" xmlns:dt="urn:schemas-microsoft-com:datatypes">NonStop
0 Kudos
yamakamyar
Level 6

Can you include a screen shot of your XML tree under "System Configuration\XML File Changes"
0 Kudos
anilkumar_mca
Level 8

Hi yamakamyar,
Thanks for your replay, please see the screen shots of 'General' & 'Advance' tabs....

I tried by selecting and unselecting the following 'element properties'
'Always create this element if it doesn't already exist'

Which 'Encoding' I need to select in 'Advanced' tab of 'Sample.xml' ?
Currently it is "UTF-8" (default)

let me know if i have to change any setting and if u need any other information:
0 Kudos
yamakamyar
Level 6

So this will output in sample.xml:







http://servername/virtual...







What was the previous XML you want to remove and what is the new XML you are trying to write/create?
0 Kudos
anilkumar_mca
Level 8

yamakamyar wrote:
So this will output in sample.xml:

What was the previous XML you want to remove and what is the new XML you are trying to write/create?


I am trying to edit the same .xml file which is available in Installed location...
Desc:- I want to replace or edit the sample.xml(with the user input values) which is available in the installed location of target machine......
0 Kudos
yamakamyar
Level 6

In Element Name:

{ID_STRING14}Value[@Value="1.20.123.19/GRTE"]

Delete the row with Remove Attribute

In Adv. tab:
Check "Update first..."

I am still unclear of what you want...
Copy and paste what your original sample.xml
Manually go modifiy it and copy and paste revisioned sample.xml.

This way I would have a clear idea of what you expect.

Currently what you have and what you want to achieve is not quite conclusive or making sense...

Thanks,
Yama
0 Kudos
anilkumar_mca
Level 8

Hi yamakamyar,
Thanks for your replay, here is the details regarding my requirement:

+ Installer-A installs this sample.xml in target location
+ Basicall Installer-A has two .xml files, based on the setup type selected by user one .xml file will copy as sample.xml
+ Installer-B takes some input from the user based on the features installed by Installer-A
+ Installer-B has to edit the installed .xml file with the changes in appropriate places

let me know if u need any other information...
0 Kudos