Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseXML ¶
func MustParseXML(r io.Reader, op ...ParseSettings) tree.Node
MustParseXML is like ParseXML, but panics instead of returning an error.
Types ¶
type DirectiveParser ¶
type DirectiveParser interface { xmlbuilder.XMLBuilder Directive(xml.Directive, *xml.Decoder) }
DirectiveParser is an optional interface extended from XMLBuilder that handles XML directives.
type ParseOptions ¶
type ParseOptions struct { Strict bool XMLRoot func() xmlbuilder.XMLBuilder }
ParseOptions is a set of methods and function pointers that alter the way the XML decoder works and the Node types that are created. Options that are not set will default to what is set in internal/defoverride.go
type ParseSettings ¶
type ParseSettings func(s *ParseOptions)
ParseSettings is a function for setting the ParseOptions you want when parsing an XML tree.
Click to show internal directories.
Click to hide internal directories.