include "libdom.sol"

xml
  html
    head
      style type="text/css" media="screen"
      /style
    /head
    body bgcolor="#ffff99"
      table bordercolor="#000000" border="2" width="400" height="200",
          align="center" cellspacing="0"
        tr
          td
            center
             "HELLO"
            /
          /td
        /tr
      /table
    /body
  /html
/xml

dom mapage
mapage.build()

mapage.html.body.table.tr.td.center.setData("Salut le monde")
mapage.save("mapage.html")