Files
musenalm/xmlmodels/relationen.go
2025-02-08 15:24:13 +01:00

40 lines
1.0 KiB
Go

package xmlmodels
import "encoding/xml"
type Relationen_Bände_Reihen struct {
XMLName xml.Name `xml:"dataroot"`
Relationen []Relation_Band_Reihe `xml:"_x002A_RELATION_BaendeReihen"`
}
type Relation_Band_Reihe struct {
ID string `xml:"ID"`
Band string `xml:"BAND"`
Relation string `xml:"BEZIEHUNG"`
Reihe string `xml:"REIHE"`
}
type Relationen_Inhalte_Akteure struct {
XMLName xml.Name `xml:"dataroot"`
Relationen []Relation_Inhalt_akteur `xml:"_x002A_RELATION_InhalteAkteure"`
}
type Relation_Inhalt_akteur struct {
ID string `xml:"ID"`
Band string `xml:"INHALT"`
Relation string `xml:"BEZIEHUNG"`
Akteur string `xml:"AKTEUR"`
}
type Relationen_Bände_Akteure struct {
XMLName xml.Name `xml:"dataroot"`
Relationen []Relation_Band_Akteur `xml:"_x002A_RELATION_BaendeAkteure"`
}
type Relation_Band_Akteur struct {
ID string `xml:"ID"`
Band string `xml:"BAND"`
Relation string `xml:"BEZIEHUNG"`
Akteur string `xml:"AKTEUR"`
}