type encoding/xml.Attr
15 uses
encoding/xml (current package)
marshal.go#L126: MarshalXMLAttr(name Name) (Attr, error)
marshal.go#L554: start.Attr = append(start.Attr, Attr{Name{"", xmlnsPrefix}, ""})
marshal.go#L620: start.Attr = append(start.Attr, Attr{name, string(text)})
marshal.go#L633: start.Attr = append(start.Attr, Attr{name, string(text)})
marshal.go#L660: attr, _ := reflect.TypeAssert[Attr](val)
marshal.go#L672: start.Attr = append(start.Attr, Attr{name, s})
read.go#L192: UnmarshalXMLAttr(attr Attr) error
read.go#L251: func (d *Decoder) unmarshalAttr(val reflect.Value, attr Attr) error {
read.go#L314: var attrType = reflect.TypeFor[Attr]()
xml.go#L45: type Attr struct {
xml.go#L57: Attr []Attr
xml.go#L62: attrs := make([]Attr, len(e.Attr))
xml.go#L787: attr []Attr
xml.go#L796: attr = []Attr{}
xml.go#L818: a := Attr{}