change attribute document format