supports both HTML DOM and Xholon DOM