xmlbuilder

package
v0.0.0-...-97928f7 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderOpts

type BuilderOpts struct {
	Dec          *xml.Decoder
	Tok          xml.Token
	NodeType     tree.NodeType
	NS           map[xml.Name]string
	Attrs        []*xml.Attr
	NodePos      int
	AttrStartPos int
}

BuilderOpts supplies all the information needed to create an XML node.

type XMLBuilder

type XMLBuilder interface {
	tree.Node
	CreateNode(*BuilderOpts) XMLBuilder
	EndElem() XMLBuilder
}

XMLBuilder is an interface for creating XML structures.

Jump to

Keyboard shortcuts

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