Object built-in object

ObjectXmlAttr

XmlAttr object representationXmlElementObject properties

inheritance relationship

member properties

localName

String, the local name of the query element. If the selected node has no namespace, this property is equivalent to nodeName

1
readonly String XmlAttr.localName;

value

String, the value of the attribute

1
String XmlAttr.value;

name

String, the name of the property

1
readonly String XmlAttr.name;

namespaceURI

String, URI of the namespace of the query element. If the selected node has no namespace, this property returns NULL

1
readonly String XmlAttr.namespaceURI;

prefix

String, query and set the namespace prefix of the element. If the selected node has no namespace, this property returns NULL

1
String XmlAttr.prefix;

nodeName

String, the name of the property, for compatibility purposes

1
readonly String XmlAttr.nodeName;

nodeValue

String, the value of the property, for compatibility purposes

1
String XmlAttr.nodeValue;

member function

toString

Returns the string representation of the object. Generally, "[Native Object]" is returned. The object can be re-implemented according to its own characteristics.

1
String XmlAttr.toString();

Return results:

  • String, returns the string representation of the object

toJSON

Returns a JSON format representation of the object, generally returning a collection of readable properties defined by the object.

1
Value XmlAttr.toJSON(String key = "");

Call parameters:

  • key: String, not used

Return results:

  • Value, returns a value containing JSON serializable