go-xml
go-xml copied to clipboard
Parse xsd durations
It would be nice to make types derived from XSD's duration type use time.Duration, and provide Marshal/UnmarshalXML methods for it. It's an... interesting notation, described here:
https://www.w3.org/TR/xmlschema11-2/#duration