2. CSS3 selectors

In addition to all CSS2 selectors, XXE also supports the following CSS3 selectors:

E:last-childan E element, last child of its parent
E:first-of-typean E element, first sibling of its type
E:last-of-typean E element, last sibling of its type
E:rootanE element which is the root element of a document
E:emptyan E element which does not contain child nodes of any type
[att^=val]the att attribute whose value begins with the prefix "val"
[att$=val]the att attribute whose value ends with the suffix "val"
[att*=val]the att attribute whose value contains at least one instance of the substring "val"
E:not(simple_selector)an E element, not matched by simple_selector.