AOSL defines constraints on a DOM Node Tree, it's not completely a DOM document, if I understand correctly.