Represents the allowed content in an Element Declaration inside a DTD:
<?xml version="1.0"?><?TEST-STYLE PIDATA?> <!DOCTYPE staff SYSTEM "staff.dtd" [ <!ELEMENT div1 (head, (p | list | note)*, div2*)> ]> </root>
ElementContent represents the tree inside the tag shown above that lists the possible content for the div1 tag.
Get the children of this ElementContent node
# File lib/nokogiri/xml/element_content.rb, line 31 31: def children 32: [c1, c2].compact 33: end
Get the require element name
static VALUE get_name(VALUE self) { xmlElementContentPtr elem; Data_Get_Struct(self, xmlElementContent, elem); if(!elem->name) return Qnil; return NOKOGIRI_STR_NEW2(elem->name); }
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.