name property

XmlName? name

Implementation

xml.XmlName? get name {
  if (node is xml.XmlElement) {
    return (node as xml.XmlElement).name;
  } else if (node is xml.XmlAttribute) {
    return (node as xml.XmlAttribute).name;
  } else {
    return null;
  }
}