The XML tags aren't closed until the build completes. To process the log file during the build, add a Transform XML Log action to close the tags (check 'Close ...tags', clear out the Stylesheet field, and specify an XML Output file), then perform your work on the file output from that step. See
http://www.visualbuild.com/Manual/?t...mlogaction.htm for more details.