The allowed content for this ElementDecl
static VALUE content(VALUE self)
{
xmlElementPtr node;
Data_Get_Struct(self, xmlElement, node);
if(!node->content) return Qnil;
return Nokogiri_wrap_element_content(
rb_funcall(self, id_document, 0),
node->content
);
}
The element_type
static VALUE element_type(VALUE self)
{
xmlElementPtr node;
Data_Get_Struct(self, xmlElement, node);
return INT2NUM((long)node->etype);
}
# File lib/nokogiri/xml/element_decl.rb, line 8 def inspect "#<#{self.class.name}:#{sprintf("0x%x", object_id)} #{to_s.inspect}>" end
The namespace prefix for this ElementDecl
static VALUE prefix(VALUE self)
{
xmlElementPtr node;
Data_Get_Struct(self, xmlElement, node);
if(!node->prefix) return Qnil;
return NOKOGIRI_STR_NEW2(node->prefix);
}
Generated with the Darkfish Rdoc Generator 2.