create_item


Description:

public virtual DomElement? create_item ()

Creates a new instance of items_type, with same DomNode.owner_document than element. New instance is not set as a child of collection's element; to do so, use append

Returns: a new instance object or null if type is not a DomElement or no parent has been set