if (this.attribute('width').hasValue()) element.attribute('width', true).value = this.attribute('width').value;