Versions in this module Expand all Collapse all v0 v0.18.5 Sep 23, 2026 Changes in this version + type Document struct + func Parse(data []byte) (*Document, error) + func (d *Document) MarshalIndent(prefix, indent string) ([]byte, error) + func (d *Document) Root() *Element + type Element struct + func (e *Element) AppendChild(name string) *Element + func (e *Element) AppendChildInOrder(name string, order []string) *Element + func (e *Element) Attr(name string) (string, bool) + func (e *Element) EnsurePath(path string) *Element + func (e *Element) Find(path string) *Element + func (e *Element) FindAll(path string) []*Element + func (e *Element) Name() string + func (e *Element) RemoveAll(path string) int + func (e *Element) SetAttr(name, value string) + func (e *Element) SetText(value string) + func (e *Element) Text() string