Re: [WiX-users] Using XmlFile to update an existing attribute

2006-09-01 Thread Scott Sam
g Lee; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using XmlFile to update an existing attribute /configuration/Xenysys/Vals/[EMAIL PROTECTED]'value2'] And /configuration/Xenysys/Vals/add Update the value in value1. I don't understand why the first one doesn't

Re: [WiX-users] Using XmlFile to update an existing attribute

2006-09-01 Thread Scott Sam
? -Original Message- From: Chesong Lee [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 6:13 PM To: Scott Sam; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Using XmlFile to update an existing attribute I have to correct my statement. [] also can be an indexer. But it shou

Re: [WiX-users] Using XmlFile to update an existing attribute

2006-08-31 Thread Chesong Lee
toupdate XPath=/Configuration/companyname/vals/add[position()=2]/@value >>> valueIwanttoupdate XPath=/Configuration/companyname/vals/[EMAIL PROTECTED]'something2']/@value >>> valueIwanttoupdate Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Re: [WiX-users] Using XmlFile to update an existing attribute

2006-08-31 Thread Derek Cicerone
g Lee Sent: Thursday, August 31, 2006 2:22 PM To: Scott Sam; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using XmlFile to update an existing attribute Isn't it possible to use the xpath like this? [] in XPath is not a numerical index but node test predicate. /Configuration/companyn

Re: [WiX-users] Using XmlFile to update an existing attribute

2006-08-31 Thread Chesong Lee
Sent: Thursday, August 31, 2006 4:51 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Using XmlFile to update an existing attribute I'm trying to set the value of an attribute to the machine name. this is a snippet of the xml file. . . . When I use the //Configuration/C

[WiX-users] Using XmlFile to update an existing attribute

2006-08-31 Thread Scott Sam
I'm trying to set the value of an attribute to the machine name. this is a snippet of the xml file. . . . When I use the //Configuration/Companyname[1]/vals[1]/add[2] for the ElementPath it updates value1 no matter what add I reference. Any ideas why this happens? How can I update the