func XML(w http.ResponseWriter, r *http.Request, v interface{}) {
	if err, ok := v.(error); ok {
		v = errorf(r, err)
	}

	render.XML(w, r, v)
}
// XML marshals 'v' to JSON, setting the Content-Type as application/xml. It
// will automatically prepend a generic XML header (see encoding/xml.Header) if
// one is not found in the first 100 bytes of 'v'.
XML marshals 'v' to JSON, setting the Content-Type as application/xml. It
will automatically prepend a generic XML header  if
one is not found in the first 100 bytes of 'v'.
// XML marshals ' v ' to JSON setting the Content - Type as application / xml . It // will automatically prepend a generic XML header ( see encoding / xml . Header ) if // one is not found in the first 100 bytes of ' v ' .
func XML(w http.ResponseWriter, r *http.Request, v interface{}) {
	if err, ok := v.(error); ok {
		v = errorf(r, err)
	}
	render.XML(w, r, v)
}
func XML ( w http . ResponseWriter , r * http . Request , v interface { } ) { if err , ok := v . ( error ) ; ok { v = errorf ( r , err ) } render . XML ( w , r , v ) }
XML marshals 'v' to JSON, setting the Content-Type as application/xml.
XML marshals ' v ' to JSON setting the Content - Type as application / xml .