mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-10-31 09:55:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			921 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			921 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package xmlprovider
 | |
| 
 | |
| import "encoding/xml"
 | |
| 
 | |
| type AgentRef struct {
 | |
| 	XMLName xml.Name `xml:"akteur"`
 | |
| 	Reference
 | |
| }
 | |
| 
 | |
| type AdditionalRef struct {
 | |
| 	XMLName xml.Name `xml:"beilage"`
 | |
| 	Reference
 | |
| 	Datum        string `xml:"datum,attr"`
 | |
| 	Nr           int    `xml:"nr,attr"`
 | |
| 	AdditionalNo int    `xml:"beilage,attr"`
 | |
| 	Von          int    `xml:"von,attr"`
 | |
| 	Bis          int    `xml:"bis,attr"`
 | |
| }
 | |
| 
 | |
| type IssueRef struct {
 | |
| 	XMLName xml.Name `xml:"stueck"`
 | |
| 	Reference
 | |
| 	Datum string `xml:"datum,attr"`
 | |
| 	Nr    int    `xml:"nr,attr"`
 | |
| 	Von   int    `xml:"von,attr"`
 | |
| 	Bis   int    `xml:"bis,attr"`
 | |
| }
 | |
| 
 | |
| type PlaceRef struct {
 | |
| 	XMLName xml.Name `xml:"ort"`
 | |
| 	Reference
 | |
| }
 | |
| 
 | |
| type CategoryRef struct {
 | |
| 	XMLName xml.Name `xml:"kategorie"`
 | |
| 	Reference
 | |
| }
 | |
| 
 | |
| type WorkRef struct {
 | |
| 	XMLName xml.Name `xml:"werk"`
 | |
| 	Reference
 | |
| 	Page string `xml:"s,attr"`
 | |
| }
 | |
| 
 | |
| type PieceRef struct {
 | |
| 	XMLName xml.Name `xml:"beitrag"`
 | |
| 	Page    string   `xml:"s,attr"`
 | |
| 	Reference
 | |
| }
 | 
