Documentation
¶
Overview ¶
Package xml wraps encoding/xml as a codec.Codec implementation registered under Format("xml"). Blank-importing this package is enough to make XML resolvable via the core/data/codec registry.
Package xml — adapts *encoding/xml.Decoder to codec.Decoder.
Package xml — adapts *encoding/xml.Encoder to codec.Encoder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //: register the singleton and expose it as a typed package var. Codec codec.Codec = codec.Register(&xmlCodec{}) )
Package-level state: the codec singleton plus the hoisted MIME / extension tables.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.