Attribute
.
@param name A String representing AttributeName
(the nameof the attribute).
@param nameSpace A String representing the namespace in whichAttributeName
elements are interpreted.
@param values A List representing the AttributeValue
object.
Attr
of the given name. Note that the Attr
instance can then be set on an Element
using the setAttribute
method. createAttributeNS
method.
@param name The name of the attribute.
@return A new Attr
object with the nodeName
attribute set to name
, and localName
, prefix
, and namespaceURI
set to null
.
@exception DOMException INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|