Class Nokogiri::XML::ElementContent
In: lib/nokogiri/xml/element_content.rb
ext/nokogiri/xml_processing_instruction.c
Parent: Object

the document is GC‘d

Methods

c1   c2   children   name   occur   prefix   type  

Constants

PCDATA = 1   Possible definitions of type
ELEMENT = 2
SEQ = 3
OR = 4
ONCE = 1   Possible content occurrences
OPT = 2
MULT = 3
PLUS = 4

Attributes

document  [R] 

Public Instance methods

Get the first child.

Get the first child.

Get the children of this ElementContent node

Get the require element name

Get the element content occur flag. Possible values are ONCE, OPT, MULT or PLUS.

Get the element content namespace prefix.

Get the element content type. Possible values are PCDATA, ELEMENT, SEQ, or OR.

[Validate]