    # File lib/nokogiri/xml/document_fragment.rb, line 51
          def to_xhtml *args
            if Nokogiri.jruby?
              options = args.first.is_a?(Hash) ? args.shift : {}
              if !options[:save_with]
                options[:save_with] = Node::SaveOptions::NO_DECLARATION | Node::SaveOptions::NO_EMPTY_TAGS | Node::SaveOptions::AS_XHTML
              end
              args.insert(0, options)
            end
            children.to_xhtml(*args)
          end