Convert CSS selectors to XPath