Added some domain-specific DOM parsing in the selection step