Deprecated. Replaced with the function CustomElement()

Creates a custom pseudo-element of #CUSTOM type.

Parameter:

contextElement

Specifies the element that determines the XML document context (i.e. the location within the XML document), which will be associated with the created custom element.

That is needed to handle XML qualified names (i.e. resolving bindings between the namespace URIs and prefixes). See also QName() function.

If this parameter is omitted, the generator context element will be used by default.

Returns:

The created custom pseudo-element.