    /*
     * call-seq:
     *   name
     *
     * Get the name of the node. Returns a utf-8 encoded string.
     */
    static VALUE name(VALUE self)
    {
      xmlTextReaderPtr reader;
      const char *name;

      Data_Get_Struct(self, xmlTextReader, reader);
      name = (const char *)xmlTextReaderConstName(reader);
      if(name == NULL) return Qnil;

      return NOKOGIRI_STR_NEW2(name);
    }