Attr.name
Property Description |
The name of an attribute. This property is a qualified name if the Node.localName property for the parent xml.Element object is null. |
Type |
string (read-only) |
Module |
|
Since |
2015.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/xml Module Script Samples.
//Add additional code
...
var attrName = attr.name; \\ returns 'lang'.
...
//Add additional code