Versions in this module Expand all Collapse all v0 v0.0.1 Dec 4, 2018 Changes in this version + var ErrUnexpectedEnd = errors.New("parser: unexpected end of data") + type Standard struct + NonXMLHandler func(f *os.File, fi os.FileInfo) (*xtree.Node, error) + func NewStandard() *Standard + func (p *Standard) ParseBytes(b []byte) (*xtree.Node, error) + func (p *Standard) ParseDir(dirpath string) (*xtree.Node, error) + func (p *Standard) ParseFile(filepath string) (*xtree.Node, error) + func (p *Standard) ParseReader(r io.Reader) (*xtree.Node, error) + type XDiff struct + NonXMLHandler func(f *os.File, fi os.FileInfo) (*xtree.Node, error) + SetDocumentFilename bool + ValidateClosingTag bool + func New() *XDiff + func (p *XDiff) ParseBytes(b []byte) (*xtree.Node, error) + func (p *XDiff) ParseDir(path string) (*xtree.Node, error) + func (p *XDiff) ParseFile(filepath string) (*xtree.Node, error) + func (p *XDiff) ParseReader(r io.Reader) (*xtree.Node, error)