type CT_OEmbed struct {
OEmbedUrlAttr string
MediaTypeAttr string
PicLocksAutoForOEmbedAttr *bool
}
func NewCT_OEmbed() *CT_OEmbed
func (m *CT_OEmbed) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_OEmbed) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_OEmbed) Validate() error
Validate validates the CT_OEmbed and its children
func (m *CT_OEmbed) ValidateWithPath(path string) error
ValidateWithPath validates the CT_OEmbed and its children, prefixing error messages with path
type Oembed struct {
CT_OEmbed
}
func NewOembed() *Oembed
func (m *Oembed) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Oembed) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Oembed) Validate() error
Validate validates the Oembed and its children
func (m *Oembed) ValidateWithPath(path string) error
ValidateWithPath validates the Oembed and its children, prefixing error messages with path