"DTD/xhtml1-strict.dtd">
A Child object is something contained by a parent, and this class contains methods to support that. Most user code will not use this class directly.
Constructor. Any inheritors of this class should call super to make sure this method is called. @param parent if supplied, the parent of this child will be set to the supplied value, and self will be added to the parent
Replaces this object with another object. Basically, calls Parent.replace_child @return self
Removes this child from the parent. @return self
@return the document this child belongs to, or nil if this child belongs to no document
This doesn't yet handle encodings