I would like to be able to use xmlpeek to get a count. E.g., I run FxCop against my assemblies, then I want to count how many Errors or CriticalErrors I have. If I use the xmlpeek task to execute a query like this: “count(//[EMAIL PROTECTED]'CriticalError' or @Level='Error'])” the task fails because the count() function returns a scalar value rather than a node. Is there some way to do this that I’m missing? If not, does anyone else think this would be a good capability to add to nant?

 


Gary McCullough 

 

Reply via email to