I am scripting a change to an xml and would like to change a complete tag. Only problem is that the xml tagging isn’t numbered or sequenced at all.
The way i am changing it is by gsar -i"some text" -r"differenttext" -o, the problem i have is within this xml there is a ’ <APP Type></AppType> and <Image></Image> tags that i want to change for only one, out of about 40, instances.
Here is my example of my xml;
<Button> <Caption>Cashier</Caption> <Command>c:\backroom\master.pos\ce.exe</Command> <Password>No</Password> <Image> </Image> <SingleInstance>Yes</SingleInstance> <AppType>DOS</AppType> </Button>
Via a script of somesort i would like to be able to change the image and app type, i am assuming that GSAR wouldn’t be able to help… Any suggestions?
Cheers again all!