dom

package
v0.0.0-...-5f2be95 Latest Latest
Warning

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

Go to latest
Published: May 5, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	Name             xml.Name
	Attributes       map[xml.Name]string
	Children         []interface{}
	EnclosedElements []*Document
	EnclosedText     string
}

func BuildFromReader

func BuildFromReader(reader io.Reader) (*Document, error)

func (*Document) Find

func (self *Document) Find(name xml.Name) *Document

func (*Document) List

func (self *Document) List(name xml.Name) []*Document

func (*Document) QueryMany

func (self *Document) QueryMany(path ...xml.Name) []*Document

func (*Document) QueryOne

func (self *Document) QueryOne(path ...xml.Name) *Document

func (*Document) String

func (self *Document) String() string

Jump to

Keyboard shortcuts

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