Documentation ¶ Index ¶ type Document func BuildFromReader(reader io.Reader) (*Document, error) func (self *Document) Find(name xml.Name) *Document func (self *Document) List(name xml.Name) []*Document func (self *Document) QueryMany(path ...xml.Name) []*Document func (self *Document) QueryOne(path ...xml.Name) *Document func (self *Document) String() string 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 Source Files ¶ View all Source files dom.go Click to show internal directories. Click to hide internal directories.