Title: Xpath guru needed...
Rebecca

You need to ensure your XML nodes are well formed so replace your Product node text

        <Product Id="431EB16A" Name="Management Center" Language="1033" Version="3.0.0.100" Manufacturer="Corporation">

with

        <Product Id="431EB16A" Name="Management Center" Language="1033" Version="3.0.0.100" Manufacturer="Corporation"/>

HTH,
Martin-

----- Original Message -----
Sent: Thursday, October 20, 2005 3:41 PM
Subject: [Nant-users] Xpath guru needed...

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



Reply via email to