Versions in this module Expand all Collapse all v0 v0.1.4 Jun 19, 2020 v0.1.3 Jun 8, 2020 v0.1.2 Jun 18, 2020 v0.1.1 Jun 9, 2020 v0.1.0 Jun 9, 2020 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