/*
* call-seq:
* base_uri
*
* Get the xml:base of the node
*/
static VALUE base_uri(VALUE self)
{
xmlTextReaderPtr reader;
const char * base_uri;
Data_Get_Struct(self, xmlTextReader, reader);
base_uri = (const char *)xmlTextReaderBaseUri(reader);
if (base_uri == NULL) return Qnil;
return NOKOGIRI_STR_NEW2(base_uri);
}