fixes #6: add selector for classes of node types

XML is omitted because it's harder to detect and very uncommonly used