structured documents -> dom