add_node (DataMapper::Serialize::XMLSerializers::LibXML)

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