class Nokogiri::CSS::Node

def to_xpath(prefix, visitor)

Convert this CSS node to xpath with +prefix+ using +visitor+
##
def to_xpath(prefix, visitor)
  prefix = "." if ALLOW_COMBINATOR_ON_SELF.include?(type) && value.first.nil?
  prefix + visitor.accept(self)
end