Versions in this module Expand all Collapse all v0 v0.1.1 Jan 9, 2021 v0.1.0 Jan 9, 2021 Changes in this version + type Annotation struct + ID string + Lang string + func (a *Annotation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (c Annotation) GetContent() []Contenter + func (c Annotation) GetText() []byte + type Author struct + Emails []string + FirstName *TextField + HomePages []string + ID string + LastName *TextField + MiddleName *TextField + Nickname *TextField + func (a *Author) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *Author) GetXMLName() xml.Name + func (n *Author) SetXMLName(name xml.Name) + type Binary struct + ContentType string + ID string + Value []byte + func (b *Binary) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *Binary) GetXMLName() xml.Name + func (n *Binary) SetXMLName(name xml.Name) + type Body struct + Epigraphs []*Epigraph + Image *Image + Lang string + Sections []*Section + Title *Title + func (b *Body) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *Body) GetXMLName() xml.Name + func (n *Body) SetXMLName(name xml.Name) + type CharData xml.CharData + func (c CharData) GetContent() []Contenter + func (c CharData) GetText() []byte + func (c CharData) GetXMLName() xml.Name + type Cite struct + ID string + Lang string + TextAuthor []*P + func (c *Cite) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (c Cite) GetContent() []Contenter + func (c Cite) GetText() []byte + type Contenter interface + GetContent func() []Contenter + GetText func() []byte + GetXMLName func() xml.Name + type Coverpage struct + Image *InlineImage + func (c *Coverpage) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *Coverpage) GetXMLName() xml.Name + func (n *Coverpage) SetXMLName(name xml.Name) + type CustomInfo struct + InfoType string + func (ci *CustomInfo) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *CustomInfo) GetXMLName() xml.Name + func (n *CustomInfo) SetXMLName(name xml.Name) + type Date struct + Lang string + StrValue string + Value *XMLDate + func (d *Date) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error + func (n *Date) GetXMLName() xml.Name + func (n *Date) SetXMLName(name xml.Name) + type Description struct + CustomInfo []*CustomInfo + DocumentInfo *DocumentInfo + Output []*ShareInstruction + PublishInfo *PublishInfo + SrcTitleInfo *TitleInfo + TitleInfo *TitleInfo + func (d *Description) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error + func (n *Description) GetXMLName() xml.Name + func (n *Description) SetXMLName(name xml.Name) + type DocGenerationInstruction string + type DocumentInfo struct + Authors []*Author + Date *Date + History *Annotation + ID string + ProgramUsed *TextField + Publishers []*Author + SrcOcr *TextField + SrcURLs []string + Version float64 + func (di *DocumentInfo) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *DocumentInfo) GetXMLName() xml.Name + func (n *DocumentInfo) SetXMLName(name xml.Name) + type EmptyLine struct + XMLName xml.Name + func (e EmptyLine) GetContent() []Contenter + type Epigraph struct + ID string + TextAuthor []*P + func (c Epigraph) GetContent() []Contenter + func (c Epigraph) GetText() []byte + func (ep *Epigraph) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type FictionBook struct + Binary []*Binary + Body *Body + Description *Description + NotesBody *NotesBody + Stylesheet []*Stylesheet + func (f *FictionBook) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *FictionBook) GetXMLName() xml.Name + func (n *FictionBook) SetXMLName(name xml.Name) + type Genre struct + Genre string + Match *int + func (g *Genre) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *Genre) GetXMLName() xml.Name + func (n *Genre) SetXMLName(name xml.Name) + type Image struct + Alt string + ID string + Title string + XlinkHref string + XlinkType string + func (e Image) GetContent() []Contenter + type InlineImage struct + Alt string + XlinkHref string + XlinkType string + func (e InlineImage) GetContent() []Contenter + func (i *InlineImage) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Link struct + Type string + XlinkHref string + XlinkType string + func (l *Link) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type NamedStyleType struct + Name string + func (s *NamedStyleType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Node interface + GetXMLName func() xml.Name + SetXMLName func(xml.Name) + type NotesBody struct + Name string + func (b *NotesBody) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n *NotesBody) GetXMLName() xml.Name + func (n *NotesBody) SetXMLName(name xml.Name) + type OutPutDocument struct + Create DocGenerationInstruction + Name string + Parts []*PartShareInstruction + Price float64 + func (n *OutPutDocument) GetXMLName() xml.Name + func (n *OutPutDocument) SetXMLName(name xml.Name) + func (od *OutPutDocument) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type P struct + ID string + Style string + func (p *P) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Parser struct + func NewParser(n Node) *Parser + func (p *Parser) Parse(d *xml.Decoder, start xml.StartElement) error + func (p *Parser) ParseToken(token xml.Token) error + type PartShareInstruction struct + Include DocGenerationInstruction + XlinkHref string + XlinkType string + func (n *PartShareInstruction) GetXMLName() xml.Name + func (n *PartShareInstruction) SetXMLName(name xml.Name) + func (psi *PartShareInstruction) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Poem struct + Epigraphs []*Epigraph + Title *Title + XMLName xml.Name + func (c Poem) GetContent() []Contenter + func (c Poem) GetText() []byte + func (p *Poem) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type PublishInfo struct + BookName *TextField + City *TextField + ISBN *TextField + Publisher *TextField + Sequences []*Sequence + Year string + func (n *PublishInfo) GetXMLName() xml.Name + func (n *PublishInfo) SetXMLName(name xml.Name) + func (pi *PublishInfo) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Section struct + Annotation *Annotation + Epigraphs []*Epigraph + ID string + Image *Image + Lang string + Sections []*Section + Title *Title + func (c Section) GetContent() []Contenter + func (c Section) GetText() []byte + func (s *Section) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Sequence struct + Name string + Number int + Sequences []*Sequence + func (n *Sequence) GetXMLName() xml.Name + func (n *Sequence) SetXMLName(name xml.Name) + func (s *Sequence) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type ShareInstruction struct + Currency string + IncludeAll DocGenerationInstruction + Mode ShareMode + OutputDocumentClass []*OutPutDocument + Parts []*PartShareInstruction + Price float64 + func (n *ShareInstruction) GetXMLName() xml.Name + func (n *ShareInstruction) SetXMLName(name xml.Name) + func (si *ShareInstruction) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type ShareMode string + type Stanza struct + Lang string + Subtitle *P + Title *Title + V []*P + func (e Stanza) GetText() []byte + func (e Stanza) GetXMLName() xml.Name + func (s Stanza) GetContent() []Contenter + type StyleLinkType struct + func (s *StyleLinkType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type StyleType struct + Lang string + func (s *StyleType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Stylesheet struct + Type string + Value []byte + func (n *Stylesheet) GetXMLName() xml.Name + func (n *Stylesheet) SetXMLName(name xml.Name) + func (s *Stylesheet) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TD struct + Align string + Colspan int + ID string + Rowspan int + Style string + Valign string + func (t *TD) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TR struct + Align string + func (c TR) GetContent() []Contenter + func (c TR) GetText() []byte + func (t *TR) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Table struct + ID string + Style string + TR []*TR + XMLName xml.Name + func (e Table) GetText() []byte + func (e Table) GetXMLName() xml.Name + func (t *Table) GetContent() []Contenter + type TextField struct + Lang string + Value string + func (n *TextField) GetXMLName() xml.Name + func (n *TextField) SetXMLName(name xml.Name) + func (t *TextField) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Title struct + Lang string + func (c Title) GetContent() []Contenter + func (c Title) GetText() []byte + func (t *Title) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TitleInfo struct + Annotation *Annotation + Authors []*Author + BookTitle *TextField + Coverpage *Coverpage + Date *Date + Genres []*Genre + Keywords *TextField + Lang string + Sequences []*Sequence + SrcLang string + Translators []*Author + func (n *TitleInfo) GetXMLName() xml.Name + func (n *TitleInfo) SetXMLName(name xml.Name) + func (ti *TitleInfo) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type XMLDate struct + func (d *XMLDate) UnmarshalXMLAttr(attr xml.Attr) error