type encoding/xml.StartElement
30 uses
encoding/xml (current package)
marshal.go#L111: MarshalXML(e *Encoder, start StartElement) error
marshal.go#L186: func (enc *Encoder) EncodeElement(v any, start StartElement) error {
marshal.go#L216: case StartElement:
marshal.go#L427: func (p *printer) marshalValue(val reflect.Value, finfo *fieldInfo, startTemplate *StartElement) error {
marshal.go#L495: var start StartElement
marshal.go#L582: func (p *printer) marshalAttr(start *StartElement, name Name, val reflect.Value) error {
marshal.go#L667: func defaultStart(typ reflect.Type, finfo *fieldInfo, startTemplate *StartElement) StartElement {
marshal.go#L668: var start StartElement
marshal.go#L688: func (p *printer) marshalInterface(val Marshaler, start StartElement) error {
marshal.go#L708: func (p *printer) marshalTextInterface(val encoding.TextMarshaler, start StartElement) error {
marshal.go#L721: func (p *printer) writeStart(start *StartElement) error {
marshal.go#L1103: if err := s.p.writeStart(&StartElement{Name: Name{Local: parents[i]}}); err != nil {
read.go#L147: func (d *Decoder) DecodeElement(v any, start *StartElement) error {
read.go#L180: UnmarshalXML(d *Decoder, start StartElement) error
read.go#L206: func (d *Decoder) unmarshalInterface(val Unmarshaler, start *StartElement) error {
read.go#L241: case StartElement:
read.go#L321: func (d *Decoder) unmarshal(val reflect.Value, start *StartElement, depth int) error {
read.go#L332: if t, ok := tok.(StartElement); ok {
read.go#L538: case StartElement:
read.go#L694: func (d *Decoder) unmarshalPath(tinfo *typeInfo, sv reflect.Value, parents []string, start *StartElement, depth int) (consumed bool, err error) {
read.go#L737: case StartElement:
read.go#L768: case StartElement:
xml.go#L55: type StartElement struct {
xml.go#L61: func (e StartElement) Copy() StartElement {
xml.go#L69: func (e StartElement) End() EndElement {
xml.go#L123: case StartElement:
xml.go#L301: case StartElement:
xml.go#L850: return StartElement{name, attr}, nil