switching for DOM parser