Re: Xmlpeek works, but Xmlpoke does not

"Wilson, Brian" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
Never mind, I found the typo.

 

Thank you,
 
Brian Wilson
Programmer Analyst, Associate
Department of Human Resources - Administrative Services
Email: [email protected]



-----Original Message-----
From: Wilson, Brian [mailto:[email protected]] 
Sent: Monday, March 21, 2011 10:04 AM
To: [email protected]
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: [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
_______________________________________________
NAnt-users mailing list
[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.