Transforms a CSS selector to an XPath