record dom structure