I have a query regarding Nant build scripts, I am fairly new to NANT build, In case I want to run a style bases on some condition in an xml file say
count(${skinFolder}/screens.temp.xml//ActionCollection/Item) > 0
is there a way to achieve this ??
thanks in advance,
Sidhartha
Best Answer
Add the following under the
project
node of your NAnt script:Then you can use the following expression to achieve what you want:
Just note that if your xml file has nodes that are given a namespace, then this won't work.