Hi,
I have a simple exe.config issue where I'd like to swap out the config
file with NAnt/XMLPOKE. I just can't figure out the correct xpath to
get to the "file=" attribute.
I want to swap in "US, UK, ..." depending on the target regions.
Thanks,
Craig
=============== ============
my exe.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuratio n>
<appSettings file="Dev_custo m.config">
....
....
</appSettings>
</configuration>
=============== ============
XMLPOKE tasks that don't resolve to the "file=" attribute correctly
<xmlpoke
file="${configF ile}"
xpath="/configuration/appSettings[@file='incorrec tFileName']/
@value"
value="US.confi g" />
<xmlpoke
file="${configF ile}"
xpath="/configuration/appSettings[@file=@value]"
value="US.confi g" />
<xmlpoke
file="${configF ile}"
xpath="/configuration/appSettings[@file]/@value"
value="US.confi g" />