Parse this CSS selector in selector. Returns an AST.
# File lib/nokogiri/css.rb, line 12 def parse selector Parser.new.parse selector end
Get the XPath for selector.
# File lib/nokogiri/css.rb, line 18 def xpath_for selector, options={} Parser.new(options[:ns] || {}).xpath_for selector, options end
[Validate]
Generated with the Darkfish Rdoc Generator 2.