Versions in this module Expand all Collapse all v1 v1.15.0 Nov 25, 2019 v1.14.0 Oct 23, 2019 Changes in this version type Element + InChoice bool v1.1.0 Jul 2, 2019 v1.0.0 May 26, 2019 Changes in this version + var StandardSchema = [][]byte + func Normalize(docs ...[]byte) ([]*xmltree.Element, error) + func XMLName(t Type) xml.Name + type Attribute struct + Attr []xml.Attr + Default string + Doc string + Name xml.Name + Optional bool + Plural bool + Type Type + type Builtin int + const AnySimpleType + const AnyType + const AnyURI + const Base64Binary + const Boolean + const Byte + const Date + const DateTime + const Decimal + const Double + const Duration + const ENTITIES + const ENTITY + const Float + const GDay + const GMonth + const GMonthDay + const GYear + const GYearMonth + const HexBinary + const ID + const IDREF + const IDREFS + const Int + const Integer + const Language + const Long + const NCName + const NMTOKEN + const NMTOKENS + const NOTATION + const Name + const NegativeInteger + const NonNegativeInteger + const NonPositiveInteger + const NormalizedString + const PositiveInteger + const QName + const Short + const String + const Time + const Token + const UnsignedByte + const UnsignedInt + const UnsignedLong + const UnsignedShort + const XMLBase + const XMLId + const XMLLang + const XMLSpace + func ParseBuiltin(qname xml.Name) (Builtin, error) + func (b Builtin) Name() xml.Name + func (i Builtin) String() string + type ComplexType struct + Abstract bool + Anonymous bool + Attributes []Attribute + Base Type + Doc string + Elements []Element + Extends bool + Mixed bool + Name xml.Name + type Element struct + Abstract bool + Attr []xml.Attr + Default string + Doc string + Name xml.Name + Nillable bool + Optional bool + Plural bool + Type Type + Wildcard bool + type Ref struct + Location string + Namespace string + func Imports(data []byte) ([]Ref, error) + type Restriction struct + Doc string + Enum []string + Max float64 + MaxLength int + Min float64 + MinLength int + Pattern *regexp.Regexp + Precision int + type Schema struct + Doc string + TargetNS string + Types map[xml.Name]Type + func Parse(docs ...[]byte) ([]Schema, error) + func (s *Schema) FindType(name xml.Name) Type + type SimpleType struct + Anonymous bool + Base Type + Doc string + List bool + Name xml.Name + Restriction Restriction + Union []Type + type Type interface + func Base(t Type) Type