Lines Matching full:startelement
95 MarshalXML(e *Encoder, start StartElement) error
167 func (enc *Encoder) EncodeElement(v interface{}, start StartElement) error {
183 // It returns an error if StartElement and EndElement tokens are not properly matched.
198 case StartElement:
397 func (p *printer) marshalValue(val reflect.Value, finfo *fieldInfo, startTemplate *StartElement) error {
399 return fmt.Errorf("xml: EncodeElement of StartElement with missing name")
465 var start StartElement
600 func defaultStart(typ reflect.Type, finfo *fieldInfo, startTemplate *StartElement) StartElement {
601 var start StartElement
621 func (p *printer) marshalInterface(val Marshaler, start StartElement) error {
641 func (p *printer) marshalTextInterface(val encoding.TextMarshaler, start StartElement) error {
654 func (p *printer) writeStart(start *StartElement) error {
955 if err := s.p.writeStart(&StartElement{Name: Name{Local: parents[i]}}); err != nil {