Versions in this module Expand all Collapse all v0 v0.1.5 Oct 21, 2026 Changes in this version + const Namespace + func AppendFloat(dst []byte, value float64) []byte + func Marshal(doc *etree.Document) ([]byte, error) + func MarshalDocument(doc *etree.Document) ([]byte, error) + func Parse(data []byte) (*etree.Document, error) + func Put(w *Writer) + func WriteElement(w *Writer, element *etree.Element) error + type Writer struct + func New() *Writer + func (w *Writer) Attr(name, value string) + func (w *Writer) AttrBox(name string, x, y, width, height float64) + func (w *Writer) AttrFloat(name string, value float64) + func (w *Writer) AttrFloatList(name string, values []float64) + func (w *Writer) AttrInt(name string, value int) + func (w *Writer) AttrIntList(name string, values []int) + func (w *Writer) AttrUint(name string, value uint64) + func (w *Writer) Attribute(name, value string) + func (w *Writer) Bytes() []byte + func (w *Writer) Directive(value string) + func (w *Writer) Done() []byte + func (w *Writer) Element(name, value string) + func (w *Writer) ElementBox(name string, x, y, width, height float64) + func (w *Writer) ElementFloat(name string, value float64) + func (w *Writer) ElementFloatList(name string, values []float64) + func (w *Writer) ElementInt(name string, value int) + func (w *Writer) ElementIntList(name string, values []int) + func (w *Writer) ElementUint(name string, value uint64) + func (w *Writer) End() + func (w *Writer) EndElement() + func (w *Writer) Err() error + func (w *Writer) Finish() error + func (w *Writer) Raw(data []byte) + func (w *Writer) Reset() + func (w *Writer) ResetTo(dst io.Writer) + func (w *Writer) Start(name string) + func (w *Writer) StartElement(name string) + func (w *Writer) StartQualified(name string) + func (w *Writer) Text(value string) + func (w *Writer) TextBox(x, y, width, height float64) + func (w *Writer) TextFloat(value float64) + func (w *Writer) TextFloatList(values []float64) + func (w *Writer) TextInt(value int) + func (w *Writer) TextIntList(values []int) + func (w *Writer) TextUint(value uint64) + func (w *Writer) WriteTo(dst io.Writer) (int64, error)