mirror of
				https://github.com/Theodor-Springmann-Stiftung/musenalm.git
				synced 2025-10-31 10:15:32 +00:00 
			
		
		
		
	IDs: string -> int
This commit is contained in:
		
							
								
								
									
										25
									
								
								;
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								;
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| package xmlmodels | ||||
|  | ||||
| import "encoding/xml" | ||||
|  | ||||
| type Inhalte struct { | ||||
| 	XMLName xml.Name `xml:"dataroot"` | ||||
| 	Inhalte []Inhalt `xml:"Inhalte"` | ||||
| } | ||||
|  | ||||
| type Inhalt struct { | ||||
| 	ID            int    `xml:"ID"` | ||||
| 	Titelangabe   string `xml:"TITEL"` | ||||
| 	Urheberangabe string `xml:"AUTOR"` | ||||
| 	Band          int    `xml:"BAND"` | ||||
| 	Objektnummer  string `xml:"OBJEKTNUMMER"` | ||||
| 	Incipit       string `xml:"INCIPIT"` | ||||
| 	Paginierung   string `xml:"PAGINIERUNG"` | ||||
| 	Typ           Typ    `xml:"TYP"` | ||||
| 	Anmerkungen   string `xml:"ANMERKUNGEN"` | ||||
| 	Seite         string `xml:"SEITE"` | ||||
| } | ||||
|  | ||||
| type Typ struct { | ||||
| 	Value []string `xml:"Value"` | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens