Hi Koen

use " inside " (ie : OriginalValue="value="true""). The double quote is a special character in XML and must be escaped. See this page http://www.mountaindragon.com/html/iso.htm for more informations.

cheers

Thibaut
--
[blog] http://www.dotnetguru2.org/tbarrere

2005/11/30, Koen Mayens <[EMAIL PROTECTED]>:
Hi, I'm quite new to nant,
I have a small problem but can't find a solution.

I have a function which replaces text in a textfile but a having trouble with the double quotes.
In the task a have 2 attributes which are OriginalValue and ReplaceValue. Now I want to do something like this:

<ReplaceText OriginalValue="value="true"" ReplaceValue="value="false"" />

Then I get the error about the double quotes.
Anybody who knows how to solve this?

Thanks




Reply via email to