create_element method

create_element

Creates an element of the type specified. Note that the instance returned implements the Element interface, so attributes can be specified directly on the returned object.

Returns

The Element.

def create_element(self, local_name):
    ...
ParameterTypeDescription
local_namestrName of the tag.

See Also