XmlAttribute constructor

XmlAttribute(
  1. XmlName name,
  2. String value, [
  3. XmlAttributeType attributeType = XmlAttributeType.DOUBLE_QUOTE
])

Create an attribute with name and value.

Implementation

XmlAttribute(this.name, this.value,
    [this.attributeType = XmlAttributeType.DOUBLE_QUOTE]) {
  name.attachParent(this);
}