The IDLffXMLDOMDocument::CreateAttribute function method creates and names an attribute node that is owned by the document. The new attribute can be set in an Element node with the IDLffXMLDOMElement::SetAttributeNode method.

Syntax


Result = Obj->[IDLffXMLDOMDocument::]CreateAttribute( Name )

Return Value


Returns an object reference to the new IDLffXMLDOMAttr node.

Arguments


Name

A scalar string containing the attribute name.

Keywords


None

Version History


6.1

Introduced