added attribute feature for xml reports #934