Nokogiri::XML::ParseOptions
class Nokogiri::XML::ParseOptions
Parse options for passing to Nokogiri.XML or Nokogiri.HTML
Building combinations of parse options
You can build your own combinations of these parse options by using any of the following methods: Note: All examples attempt to set the RECOVER
& NOENT
options. All examples use Ruby 2 optional parameter syntax.
- Ruby's bitwise operators
-
You can use the Ruby bitwise operators to set various combinations.
Nokogiri.XML('<content>