When a value of has the encoding parameter write to encoding attribute into XML declaration