X

xml

Name Last Update
encoding/xml Loading commit data...
qname Loading commit data...
xsd Loading commit data...
README.md Loading commit data...

Go XML tools

code.blinkace.com/go/xml/encoding/xml

This is a fork of the standard encoding/xml with a number of changes, primarily to deal with elements and attributes containing QName values. (see https://github.com/golang/go/issues/12406)

In addition, it provides:

  • Encoder.XMLDeclaration to control the inclusion of an XML declaration in the output.
  • Support for a ",lang" tag on unmarshaled structs to get the current effective value of the xml:lang attribute.

code.blinkace.com/go/xml/qname

This package provides a QName type that implements the following interfaces from the above package:

  • Unmarshaler
  • UnmarshalerAttr
  • Marshaller