external createAttribute : this:[> `Document] GdomeT.t -> name:TDOMString.t -> TAttr.t = "ml_gdome_doc_createAttribute"