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
1readonly String XmlAttr.localName;
value
String, the value of the attribute
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, query and set the namespace prefix of the element. 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, "[Native Object]" is returned. The object can be re-implemented according to its own characteristics.
1String 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.
1Value XmlAttr.toJSON(String key = "");
Call parameters:
- key: String, not used
Return results:
- Value, returns a value containing JSON serializable