Object XmlAttr
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
1readonly String XmlAttr.localName;
value
String, the value of the property
1String XmlAttr.value;
name
String, the name of the property
1readonly String XmlAttr.name;
namespaceURI
String, URI of the namespace of the query element. If the selected node has no namespace, this property returns NULL
1readonly String XmlAttr.namespaceURI;
prefix
String, the namespace prefix for query and set elements. If the selected node has no namespace, this property returns NULL
1String XmlAttr.prefix;
nodeName
String, the name of the property, for compatibility purposes
1readonly String XmlAttr.nodeName;
nodeValue
String, the value of the property, for compatibility purposes
1String XmlAttr.nodeValue;
member function
toString
Returns the string representation of the object, generally returns "[Native Object]", the object can be reimplemented according to its own characteristics
1String XmlAttr.toString();
Return result:
- String, returns the string representation of the object
toJSON
Returns the JSON format representation of the object, generally returns the set of readable properties defined by the object
1Value XmlAttr.toJSON(String key = "");
Call parameters:
- key: String, unused
Return result:
- Value, returns a value containing JSON serializable