/*
* call-seq:
* name
*
* Get the name of the node
*/
static VALUE name(VALUE self)
{
xmlTextReaderPtr reader;
Data_Get_Struct(self, xmlTextReader, reader);
const char * name = (const char *)xmlTextReaderConstName(reader);
if(name == NULL) return Qnil;
return rb_str_new2(name);
}