add_node (DataMapper::Serialize::XMLSerializers::Nokogiri)

    # File lib/dm-serializer/xml_serializers/nokogiri.rb, line 18
            def self.add_node(parent, name, value, attrs = {})
              node = ::Nokogiri::XML::Node.new(name, parent.document)
              node << ::Nokogiri::XML::Text.new(value.to_s, parent.document) unless value.nil?
              attrs.each {|attr_name, attr_val| node[attr_name] = attr_val }
              parent << node
              node
            end