func (c *Ctx) XMLBytes(code int, b []byte) (err error) {
	c.response.Header().Set(ContentType, ApplicationXMLCharsetUTF8)
	c.response.WriteHeader(code)
	if _, err = c.response.Write([]byte(xml.Header)); err == nil {
		_, err = c.response.Write(b)
	}
	return
}
XMLBytes returns provided XML response with status code
package lars
import (
	"encoding/json"
	"encoding/xml"
	"io"
	"net"
	"net/http"
	"net/url"
	"strings"
	"github.com/gorilla/websocket"
)
type Param struct {
	Key   string
	Value string
}
type Params []Param
func NewContext(l *LARS) *Ctx {
	c := &Ctx{
		params: make(Params, l.mostParams),
	}
	c.response = newResponse(nil, c)
	return c
}
func (c *Ctx) BaseContext() *Ctx {
	return c
}
func (c *Ctx) Request() *http.Request {
	return c.request
}
func (c *Ctx) Response() *Response {
	return c.response
}
func (c *Ctx) WebSocket() *websocket.Conn {
	return c.websocket
}
func (c *Ctx) RequestEnd() {
}
func (c *Ctx) Param(name string) string {
	for _, entry := range c.params {
		if entry.Key == name {
			return entry.Value
		}
	}
	return blank
}
func (c *Ctx) QueryParams() url.Values {
	if c.queryParams != nil {
		return c.queryParams
	}
	c.queryParams = c.request.URL.Query()
	return c.queryParams
}
func (c *Ctx) ParseForm() error {
	if c.formParsed {
		return nil
	}
	if err := c.request.ParseForm(); err != nil {
		return err
	}
	for _, entry := range c.params {
		c.request.Form.Add(entry.Key, entry.Value)
	}
	c.formParsed = true
	return nil
}
func (c *Ctx) ParseMultipartForm(maxMemory int64) error {
	if c.multipartFormParsed {
		return nil
	}
	if err := c.request.ParseMultipartForm(maxMemory); err != nil {
		return err
	}
	for _, entry := range c.params {
		c.request.Form.Add(entry.Key, entry.Value)
	}
	c.multipartFormParsed = true
	return nil
}
func (c *Ctx) Next() {
	c.index++
	c.handlers[c.index](c.parent)
}
func (c *Ctx) JSON(code int, i interface{}) (err error) {
	b, err := json.Marshal(i)
	if err != nil {
		return err
	}
	return c.JSONBytes(code, b)
}
func (c *Ctx) JSONBytes(code int, b []byte) (err error) {
	c.response.Header().Set(ContentType, ApplicationJSONCharsetUTF8)
	c.response.WriteHeader(code)
	_, err = c.response.Write(b)
	return
}
func (c *Ctx) JSONP(code int, i interface{}, callback string) (err error) {
	b, e := json.Marshal(i)
	if e != nil {
		err = e
		return
	}
	c.response.Header().Set(ContentType, ApplicationJavaScriptCharsetUTF8)
	c.response.WriteHeader(code)
	if _, err = c.response.Write([]byte(callback + "(")); err == nil {
		if _, err = c.response.Write(b); err == nil {
			_, err = c.response.Write([]byte(");"))
		}
	}
	return
}
func (c *Ctx) XML(code int, i interface{}) error {
	b, err := xml.Marshal(i)
	if err != nil {
		return err
	}
	return c.XMLBytes(code, b)
}