Versions in this module Expand all Collapse all v2 v2.0.4 Oct 5, 2023 v2.0.3 Oct 2, 2023 Changes in this version + func Encode(w io.Writer, el *Element) error + func Equal(a, b *Element) bool + func Marshal(el *Element) []byte + func MarshalIndent(el *Element, prefix, indent string) []byte + func Unmarshal(el *Element, v interface{}) error + type Element struct + Children []Element + Content []byte + func Parse(doc []byte) (*Element, error) + func (el *Element) Attr(space, local string) string + func (el *Element) Flatten() []*Element + func (el *Element) SetAttr(space, local, value string) + func (el *Element) String() string + func (root *Element) Search(space, local string) []*Element + func (root *Element) SearchFunc(fn func(*Element) bool) []*Element + type Scope struct + func (outer *Scope) JoinScope(inner *Scope) *Scope + func (scope *Scope) Prefix(name xml.Name) (qname string) + func (scope *Scope) Resolve(qname string) xml.Name + func (scope *Scope) ResolveDefault(qname, defaultns string) xml.Name + func (scope *Scope) ResolveNS(qname string) (xml.Name, bool) Other modules containing this package github.com/henryolik/go-xml