transformed readElement of MSBuildReader to a generic.