module Nokogiri::CSS::XPathVisitor::DoctypeConfig - nokogiri-1.15.2 Documentation

# module Nokogiri::CSS::XPathVisitor::DoctypeConfig

Enum to direct `XPathVisitor` when to tweak the XPath query to suit the nature of the document being searched. Note that searches for `CSS` selectors from a `Nokogiri` document, fragment, or node will choose the correct option automatically.

### Constants

HTML4

  The document being searched is an `HTML4` document.

HTML5

  The document being searched is an `HTML5` document.

XML

  The document being searched is an `XML` document. This is the default.