Title: Issue with XmlPoke - my mistake?
Missing assemblyIdentity?

 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Thomas Tomiczek
Sent: 17 May 2005 11:11
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Issue with XmlPoke - my mistake?

Ok, here is what I want to get done.

This XML:

<configuration>
        <runtime>
                <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                        <dependentAssembly>
                                <assemblyIdentity name="EntityBroker" publicKeyToken="b654f6feb1f1c2e3" culture="Neutral"/>

                                        <bindingRedirect oldVersion="2.0.0.0-2.0.0.53" newVersion="2004.0.0.53"/>
                        </dependentAssembly>
                </assemblyBinding>
        </runtime>
</configuration>

Needs some replacement, namely the oldVersion and newVersion entries.

This is my XmlPoke:

                                <xmlpoke file="${policyname}"
                                        xpath="configuration/runtime/assemblyBinding/dependentAssembly/bindingRedirect/@newVersion"

                                        value="${control.fullversion}"
                                />

And this is the warning:

No matching nodes were found with XPath _expression_ 'configuration/runtime/assemblyBinding/dependentAssembly/bindingRedirect/@newVersion'.


Äh - is my Xpath wrong, or is this an XmlPoke error?

Thomas

This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

Reply via email to