Documentation ¶
Overview ¶
Package xml2map provides an XML decoder returning a map of properties parsed from a given XML input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidDocument invalid document err. ErrInvalidDocument = errors.New("invalid document") // ErrInvalidRoot data at the root level is invalid err. ErrInvalidRoot = errors.New("data at the root level is invalid") )
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder instance.
func NewDecoder ¶
NewDecoder create new decoder instance.
func NewDecoderWithPrefix ¶
NewDecoderWithPrefix create new decoder instance with custom attribute prefix and text prefix.
Click to show internal directories.
Click to hide internal directories.