func (se *SimpleElement) SetInt(value int) {
	se.Value = formatInt(value)
}
SetInt sets se's value from an int.
package kml
import (
	"encoding/xml"
	"fmt"
	"image/color"
	"io"
	"strconv"
	"time"
)
type Element interface {
	xml.Marshaler
	Write(io.Writer) error
	WriteIndent(io.Writer, string, string) error
}
type SimpleElement struct {
	xml.StartElement
	Value string
}
type CompoundElement struct {
	xml.StartElement
	Children []Element
}
type SharedElement struct {
	CompoundElement
	ID string
}
func (se *SimpleElement) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
	return e.EncodeElement(xml.CharData(se.Value), se.StartElement)
}
func (se *SimpleElement) SetBool(value bool) {
	se.Value = formatBool(value)
}
func (se *SimpleElement) SetColor(value color.Color) {
	se.Value = formatColor(value)
}
func (se *SimpleElement) SetFloat(value float64) {
	se.Value = formatFloat(value)
}