# File lib/nokogiri/xml/node.rb, line 432
      def self.new_from_str string
        $stderr.puts("This method is deprecated and will be removed in 1.2.0 or by March 1, 2009. Instead, use Nokogiri::HTML.fragment()")
        Nokogiri::HTML.fragment(string).first
      end