<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<Product Id="431EB16A" Name="Management Center"
Language="1033"
Version="3.0.0.100" Manufacturer="Corporation"/>
</Wix>
Note the end tag /> at the end of the <Product Tag
If you want a way to catch malformed XML errors just open the xml document
in your IDE
OR Open your XML document with XML Parser such as XMLSpy available at the
Altova XMLSpy site
http://www.altova.com/download_spy_enterprise.html
Hope this works for you,
Martin -
Etats Unis
----- Original Message -----
From: "Eric Fetzer" <[EMAIL PROTECTED]>
To: "Kedziora, Rebecca" <[EMAIL PROTECTED]>;
<nant-users@lists.sourceforge.net>
Sent: Thursday, October 20, 2005 4:03 PM
Subject: Re: [Nant-users] Xpath guru needed...
/Wix/Product/[EMAIL PROTECTED]'431EB16A']/@Version
--- "Kedziora, Rebecca"
<[EMAIL PROTECTED]> wrote:
Anyone,
Trying to use the xmlpeek to retrieve the value of
an attribute.
I am trying to get the Version:
<?xml version="1.0"?>
<Wix
xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<Product Id="431EB16A" Name="Management Center"
Language="1033"
Version="3.0.0.100" Manufacturer="Corporation">
</Wix>
I tried several ways to use xpath and it keeps
tellings me "No matching
nodes found for Xpath expression".
Does anyone know how to get xpath to work here?
Thanks,
Rebecca
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users