1
+ <root >
2
+ <!--
3
+ Microsoft ResX Schema
4
+
5
+ Version 2.0
6
+
7
+ The primary goals of this format is to allow a simple XML format
8
+ that is mostly human readable. The generation and parsing of the
9
+ various data types are done through the TypeConverter classes
10
+ associated with the data types.
11
+
12
+ Example:
13
+
14
+ ... ado.net/XML headers & schema ...
15
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
16
+ <resheader name="version">2.0</resheader>
17
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
18
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
19
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
20
+ <data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
21
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
22
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
23
+ </data>
24
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
25
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
26
+ <comment>This is a comment</comment>
27
+ </data>
28
+
29
+ There are any number of "resheader" rows that contain simple
30
+ name/value pairs.
31
+
32
+ Each data row contains a name, and value. The row also contains a
33
+ type or mimetype. Type corresponds to a .NET class that support
34
+ text/value conversion through the TypeConverter architecture.
35
+ Classes that don't support this are serialized and stored with the
36
+ mimetype set.
37
+
38
+ The mimetype is used for serialized objects, and tells the
39
+ ResXResourceReader how to depersist the object. This is currently not
40
+ extensible. For a given mimetype the value must be set accordingly:
41
+
42
+ Note - application/x-microsoft.net.object.binary.base64 is the format
43
+ that the ResXResourceWriter will generate, however the reader can
44
+ read any of the formats listed below.
45
+
46
+ mimetype: application/x-microsoft.net.object.binary.base64
47
+ value : The object must be serialized with
48
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
49
+ : and then encoded with base64 encoding.
50
+
51
+ mimetype: application/x-microsoft.net.object.soap.base64
52
+ value : The object must be serialized with
53
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
54
+ : and then encoded with base64 encoding.
55
+
56
+ mimetype: application/x-microsoft.net.object.bytearray.base64
57
+ value : The object must be serialized into a byte array
58
+ : using a System.ComponentModel.TypeConverter
59
+ : and then encoded with base64 encoding.
60
+ -->
61
+ <xsd : schema id =" root" xmlns =" " xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : msdata =" urn:schemas-microsoft-com:xml-msdata" >
62
+ <xsd : import namespace =" http://www.w3.org/XML/1998/namespace" />
63
+ <xsd : element name =" root" msdata : IsDataSet =" true" >
64
+ <xsd : complexType >
65
+ <xsd : choice maxOccurs =" unbounded" >
66
+ <xsd : element name =" metadata" >
67
+ <xsd : complexType >
68
+ <xsd : sequence >
69
+ <xsd : element name =" value" type =" xsd:string" minOccurs =" 0" />
70
+ </xsd : sequence >
71
+ <xsd : attribute name =" name" use =" required" type =" xsd:string" />
72
+ <xsd : attribute name =" type" type =" xsd:string" />
73
+ <xsd : attribute name =" mimetype" type =" xsd:string" />
74
+ <xsd : attribute ref =" xml:space" />
75
+ </xsd : complexType >
76
+ </xsd : element >
77
+ <xsd : element name =" assembly" >
78
+ <xsd : complexType >
79
+ <xsd : attribute name =" alias" type =" xsd:string" />
80
+ <xsd : attribute name =" name" type =" xsd:string" />
81
+ </xsd : complexType >
82
+ </xsd : element >
83
+ <xsd : element name =" data" >
84
+ <xsd : complexType >
85
+ <xsd : sequence >
86
+ <xsd : element name =" value" type =" xsd:string" minOccurs =" 0" msdata : Ordinal =" 1" />
87
+ <xsd : element name =" comment" type =" xsd:string" minOccurs =" 0" msdata : Ordinal =" 2" />
88
+ </xsd : sequence >
89
+ <xsd : attribute name =" name" type =" xsd:string" use =" required" msdata : Ordinal =" 1" />
90
+ <xsd : attribute name =" type" type =" xsd:string" msdata : Ordinal =" 3" />
91
+ <xsd : attribute name =" mimetype" type =" xsd:string" msdata : Ordinal =" 4" />
92
+ <xsd : attribute ref =" xml:space" />
93
+ </xsd : complexType >
94
+ </xsd : element >
95
+ <xsd : element name =" resheader" >
96
+ <xsd : complexType >
97
+ <xsd : sequence >
98
+ <xsd : element name =" value" type =" xsd:string" minOccurs =" 0" msdata : Ordinal =" 1" />
99
+ </xsd : sequence >
100
+ <xsd : attribute name =" name" type =" xsd:string" use =" required" />
101
+ </xsd : complexType >
102
+ </xsd : element >
103
+ </xsd : choice >
104
+ </xsd : complexType >
105
+ </xsd : element >
106
+ </xsd : schema >
107
+ <resheader name =" resmimetype" >
108
+ <value >text/microsoft-resx</value >
109
+ </resheader >
110
+ <resheader name =" version" >
111
+ <value >2.0</value >
112
+ </resheader >
113
+ <resheader name =" reader" >
114
+ <value >System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value >
115
+ </resheader >
116
+ <resheader name =" writer" >
117
+ <value >System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value >
118
+ </resheader >
119
+ </root >
0 commit comments