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