It's much easier to make these changes directly in GeneXus instead of reading and modifying the HTML.
Button.Caption = "New Caption" &Column_var.Title = "New Title"