Xmlpeek works, but Xmlpoke does not
"Wilson, Brian" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <[email protected]> |
Good Morning,
I have a WiX .wxs file that I am trying to update the version number.
Xmlpeek works ([xmlpeek] Found '1' nodes with the XPath expression '/x:Wix/x:Product/@Version'.):
<xmlpeek file="${MSI.WXS.Filename}" xpath="/x:Wix/x:Product/@Version" property="test.prop" verbose="true">
<namespaces>
<namespace prefix="x" uri="http://schemas.microsoft.com/wix/2006/wi"/>
</namespaces>
</xmlpeek>
Xmlpoke does not ([xmlpoke] No matching nodes were found with XPath expression '/x:Wix/x:Prodcut/@Version'.):
<xmlpoke file="${MSI.WXS.Filename}" xpath="/x:Wix/x:Prodcut/@Version" value="1.2.3.4" verbose="true">
<namespaces>
<namespace prefix="x" uri="http://schemas.microsoft.com/wix/2006/wi"/>
</namespaces>
</xmlpoke>
Thank you,
Brian Wilson
Programmer Analyst, Associate
Department of Human Resources - Administrative Services
Email: [email protected]
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d