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