Versions in this module Expand all Collapse all v0 v0.1.1 Oct 8, 2012 Changes in this version + type Attribute struct + Name string + Value string + func (a *Attribute) Clone() *Attribute + func (a *Attribute) String() string + type Node struct + Attr []*Attribute + Children []*Node + Identifier []rune + Parent *Node + Public bool + System bool + Type NodeType + func Text(str string) *Node + func (n *Node) Clone() *Node + func (n *Node) Data() string + func (n *Node) SetData(rs []rune) + func (n *Node) String() string + func (n *Node) Walk(f func(*Node)) + type NodeType int + const CommentNode + const DoctypeNode + const ElementNode + const TextNode + type ParseError struct + func NewParseError(n *Node, msg string, args ...interface{}) *ParseError + func (e ParseError) Error() string + type Parser struct + In *bufio.Reader + Mode insertionMode + Top *Node + func NewParser(r io.Reader) *Parser + func NewParserFromString(s string) *Parser + func (p *Parser) Parse() error + func (p *Parser) Tree() *Node