...
Documentation
Documentation

# Package InkML

## Overview ▹

## Overview ▾

## Index ▹

## Index ▾

### Package files

ActiveArea_type.go Affine_type.go AnnotationXML_type.go Annotation_type.go Bind_type.go BrushPropertyName_type.go BrushPropertyValue_type.go BrushProperty_type.go Brush_type.go CanvasTransform_type.go Canvas_type.go ChannelName_type.go ChannelProperties_type.go ChannelPropertyName_type.go Channel_type.go Context_type.go DefaultAttr.go Definitions_type.go Definitions_typeChoice.go Ink.go InkSource_type.go Ink_type.go Ink_typeChoice.go IntermittentChannels_type.go Latency_type.go Mapping_type.go SampleRate_type.go SourceProperty_type.go Table_type.go Timestamp_type.go TraceFormat_type.go TraceGroup_type.go TraceView_type.go Trace_type.go Units_type.go common.go

## Constants

    const IntegerList_typePattern = `-?[0-9]+(\s*:\s*-?[0-9]+)*`

    const Rgb_typePattern = `#[0-9a-fA-F]{6}`

## Variables

    var IntegerList_typePatternRe = regexp.MustCompile(IntegerList_typePattern)

    var Rgb_typePatternRe = regexp.MustCompile(Rgb_typePattern)

## type ActiveArea_type ¶

    type ActiveArea_type struct {
        SizeAttr   *string
        HeightAttr *float64
        WidthAttr  *float64
        UnitsAttr  *Units_type
    }

### func NewActiveArea_type ¶

    func NewActiveArea_type() *ActiveArea_type

### func (*ActiveArea_type) MarshalXML ¶

    func (m *ActiveArea_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*ActiveArea_type) UnmarshalXML ¶

    func (m *ActiveArea_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ActiveArea_type) Validate ¶

    func (m *ActiveArea_type) Validate() error

Validate validates the ActiveArea_type and its children

### func (*ActiveArea_type) ValidateWithPath ¶

    func (m *ActiveArea_type) ValidateWithPath(path string) error

ValidateWithPath validates the ActiveArea_type and its children, prefixing error messages with path

## type Affine_type ¶

    type Affine_type struct {
        IdAttr  *string
        Content string
    }

### func NewAffine_type ¶

    func NewAffine_type() *Affine_type

### func (*Affine_type) MarshalXML ¶

    func (m *Affine_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Affine_type) UnmarshalXML ¶

    func (m *Affine_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Affine_type) Validate ¶

    func (m *Affine_type) Validate() error

Validate validates the Affine_type and its children

### func (*Affine_type) ValidateWithPath ¶

    func (m *Affine_type) ValidateWithPath(path string) error

ValidateWithPath validates the Affine_type and its children, prefixing error messages with path

## type AnnotationXML_type ¶

    type AnnotationXML_type struct {
        TypeAttr     *string
        EncodingAttr *string
        HrefAttr     *string
        Any          []unioffice.Any
    }

### func NewAnnotationXML_type ¶

    func NewAnnotationXML_type() *AnnotationXML_type

### func (*AnnotationXML_type) MarshalXML ¶

    func (m *AnnotationXML_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*AnnotationXML_type) UnmarshalXML ¶

    func (m *AnnotationXML_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*AnnotationXML_type) Validate ¶

    func (m *AnnotationXML_type) Validate() error

Validate validates the AnnotationXML_type and its children

### func (*AnnotationXML_type) ValidateWithPath ¶

    func (m *AnnotationXML_type) ValidateWithPath(path string) error

ValidateWithPath validates the AnnotationXML_type and its children, prefixing error messages with path

## type Annotation_type ¶

    type Annotation_type struct {
        TypeAttr     string
        EncodingAttr string
        Content      string
    }

### func NewAnnotation_type ¶

    func NewAnnotation_type() *Annotation_type

### func (*Annotation_type) MarshalXML ¶

    func (m *Annotation_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Annotation_type) UnmarshalXML ¶

    func (m *Annotation_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Annotation_type) Validate ¶

    func (m *Annotation_type) Validate() error

Validate validates the Annotation_type and its children

### func (*Annotation_type) ValidateWithPath ¶

    func (m *Annotation_type) ValidateWithPath(path string) error

ValidateWithPath validates the Annotation_type and its children, prefixing error messages with path

## type ApplyAttr ¶

    type ApplyAttr byte

    const (
        ApplyAttrAbsolute ApplyAttr = 0
        ApplyAttrRelative ApplyAttr = 1
    )

### func (ApplyAttr) String ¶

    func (m ApplyAttr) String() string

### func (ApplyAttr) Validate ¶

    func (m ApplyAttr) Validate() error

### func (ApplyAttr) ValidateWithPath ¶

    func (m ApplyAttr) ValidateWithPath(path string) error

## type Bind_type ¶

    type Bind_type struct {
        SourceAttr   *string
        TargetAttr   *string
        ColumnAttr   *string
        VariableAttr *string
    }

### func NewBind_type ¶

    func NewBind_type() *Bind_type

### func (*Bind_type) MarshalXML ¶

    func (m *Bind_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Bind_type) UnmarshalXML ¶

    func (m *Bind_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Bind_type) Validate ¶

    func (m *Bind_type) Validate() error

Validate validates the Bind_type and its children

### func (*Bind_type) ValidateWithPath ¶

    func (m *Bind_type) ValidateWithPath(path string) error

ValidateWithPath validates the Bind_type and its children, prefixing error messages with path

## type BooleanStr_type ¶

    type BooleanStr_type byte

    const (
        BooleanStr_typeUnset BooleanStr_type = 0
        BooleanStr_typeF     BooleanStr_type = 1
        BooleanStr_typeT     BooleanStr_type = 2
    )

### func (BooleanStr_type) MarshalXML ¶

    func (m BooleanStr_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (BooleanStr_type) MarshalXMLAttr ¶

    func (e BooleanStr_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (BooleanStr_type) String ¶

    func (m BooleanStr_type) String() string

### func (*BooleanStr_type) UnmarshalXML ¶

    func (m *BooleanStr_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*BooleanStr_type) UnmarshalXMLAttr ¶

    func (e *BooleanStr_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (BooleanStr_type) Validate ¶

    func (m BooleanStr_type) Validate() error

### func (BooleanStr_type) ValidateWithPath ¶

    func (m BooleanStr_type) ValidateWithPath(path string) error

## type BrushPropertyName_type ¶

BrushPropertyName_type is a union type

    type BrushPropertyName_type struct {
        StandardBrushPropertyName_type StandardBrushPropertyName_type
        UserBrushPropertyName_type     *string
    }

### func ParseUnionBrushPropertyName_type ¶

    func ParseUnionBrushPropertyName_type(s string) (BrushPropertyName_type, error)

### func (BrushPropertyName_type) MarshalXML ¶

    func (m BrushPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (BrushPropertyName_type) String ¶

    func (m BrushPropertyName_type) String() string

### func (*BrushPropertyName_type) Validate ¶

    func (m *BrushPropertyName_type) Validate() error

### func (*BrushPropertyName_type) ValidateWithPath ¶

    func (m *BrushPropertyName_type) ValidateWithPath(path string) error

## type BrushPropertyValue_type ¶

BrushPropertyValue_type is a union type

    type BrushPropertyValue_type struct {
        BrushRasterOp_type BrushRasterOp_type
        BrushTip_type      BrushTip_type
        Rgb_type           *string
        Float64            *float64
        Int64              *int64
        StringVal          *string
    }

### func ParseUnionBrushPropertyValue_type ¶

    func ParseUnionBrushPropertyValue_type(s string) (BrushPropertyValue_type, error)

### func (BrushPropertyValue_type) MarshalXML ¶

    func (m BrushPropertyValue_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (BrushPropertyValue_type) String ¶

    func (m BrushPropertyValue_type) String() string

### func (*BrushPropertyValue_type) Validate ¶

    func (m *BrushPropertyValue_type) Validate() error

### func (*BrushPropertyValue_type) ValidateWithPath ¶

    func (m *BrushPropertyValue_type) ValidateWithPath(path string) error

## type BrushProperty_type ¶

    type BrushProperty_type struct {
        NameAttr  BrushPropertyName_type
        ValueAttr BrushPropertyValue_type
        UnitsAttr *Units_type
    }

### func NewBrushProperty_type ¶

    func NewBrushProperty_type() *BrushProperty_type

### func (*BrushProperty_type) MarshalXML ¶

    func (m *BrushProperty_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*BrushProperty_type) UnmarshalXML ¶

    func (m *BrushProperty_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*BrushProperty_type) Validate ¶

    func (m *BrushProperty_type) Validate() error

Validate validates the BrushProperty_type and its children

### func (*BrushProperty_type) ValidateWithPath ¶

    func (m *BrushProperty_type) ValidateWithPath(path string) error

ValidateWithPath validates the BrushProperty_type and its children, prefixing error messages with path

## type BrushRasterOp_type ¶

    type BrushRasterOp_type byte

    const (
        BrushRasterOp_typeUnset       BrushRasterOp_type = 0
        BrushRasterOp_typeNoOperation BrushRasterOp_type = 1
        BrushRasterOp_typeCopyPen     BrushRasterOp_type = 2
        BrushRasterOp_typeMaskPen     BrushRasterOp_type = 3
    )

### func (BrushRasterOp_type) MarshalXML ¶

    func (m BrushRasterOp_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (BrushRasterOp_type) MarshalXMLAttr ¶

    func (e BrushRasterOp_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (BrushRasterOp_type) String ¶

    func (m BrushRasterOp_type) String() string

### func (*BrushRasterOp_type) UnmarshalXML ¶

    func (m *BrushRasterOp_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*BrushRasterOp_type) UnmarshalXMLAttr ¶

    func (e *BrushRasterOp_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (BrushRasterOp_type) Validate ¶

    func (m BrushRasterOp_type) Validate() error

### func (BrushRasterOp_type) ValidateWithPath ¶

    func (m BrushRasterOp_type) ValidateWithPath(path string) error

## type BrushTip_type ¶

    type BrushTip_type byte

    const (
        BrushTip_typeUnset     BrushTip_type = 0
        BrushTip_typeEllipse   BrushTip_type = 1
        BrushTip_typeRectangle BrushTip_type = 2
        BrushTip_typeDrop      BrushTip_type = 3
    )

### func (BrushTip_type) MarshalXML ¶

    func (m BrushTip_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (BrushTip_type) MarshalXMLAttr ¶

    func (e BrushTip_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (BrushTip_type) String ¶

    func (m BrushTip_type) String() string

### func (*BrushTip_type) UnmarshalXML ¶

    func (m *BrushTip_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*BrushTip_type) UnmarshalXMLAttr ¶

    func (e *BrushTip_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (BrushTip_type) Validate ¶

    func (m BrushTip_type) Validate() error

### func (BrushTip_type) ValidateWithPath ¶

    func (m BrushTip_type) ValidateWithPath(path string) error

## type Brush_type ¶

    type Brush_type struct {
        IdAttr        *string
        BrushRefAttr  *string
        BrushProperty []*BrushProperty_type
        Annotation    []*Annotation_type
        AnnotationXML []*AnnotationXML_type
    }

### func NewBrush_type ¶

    func NewBrush_type() *Brush_type

### func (*Brush_type) MarshalXML ¶

    func (m *Brush_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Brush_type) UnmarshalXML ¶

    func (m *Brush_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Brush_type) Validate ¶

    func (m *Brush_type) Validate() error

Validate validates the Brush_type and its children

### func (*Brush_type) ValidateWithPath ¶

    func (m *Brush_type) ValidateWithPath(path string) error

ValidateWithPath validates the Brush_type and its children, prefixing error messages with path

## type CanvasTransform_type ¶

    type CanvasTransform_type struct {
        IdAttr         *string
        InvertibleAttr *bool
        Mapping        *Mapping_type
        MMapping       *Mapping_type
    }

### func NewCanvasTransform_type ¶

    func NewCanvasTransform_type() *CanvasTransform_type

### func (*CanvasTransform_type) MarshalXML ¶

    func (m *CanvasTransform_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CanvasTransform_type) UnmarshalXML ¶

    func (m *CanvasTransform_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CanvasTransform_type) Validate ¶

    func (m *CanvasTransform_type) Validate() error

Validate validates the CanvasTransform_type and its children

### func (*CanvasTransform_type) ValidateWithPath ¶

    func (m *CanvasTransform_type) ValidateWithPath(path string) error

ValidateWithPath validates the CanvasTransform_type and its children, prefixing error messages with path

## type Canvas_type ¶

    type Canvas_type struct {
        IdAttr             *string
        TraceFormatRefAttr *string
        TraceFormat        *TraceFormat_type
    }

### func NewCanvas_type ¶

    func NewCanvas_type() *Canvas_type

### func (*Canvas_type) MarshalXML ¶

    func (m *Canvas_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Canvas_type) UnmarshalXML ¶

    func (m *Canvas_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Canvas_type) Validate ¶

    func (m *Canvas_type) Validate() error

Validate validates the Canvas_type and its children

### func (*Canvas_type) ValidateWithPath ¶

    func (m *Canvas_type) ValidateWithPath(path string) error

ValidateWithPath validates the Canvas_type and its children, prefixing error messages with path

## type ChannelName_type ¶

ChannelName_type is a union type

    type ChannelName_type struct {
        StandardChannelName_type StandardChannelName_type
        UserChannelName_type     *string
    }

### func ParseUnionChannelName_type ¶

    func ParseUnionChannelName_type(s string) (ChannelName_type, error)

### func (ChannelName_type) MarshalXML ¶

    func (m ChannelName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ChannelName_type) String ¶

    func (m ChannelName_type) String() string

### func (*ChannelName_type) Validate ¶

    func (m *ChannelName_type) Validate() error

### func (*ChannelName_type) ValidateWithPath ¶

    func (m *ChannelName_type) ValidateWithPath(path string) error

## type ChannelProperties_type ¶

    type ChannelProperties_type struct {
        // http://www.w3.org/TR/InkML/#channelProperty
        ChannelProperty []unioffice.XSDAny
    }

### func NewChannelProperties_type ¶

    func NewChannelProperties_type() *ChannelProperties_type

### func (*ChannelProperties_type) MarshalXML ¶

    func (m *ChannelProperties_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*ChannelProperties_type) UnmarshalXML ¶

    func (m *ChannelProperties_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ChannelProperties_type) Validate ¶

    func (m *ChannelProperties_type) Validate() error

Validate validates the ChannelProperties_type and its children

### func (*ChannelProperties_type) ValidateWithPath ¶

    func (m *ChannelProperties_type) ValidateWithPath(path string) error

ValidateWithPath validates the ChannelProperties_type and its children, prefixing error messages with path

## type ChannelPropertyName_type ¶

ChannelPropertyName_type is a union type

    type ChannelPropertyName_type struct {
        StandardChannelPropertyName_type StandardChannelPropertyName_type
        UserChannelPropertyName_type     *string
    }

### func ParseUnionChannelPropertyName_type ¶

    func ParseUnionChannelPropertyName_type(s string) (ChannelPropertyName_type, error)

### func (ChannelPropertyName_type) MarshalXML ¶

    func (m ChannelPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ChannelPropertyName_type) String ¶

    func (m ChannelPropertyName_type) String() string

### func (*ChannelPropertyName_type) Validate ¶

    func (m *ChannelPropertyName_type) Validate() error

### func (*ChannelPropertyName_type) ValidateWithPath ¶

    func (m *ChannelPropertyName_type) ValidateWithPath(path string) error

## type Channel_type ¶

    type Channel_type struct {
        IdAttr          *string
        NameAttr        ChannelName_type
        TypeAttr        *string
        DefaultAttr     *DefaultAttr
        MinAttr         *float64
        MaxAttr         *float64
        OrientationAttr *string
        RespectToAttr   *string
        UnitsAttr       *Units_type
        Mapping         *Mapping_type
    }

### func NewChannel_type ¶

    func NewChannel_type() *Channel_type

### func (*Channel_type) MarshalXML ¶

    func (m *Channel_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Channel_type) UnmarshalXML ¶

    func (m *Channel_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Channel_type) Validate ¶

    func (m *Channel_type) Validate() error

Validate validates the Channel_type and its children

### func (*Channel_type) ValidateWithPath ¶

    func (m *Channel_type) ValidateWithPath(path string) error

ValidateWithPath validates the Channel_type and its children, prefixing error messages with path

## type Context_type ¶

    type Context_type struct {
        IdAttr                 *string
        ContextRefAttr         *string
        CanvasRefAttr          *string
        CanvasTransformRefAttr *string
        TraceFormatRefAttr     *string
        InkSourceRefAttr       *string
        BrushRefAttr           *string
        TimestampRefAttr       *string
        Canvas                 *Canvas_type
        CanvasTransform        *CanvasTransform_type
        TraceFormat            *TraceFormat_type
        InkSource              *InkSource_type
        Brush                  *Brush_type
        Timestamp              *Timestamp_type
    }

### func NewContext_type ¶

    func NewContext_type() *Context_type

### func (*Context_type) MarshalXML ¶

    func (m *Context_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Context_type) UnmarshalXML ¶

    func (m *Context_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Context_type) Validate ¶

    func (m *Context_type) Validate() error

Validate validates the Context_type and its children

### func (*Context_type) ValidateWithPath ¶

    func (m *Context_type) ValidateWithPath(path string) error

ValidateWithPath validates the Context_type and its children, prefixing error messages with path

## type ContinuationAttr ¶

    type ContinuationAttr byte

    const (
        ContinuationAttrBegin  ContinuationAttr = 0
        ContinuationAttrEnd    ContinuationAttr = 1
        ContinuationAttrMiddle ContinuationAttr = 2
    )

### func (ContinuationAttr) String ¶

    func (m ContinuationAttr) String() string

### func (ContinuationAttr) Validate ¶

    func (m ContinuationAttr) Validate() error

### func (ContinuationAttr) ValidateWithPath ¶

    func (m ContinuationAttr) ValidateWithPath(path string) error

## type DefaultAttr ¶

DefaultAttr is a union type

    type DefaultAttr struct {
        Float64         *float64
        BooleanStr_type BooleanStr_type
    }

### func ParseUnionDefaultAttr ¶

    func ParseUnionDefaultAttr(s string) (DefaultAttr, error)

### func (DefaultAttr) MarshalXML ¶

    func (m DefaultAttr) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (DefaultAttr) String ¶

    func (m DefaultAttr) String() string

### func (*DefaultAttr) Validate ¶

    func (m *DefaultAttr) Validate() error

### func (*DefaultAttr) ValidateWithPath ¶

    func (m *DefaultAttr) ValidateWithPath(path string) error

## type Definitions_type ¶

    type Definitions_type struct {
        TypeChoice []*Definitions_typeChoice
    }

### func NewDefinitions_type ¶

    func NewDefinitions_type() *Definitions_type

### func (*Definitions_type) MarshalXML ¶

    func (m *Definitions_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Definitions_type) UnmarshalXML ¶

    func (m *Definitions_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Definitions_type) Validate ¶

    func (m *Definitions_type) Validate() error

Validate validates the Definitions_type and its children

### func (*Definitions_type) ValidateWithPath ¶

    func (m *Definitions_type) ValidateWithPath(path string) error

ValidateWithPath validates the Definitions_type and its children, prefixing error messages with path

## type Definitions_typeChoice ¶

    type Definitions_typeChoice struct {
        Brush           *Brush_type
        Canvas          *Canvas_type
        CanvasTransform *CanvasTransform_type
        Context         *Context_type
        InkSource       *InkSource_type
        Mapping         *Mapping_type
        Timestamp       *Timestamp_type
        Trace           *Trace_type
        TraceFormat     *TraceFormat_type
        TraceGroup      *TraceGroup_type
        TraceView       *TraceView_type
    }

### func NewDefinitions_typeChoice ¶

    func NewDefinitions_typeChoice() *Definitions_typeChoice

### func (*Definitions_typeChoice) MarshalXML ¶

    func (m *Definitions_typeChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Definitions_typeChoice) UnmarshalXML ¶

    func (m *Definitions_typeChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Definitions_typeChoice) Validate ¶

    func (m *Definitions_typeChoice) Validate() error

Validate validates the Definitions_typeChoice and its children

### func (*Definitions_typeChoice) ValidateWithPath ¶

    func (m *Definitions_typeChoice) ValidateWithPath(path string) error

ValidateWithPath validates the Definitions_typeChoice and its children, prefixing error messages with path

## type Ink ¶

    type Ink struct {
        Ink_type
    }

### func NewInk ¶

    func NewInk() *Ink

### func (*Ink) MarshalXML ¶

    func (m *Ink) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Ink) UnmarshalXML ¶

    func (m *Ink) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Ink) Validate ¶

    func (m *Ink) Validate() error

Validate validates the Ink and its children

### func (*Ink) ValidateWithPath ¶

    func (m *Ink) ValidateWithPath(path string) error

ValidateWithPath validates the Ink and its children, prefixing error messages with path

## type InkSource_type ¶

    type InkSource_type struct {
        IdAttr               string
        ManufacturerAttr     *string
        ModelAttr            *string
        SerialNoAttr         *string
        SpecificationRefAttr *string
        DescriptionAttr      *string
        TraceFormat          *TraceFormat_type
        SampleRate           *SampleRate_type
        Latency              *Latency_type
        ActiveArea           *ActiveArea_type
        SourceProperty       []*SourceProperty_type
        ChannelProperties    *ChannelProperties_type
    }

### func NewInkSource_type ¶

    func NewInkSource_type() *InkSource_type

### func (*InkSource_type) MarshalXML ¶

    func (m *InkSource_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*InkSource_type) UnmarshalXML ¶

    func (m *InkSource_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*InkSource_type) Validate ¶

    func (m *InkSource_type) Validate() error

Validate validates the InkSource_type and its children

### func (*InkSource_type) ValidateWithPath ¶

    func (m *InkSource_type) ValidateWithPath(path string) error

ValidateWithPath validates the InkSource_type and its children, prefixing error messages with path

## type Ink_type ¶

    type Ink_type struct {
        DocumentIDAttr *string
        TypeChoice     []*Ink_typeChoice
    }

### func NewInk_type ¶

    func NewInk_type() *Ink_type

### func (*Ink_type) MarshalXML ¶

    func (m *Ink_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Ink_type) UnmarshalXML ¶

    func (m *Ink_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Ink_type) Validate ¶

    func (m *Ink_type) Validate() error

Validate validates the Ink_type and its children

### func (*Ink_type) ValidateWithPath ¶

    func (m *Ink_type) ValidateWithPath(path string) error

ValidateWithPath validates the Ink_type and its children, prefixing error messages with path

## type Ink_typeChoice ¶

    type Ink_typeChoice struct {
        Definitions   []*Definitions_type
        Context       []*Context_type
        Trace         []*Trace_type
        TraceGroup    []*TraceGroup_type
        TraceView     []*TraceView_type
        Annotation    []*Annotation_type
        AnnotationXML []*AnnotationXML_type
    }

### func NewInk_typeChoice ¶

    func NewInk_typeChoice() *Ink_typeChoice

### func (*Ink_typeChoice) MarshalXML ¶

    func (m *Ink_typeChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Ink_typeChoice) UnmarshalXML ¶

    func (m *Ink_typeChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Ink_typeChoice) Validate ¶

    func (m *Ink_typeChoice) Validate() error

Validate validates the Ink_typeChoice and its children

### func (*Ink_typeChoice) ValidateWithPath ¶

    func (m *Ink_typeChoice) ValidateWithPath(path string) error

ValidateWithPath validates the Ink_typeChoice and its children, prefixing error messages with path

## type IntermittentChannels_type ¶

    type IntermittentChannels_type struct {
        Channel []*Channel_type
    }

### func NewIntermittentChannels_type ¶

    func NewIntermittentChannels_type() *IntermittentChannels_type

### func (*IntermittentChannels_type) MarshalXML ¶

    func (m *IntermittentChannels_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*IntermittentChannels_type) UnmarshalXML ¶

    func (m *IntermittentChannels_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*IntermittentChannels_type) Validate ¶

    func (m *IntermittentChannels_type) Validate() error

Validate validates the IntermittentChannels_type and its children

### func (*IntermittentChannels_type) ValidateWithPath ¶

    func (m *IntermittentChannels_type) ValidateWithPath(path string) error

ValidateWithPath validates the IntermittentChannels_type and its children, prefixing error messages with path

## type InterpolationAttr ¶

    type InterpolationAttr byte

    const (
        InterpolationAttrFloor   InterpolationAttr = 0
        InterpolationAttrMiddle  InterpolationAttr = 1
        InterpolationAttrCeiling InterpolationAttr = 2
        InterpolationAttrLinear  InterpolationAttr = 3
        InterpolationAttrCubic   InterpolationAttr = 4
    )

### func (InterpolationAttr) String ¶

    func (m InterpolationAttr) String() string

### func (InterpolationAttr) Validate ¶

    func (m InterpolationAttr) Validate() error

### func (InterpolationAttr) ValidateWithPath ¶

    func (m InterpolationAttr) ValidateWithPath(path string) error

## type Latency_type ¶

    type Latency_type struct {
        ValueAttr float64
    }

### func NewLatency_type ¶

    func NewLatency_type() *Latency_type

### func (*Latency_type) MarshalXML ¶

    func (m *Latency_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Latency_type) UnmarshalXML ¶

    func (m *Latency_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Latency_type) Validate ¶

    func (m *Latency_type) Validate() error

Validate validates the Latency_type and its children

### func (*Latency_type) ValidateWithPath ¶

    func (m *Latency_type) ValidateWithPath(path string) error

ValidateWithPath validates the Latency_type and its children, prefixing error messages with path

## type Mapping_type ¶

    type Mapping_type struct {
        IdAttr         *string
        TypeAttr       *string
        MappingRefAttr *string
    }

### func NewMapping_type ¶

    func NewMapping_type() *Mapping_type

### func (*Mapping_type) MarshalXML ¶

    func (m *Mapping_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Mapping_type) UnmarshalXML ¶

    func (m *Mapping_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Mapping_type) Validate ¶

    func (m *Mapping_type) Validate() error

Validate validates the Mapping_type and its children

### func (*Mapping_type) ValidateWithPath ¶

    func (m *Mapping_type) ValidateWithPath(path string) error

ValidateWithPath validates the Mapping_type and its children, prefixing error messages with path

## type OrientationAttr ¶

    type OrientationAttr byte

    const (
        OrientationAttr_ve  OrientationAttr = 0
        OrientationAttr_ve_ OrientationAttr = 1
    )

### func (OrientationAttr) String ¶

    func (m OrientationAttr) String() string

### func (OrientationAttr) Validate ¶

    func (m OrientationAttr) Validate() error

### func (OrientationAttr) ValidateWithPath ¶

    func (m OrientationAttr) ValidateWithPath(path string) error

## type SampleRate_type ¶

    type SampleRate_type struct {
        UniformAttr *bool
        ValueAttr   float64
    }

### func NewSampleRate_type ¶

    func NewSampleRate_type() *SampleRate_type

### func (*SampleRate_type) MarshalXML ¶

    func (m *SampleRate_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*SampleRate_type) UnmarshalXML ¶

    func (m *SampleRate_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*SampleRate_type) Validate ¶

    func (m *SampleRate_type) Validate() error

Validate validates the SampleRate_type and its children

### func (*SampleRate_type) ValidateWithPath ¶

    func (m *SampleRate_type) ValidateWithPath(path string) error

ValidateWithPath validates the SampleRate_type and its children, prefixing error messages with path

## type SourceProperty_type ¶

    type SourceProperty_type struct {
        NameAttr  string
        ValueAttr float64
        UnitsAttr *Units_type
    }

### func NewSourceProperty_type ¶

    func NewSourceProperty_type() *SourceProperty_type

### func (*SourceProperty_type) MarshalXML ¶

    func (m *SourceProperty_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*SourceProperty_type) UnmarshalXML ¶

    func (m *SourceProperty_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*SourceProperty_type) Validate ¶

    func (m *SourceProperty_type) Validate() error

Validate validates the SourceProperty_type and its children

### func (*SourceProperty_type) ValidateWithPath ¶

    func (m *SourceProperty_type) ValidateWithPath(path string) error

ValidateWithPath validates the SourceProperty_type and its children, prefixing error messages with path

## type StandardBrushPropertyName_type ¶

    type StandardBrushPropertyName_type byte

    const (
        StandardBrushPropertyName_typeUnset          StandardBrushPropertyName_type = 0
        StandardBrushPropertyName_typeWidth          StandardBrushPropertyName_type = 1
        StandardBrushPropertyName_typeHeight         StandardBrushPropertyName_type = 2
        StandardBrushPropertyName_typeColor          StandardBrushPropertyName_type = 3
        StandardBrushPropertyName_typeTransparency   StandardBrushPropertyName_type = 4
        StandardBrushPropertyName_typeTip            StandardBrushPropertyName_type = 5
        StandardBrushPropertyName_typeRasterOp       StandardBrushPropertyName_type = 6
        StandardBrushPropertyName_typeAntiAliased    StandardBrushPropertyName_type = 7
        StandardBrushPropertyName_typeFitToCurve     StandardBrushPropertyName_type = 8
        StandardBrushPropertyName_typeIgnorePressure StandardBrushPropertyName_type = 9
    )

### func (StandardBrushPropertyName_type) MarshalXML ¶

    func (m StandardBrushPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (StandardBrushPropertyName_type) MarshalXMLAttr ¶

    func (e StandardBrushPropertyName_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (StandardBrushPropertyName_type) String ¶

    func (m StandardBrushPropertyName_type) String() string

### func (*StandardBrushPropertyName_type) UnmarshalXML ¶

    func (m *StandardBrushPropertyName_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*StandardBrushPropertyName_type) UnmarshalXMLAttr ¶

    func (e *StandardBrushPropertyName_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (StandardBrushPropertyName_type) Validate ¶

    func (m StandardBrushPropertyName_type) Validate() error

### func (StandardBrushPropertyName_type) ValidateWithPath ¶

    func (m StandardBrushPropertyName_type) ValidateWithPath(path string) error

## type StandardChannelName_type ¶

    type StandardChannelName_type byte

    const (
        StandardChannelName_typeUnset StandardChannelName_type = 0
        StandardChannelName_typeX     StandardChannelName_type = 1
        StandardChannelName_typeY     StandardChannelName_type = 2
        StandardChannelName_typeZ     StandardChannelName_type = 3
        StandardChannelName_typeF     StandardChannelName_type = 4
        StandardChannelName_typeS     StandardChannelName_type = 5
        StandardChannelName_typeB1    StandardChannelName_type = 6
        StandardChannelName_typeB2    StandardChannelName_type = 7
        StandardChannelName_typeB3    StandardChannelName_type = 8
        StandardChannelName_typeB4    StandardChannelName_type = 9
        StandardChannelName_typeOTx   StandardChannelName_type = 10
        StandardChannelName_typeOTy   StandardChannelName_type = 11
        StandardChannelName_typeOA    StandardChannelName_type = 12
        StandardChannelName_typeOE    StandardChannelName_type = 13
        StandardChannelName_typeOR    StandardChannelName_type = 14
        StandardChannelName_typeC     StandardChannelName_type = 15
        StandardChannelName_typeCR    StandardChannelName_type = 16
        StandardChannelName_typeCG    StandardChannelName_type = 17
        StandardChannelName_typeCB    StandardChannelName_type = 18
        StandardChannelName_typeCC    StandardChannelName_type = 19
        StandardChannelName_typeCM    StandardChannelName_type = 20
        StandardChannelName_typeCY    StandardChannelName_type = 21
        StandardChannelName_typeCK    StandardChannelName_type = 22
        StandardChannelName_typeA     StandardChannelName_type = 23
        StandardChannelName_typeW     StandardChannelName_type = 24
        StandardChannelName_typeBW    StandardChannelName_type = 25
        StandardChannelName_typeBH    StandardChannelName_type = 26
        StandardChannelName_typeT     StandardChannelName_type = 27
    )

### func (StandardChannelName_type) MarshalXML ¶

    func (m StandardChannelName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (StandardChannelName_type) MarshalXMLAttr ¶

    func (e StandardChannelName_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (StandardChannelName_type) String ¶

    func (m StandardChannelName_type) String() string

### func (*StandardChannelName_type) UnmarshalXML ¶

    func (m *StandardChannelName_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*StandardChannelName_type) UnmarshalXMLAttr ¶

    func (e *StandardChannelName_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (StandardChannelName_type) Validate ¶

    func (m StandardChannelName_type) Validate() error

### func (StandardChannelName_type) ValidateWithPath ¶

    func (m StandardChannelName_type) ValidateWithPath(path string) error

## type StandardChannelPropertyName_type ¶

    type StandardChannelPropertyName_type byte

    const (
        StandardChannelPropertyName_typeUnset         StandardChannelPropertyName_type = 0
        StandardChannelPropertyName_typeThreshold     StandardChannelPropertyName_type = 1
        StandardChannelPropertyName_typeResolution    StandardChannelPropertyName_type = 2
        StandardChannelPropertyName_typeQuantization  StandardChannelPropertyName_type = 3
        StandardChannelPropertyName_typeNoise         StandardChannelPropertyName_type = 4
        StandardChannelPropertyName_typeAccuracy      StandardChannelPropertyName_type = 5
        StandardChannelPropertyName_typeCrossCoupling StandardChannelPropertyName_type = 6
        StandardChannelPropertyName_typeSkew          StandardChannelPropertyName_type = 7
        StandardChannelPropertyName_typeMinBandwidth  StandardChannelPropertyName_type = 8
        StandardChannelPropertyName_typePeakRate      StandardChannelPropertyName_type = 9
        StandardChannelPropertyName_typeDistortion    StandardChannelPropertyName_type = 10
    )

### func (StandardChannelPropertyName_type) MarshalXML ¶

    func (m StandardChannelPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (StandardChannelPropertyName_type) MarshalXMLAttr ¶

    func (e StandardChannelPropertyName_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (StandardChannelPropertyName_type) String ¶

    func (m StandardChannelPropertyName_type) String() string

### func (*StandardChannelPropertyName_type) UnmarshalXML ¶

    func (m *StandardChannelPropertyName_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*StandardChannelPropertyName_type) UnmarshalXMLAttr ¶

    func (e *StandardChannelPropertyName_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (StandardChannelPropertyName_type) Validate ¶

    func (m StandardChannelPropertyName_type) Validate() error

### func (StandardChannelPropertyName_type) ValidateWithPath ¶

    func (m StandardChannelPropertyName_type) ValidateWithPath(path string) error

## type StandardUnits_type ¶

    type StandardUnits_type byte

    const (
        StandardUnits_typeUnset StandardUnits_type = 0
        StandardUnits_typeM     StandardUnits_type = 1
        StandardUnits_typeCm    StandardUnits_type = 2
        StandardUnits_typeMm    StandardUnits_type = 3
        StandardUnits_typeIn    StandardUnits_type = 4
        StandardUnits_typePt    StandardUnits_type = 5
        StandardUnits_typePc    StandardUnits_type = 6
        StandardUnits_typeEm    StandardUnits_type = 7
        StandardUnits_typeEx    StandardUnits_type = 8
        StandardUnits_typeS     StandardUnits_type = 9
        StandardUnits_typeMs    StandardUnits_type = 10
        StandardUnits_typeKg    StandardUnits_type = 11
        StandardUnits_typeG     StandardUnits_type = 12
        StandardUnits_typeMg    StandardUnits_type = 13
        StandardUnits_typeN     StandardUnits_type = 14
        StandardUnits_typeDeg   StandardUnits_type = 15
        StandardUnits_typeRad   StandardUnits_type = 16
        StandardUnits_type_     StandardUnits_type = 17
        StandardUnits_typeDev   StandardUnits_type = 18
        StandardUnits_type1M    StandardUnits_type = 19
        StandardUnits_type1Cm   StandardUnits_type = 20
        StandardUnits_type1Mm   StandardUnits_type = 21
        StandardUnits_type1In   StandardUnits_type = 22
        StandardUnits_type1Pt   StandardUnits_type = 23
        StandardUnits_type1Pc   StandardUnits_type = 24
        StandardUnits_type1Em   StandardUnits_type = 25
        StandardUnits_type1Ex   StandardUnits_type = 26
        StandardUnits_type1S    StandardUnits_type = 27
        StandardUnits_type1Ms   StandardUnits_type = 28
        StandardUnits_type1Kg   StandardUnits_type = 29
        StandardUnits_type1G    StandardUnits_type = 30
        StandardUnits_type1Mg   StandardUnits_type = 31
        StandardUnits_type1Lb   StandardUnits_type = 32
        StandardUnits_type1N    StandardUnits_type = 33
        StandardUnits_type1Deg  StandardUnits_type = 34
        StandardUnits_type1Rad  StandardUnits_type = 35
        StandardUnits_type1Dev  StandardUnits_type = 36
        StandardUnits_typeMS    StandardUnits_type = 37
        StandardUnits_typeCmS   StandardUnits_type = 38
        StandardUnits_typeMmS   StandardUnits_type = 39
        StandardUnits_typeMmDeg StandardUnits_type = 40
        StandardUnits_typeMmRad StandardUnits_type = 41
    )

### func (StandardUnits_type) MarshalXML ¶

    func (m StandardUnits_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (StandardUnits_type) MarshalXMLAttr ¶

    func (e StandardUnits_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (StandardUnits_type) String ¶

    func (m StandardUnits_type) String() string

### func (*StandardUnits_type) UnmarshalXML ¶

    func (m *StandardUnits_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*StandardUnits_type) UnmarshalXMLAttr ¶

    func (e *StandardUnits_type) UnmarshalXMLAttr(attr xml.Attr) error

### func (StandardUnits_type) Validate ¶

    func (m StandardUnits_type) Validate() error

### func (StandardUnits_type) ValidateWithPath ¶

    func (m StandardUnits_type) ValidateWithPath(path string) error

## type Table_type ¶

    type Table_type struct {
        IdAttr            *string
        ApplyAttr         *string
        InterpolationAttr *string
        Content           string
    }

### func NewTable_type ¶

    func NewTable_type() *Table_type

### func (*Table_type) MarshalXML ¶

    func (m *Table_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Table_type) UnmarshalXML ¶

    func (m *Table_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Table_type) Validate ¶

    func (m *Table_type) Validate() error

Validate validates the Table_type and its children

### func (*Table_type) ValidateWithPath ¶

    func (m *Table_type) ValidateWithPath(path string) error

ValidateWithPath validates the Table_type and its children, prefixing error messages with path

## type Timestamp_type ¶

    type Timestamp_type struct {
        IdAttr           string
        TimeAttr         *uint64
        TimestampRefAttr *string
        TimeStringAttr   *time.Time
        TimeOffsetAttr   *uint64
    }

### func NewTimestamp_type ¶

    func NewTimestamp_type() *Timestamp_type

### func (*Timestamp_type) MarshalXML ¶

    func (m *Timestamp_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Timestamp_type) UnmarshalXML ¶

    func (m *Timestamp_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Timestamp_type) Validate ¶

    func (m *Timestamp_type) Validate() error

Validate validates the Timestamp_type and its children

### func (*Timestamp_type) ValidateWithPath ¶

    func (m *Timestamp_type) ValidateWithPath(path string) error

ValidateWithPath validates the Timestamp_type and its children, prefixing error messages with path

## type TraceFormat_type ¶

    type TraceFormat_type struct {
        IdAttr               *string
        Channel              []*Channel_type
        IntermittentChannels *IntermittentChannels_type
    }

### func NewTraceFormat_type ¶

    func NewTraceFormat_type() *TraceFormat_type

### func (*TraceFormat_type) MarshalXML ¶

    func (m *TraceFormat_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*TraceFormat_type) UnmarshalXML ¶

    func (m *TraceFormat_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*TraceFormat_type) Validate ¶

    func (m *TraceFormat_type) Validate() error

Validate validates the TraceFormat_type and its children

### func (*TraceFormat_type) ValidateWithPath ¶

    func (m *TraceFormat_type) ValidateWithPath(path string) error

ValidateWithPath validates the TraceFormat_type and its children, prefixing error messages with path

## type TraceGroup_type ¶

    type TraceGroup_type struct {
        IdAttr         *string
        ContextRefAttr *string
        BrushRefAttr   *string
        Trace          []*Trace_type
        TraceGroup     []*TraceGroup_type
        TraceView      []*TraceView_type
        Annotation     []*Annotation_type
        AnnotationXML  []*AnnotationXML_type
    }

### func NewTraceGroup_type ¶

    func NewTraceGroup_type() *TraceGroup_type

### func (*TraceGroup_type) MarshalXML ¶

    func (m *TraceGroup_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*TraceGroup_type) UnmarshalXML ¶

    func (m *TraceGroup_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*TraceGroup_type) Validate ¶

    func (m *TraceGroup_type) Validate() error

Validate validates the TraceGroup_type and its children

### func (*TraceGroup_type) ValidateWithPath ¶

    func (m *TraceGroup_type) ValidateWithPath(path string) error

ValidateWithPath validates the TraceGroup_type and its children, prefixing error messages with path

## type TraceView_type ¶

    type TraceView_type struct {
        IdAttr           *string
        TraceDataRefAttr *string
        FromAttr         *string
        ToAttr           *string
    }

### func NewTraceView_type ¶

    func NewTraceView_type() *TraceView_type

### func (*TraceView_type) MarshalXML ¶

    func (m *TraceView_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*TraceView_type) UnmarshalXML ¶

    func (m *TraceView_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*TraceView_type) Validate ¶

    func (m *TraceView_type) Validate() error

Validate validates the TraceView_type and its children

### func (*TraceView_type) ValidateWithPath ¶

    func (m *TraceView_type) ValidateWithPath(path string) error

ValidateWithPath validates the TraceView_type and its children, prefixing error messages with path

## type Trace_type ¶

    type Trace_type struct {
        IdAttr           string
        TypeAttr         *string
        ContinuationAttr *string
        PriorRefAttr     *string
        ContextRefAttr   string
        BrushRefAttr     string
        DurationAttr     int64
        TimeOffsetAttr   int64
        Content          string
    }

### func NewTrace_type ¶

    func NewTrace_type() *Trace_type

### func (*Trace_type) MarshalXML ¶

    func (m *Trace_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Trace_type) UnmarshalXML ¶

    func (m *Trace_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Trace_type) Validate ¶

    func (m *Trace_type) Validate() error

Validate validates the Trace_type and its children

### func (*Trace_type) ValidateWithPath ¶

    func (m *Trace_type) ValidateWithPath(path string) error

ValidateWithPath validates the Trace_type and its children, prefixing error messages with path

## type TypeAttr ¶

    type TypeAttr byte

    const (
        TypeAttrInteger TypeAttr = 0
        TypeAttrDecimal TypeAttr = 1
        TypeAttrDouble  TypeAttr = 2
        TypeAttrBoolean TypeAttr = 3
    )

### func (TypeAttr) String ¶

    func (m TypeAttr) String() string

### func (TypeAttr) Validate ¶

    func (m TypeAttr) Validate() error

### func (TypeAttr) ValidateWithPath ¶

    func (m TypeAttr) ValidateWithPath(path string) error

## type Units_type ¶

Units_type is a union type

    type Units_type struct {
        StandardUnits_type StandardUnits_type
        UserUnits_type     *string
    }

### func ParseUnionUnits_type ¶

    func ParseUnionUnits_type(s string) (Units_type, error)

### func (Units_type) MarshalXML ¶

    func (m Units_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (Units_type) String ¶

    func (m Units_type) String() string

### func (*Units_type) Validate ¶

    func (m *Units_type) Validate() error

### func (*Units_type) ValidateWithPath ¶

    func (m *Units_type) ValidateWithPath(path string) error