xmlpp

package module
v0.0.0-...-d09334e Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 4 Imported by: 0

README

NOT SUITABLE FOR GENERAL USE.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnbalancedXml = errors.New("unbalanced xml")

Functions

func Pp

func Pp(tree *XmlElement) string

return the string, and if it is oneline

func TreeEq

func TreeEq(a, b *XmlElement) bool

Types

type XmlElement

type XmlElement struct {
	Name     string
	Children []XmlElement
	Text     string
}

func BuildTree

func BuildTree(s string) (XmlElement, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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