type CT_Relationship struct { TargetModeAttr ST_TargetMode TargetAttr string TypeAttr string IdAttr string Content string }
func NewCT_Relationship() *CT_Relationship
func (m *CT_Relationship) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_Relationship) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_Relationship) Validate() error
Validate validates the CT_Relationship and its children
func (m *CT_Relationship) ValidateWithPath(path string) error
ValidateWithPath validates the CT_Relationship and its children, prefixing error messages with path
type CT_Relationships struct { Relationship []*Relationship }
func NewCT_Relationships() *CT_Relationships
func (m *CT_Relationships) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_Relationships) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_Relationships) Validate() error
Validate validates the CT_Relationships and its children
func (m *CT_Relationships) ValidateWithPath(path string) error
ValidateWithPath validates the CT_Relationships and its children, prefixing error messages with path
type Relationship struct { CT_Relationship }
func NewRelationship() *Relationship
func (m *Relationship) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Relationship) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Relationship) Validate() error
Validate validates the Relationship and its children
func (m *Relationship) ValidateWithPath(path string) error
ValidateWithPath validates the Relationship and its children, prefixing error messages with path
type Relationships struct { CT_Relationships }
func NewRelationships() *Relationships
func (m *Relationships) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Relationships) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Relationships) Validate() error
Validate validates the Relationships and its children
func (m *Relationships) ValidateWithPath(path string) error
ValidateWithPath validates the Relationships and its children, prefixing error messages with path
type ST_TargetMode byte
const ( ST_TargetModeUnset ST_TargetMode = 0 ST_TargetModeExternal ST_TargetMode = 1 ST_TargetModeInternal ST_TargetMode = 2 )
func (m ST_TargetMode) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e ST_TargetMode) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m ST_TargetMode) String() string
func (m *ST_TargetMode) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *ST_TargetMode) UnmarshalXMLAttr(attr xml.Attr) error
func (m ST_TargetMode) Validate() error
func (m ST_TargetMode) ValidateWithPath(path string) error