Sets the next sibling of this child. This can be used to insert a child after some other child.
a = Element.new("a") b = a.add_element("b") c = Element.new("c") b.next_sibling = c # => <a><b/><c/></a>
@return the XMLDecl
standalone value of this document as a String
. If no XMLDecl
has been set, returns the default setting.
Returns the next sibling that is an element, or nil if there is no Element
sibling after this one
doc = Document.new '<a><b/>text<c/></a>' doc.root.elements['b'].next_element #-> <c/> doc.root.elements['c'].next_element #-> nil
Deeply clones this object. This creates a complete duplicate of this Parent
, including all descendants.
Creates a thread that scans the tuplespace for expired tuples.