consider doctype as a node