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
?
-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
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
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
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
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
6 matches
Mail list logo