Never mind, I found the typo.

 

Thank you,
 
Brian Wilson
Programmer Analyst, Associate
Department of Human Resources - Administrative Services
Email: brian.wil...@dhr.alabama.gov



-----Original Message-----
From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] 
Sent: Monday, March 21, 2011 10:04 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Xmlpeek works, but Xmlpoke does not

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: brian.wil...@dhr.alabama.gov




------------------------------------------------------------------------------
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
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

------------------------------------------------------------------------------
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
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to