Help us shape the future of Go! Take the 2026 Go Developer Survey

xml

package
v0.77.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[string]interface{}

type MapEntry

type MapEntry struct {
	XMLName  xml.Name
	Value    string     `xml:",chardata"`
	Attrs    []xml.Attr `xml:",any,attr"`
	Children []MapEntry `xml:",any"`
}

func (MapEntry) AsNode

func (m MapEntry) AsNode() *Node

type Node

type Node struct {
	Name     string            `json:",omitempty"`
	Attrs    map[string]string `json:",omitempty"`
	Value    string            `json:",omitempty"`
	Children []*Node           `json:",omitempty"`
}

func (*Node) UnmarshalXML

func (n *Node) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL