get (Nokogiri::XML::Node)

    /*
     * call-seq:
     *   get(attribute)
     *
     * Get the value for +attribute+
     */
    static VALUE get(VALUE self, VALUE attribute)
    {
      xmlNodePtr node;
      xmlChar* propstr ;
      VALUE rval ;
      Data_Get_Struct(self, xmlNode, node);

      if(attribute == Qnil) return Qnil;

      propstr = xmlGetProp(node, (xmlChar *)StringValuePtr(attribute));

      if(NULL == propstr) return Qnil;

      rval = NOKOGIRI_STR_NEW2(propstr, node->doc->encoding);

      xmlFree(propstr);
      return rval ;
    }