-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmp.go
More file actions
29 lines (26 loc) · 737 Bytes
/
xmp.go
File metadata and controls
29 lines (26 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package xmp
import "encoding/xml"
type Profile struct {
Text string `xml:",chardata"`
Name string `xml:"name"`
Timestamp int64 `xml:"timestamp"`
Location string `xml:"location"`
Lat float64 `xml:"lat"`
Long float64 `xml:"long"`
}
type Xmpmeta struct {
XMLName xml.Name `xml:"xmpmeta"`
Text string `xml:",chardata"`
X string `xml:"x,attr"`
Xmptk string `xml:"xmptk,attr"`
RDF struct {
Text string `xml:",chardata"`
Rdf string `xml:"rdf,attr"`
Description struct {
Text string `xml:",chardata"`
About string `xml:"about,attr"`
Weladee string `xml:"weladee,attr"`
Profile Profile `xml:"profile"`
} `xml:"Description"`
} `xml:"RDF"`
}