Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for marshalAttr (0.07 sec)

  1. src/encoding/xml/marshal.go

    	if err != nil {
    		return err
    	}
    
    	if err := p.writeEnd(start.Name); err != nil {
    		return err
    	}
    
    	return p.cachedWriteError()
    }
    
    // marshalAttr marshals an attribute with the given name and value, adding to start.Attr.
    func (p *printer) marshalAttr(start *StartElement, name Name, val reflect.Value) error {
    	if val.CanInterface() && val.Type().Implements(marshalerAttrType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top