StephaneLenclud@211: <?xml version="1.0" encoding="utf-8"?> StephaneLenclud@211: <root> StephaneLenclud@211: <!-- StephaneLenclud@211: Microsoft ResX Schema StephaneLenclud@211: StephaneLenclud@211: Version 2.0 StephaneLenclud@211: StephaneLenclud@211: The primary goals of this format is to allow a simple XML format StephaneLenclud@211: that is mostly human readable. The generation and parsing of the StephaneLenclud@211: various data types are done through the TypeConverter classes StephaneLenclud@211: associated with the data types. StephaneLenclud@211: StephaneLenclud@211: Example: StephaneLenclud@211: StephaneLenclud@211: ... ado.net/XML headers & schema ... StephaneLenclud@211: <resheader name="resmimetype">text/microsoft-resx</resheader> StephaneLenclud@211: <resheader name="version">2.0</resheader> StephaneLenclud@211: <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> StephaneLenclud@211: <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> StephaneLenclud@211: <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> StephaneLenclud@211: <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> StephaneLenclud@211: <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> StephaneLenclud@211: <value>[base64 mime encoded serialized .NET Framework object]</value> StephaneLenclud@211: </data> StephaneLenclud@211: <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> StephaneLenclud@211: <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> StephaneLenclud@211: <comment>This is a comment</comment> StephaneLenclud@211: </data> StephaneLenclud@211: StephaneLenclud@211: There are any number of "resheader" rows that contain simple StephaneLenclud@211: name/value pairs. StephaneLenclud@211: StephaneLenclud@211: Each data row contains a name, and value. The row also contains a StephaneLenclud@211: type or mimetype. Type corresponds to a .NET class that support StephaneLenclud@211: text/value conversion through the TypeConverter architecture. StephaneLenclud@211: Classes that don't support this are serialized and stored with the StephaneLenclud@211: mimetype set. StephaneLenclud@211: StephaneLenclud@211: The mimetype is used for serialized objects, and tells the StephaneLenclud@211: ResXResourceReader how to depersist the object. This is currently not StephaneLenclud@211: extensible. For a given mimetype the value must be set accordingly: StephaneLenclud@211: StephaneLenclud@211: Note - application/x-microsoft.net.object.binary.base64 is the format StephaneLenclud@211: that the ResXResourceWriter will generate, however the reader can StephaneLenclud@211: read any of the formats listed below. StephaneLenclud@211: StephaneLenclud@211: mimetype: application/x-microsoft.net.object.binary.base64 StephaneLenclud@211: value : The object must be serialized with StephaneLenclud@211: : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter StephaneLenclud@211: : and then encoded with base64 encoding. StephaneLenclud@211: StephaneLenclud@211: mimetype: application/x-microsoft.net.object.soap.base64 StephaneLenclud@211: value : The object must be serialized with StephaneLenclud@211: : System.Runtime.Serialization.Formatters.Soap.SoapFormatter StephaneLenclud@211: : and then encoded with base64 encoding. StephaneLenclud@211: StephaneLenclud@211: mimetype: application/x-microsoft.net.object.bytearray.base64 StephaneLenclud@211: value : The object must be serialized into a byte array StephaneLenclud@211: : using a System.ComponentModel.TypeConverter StephaneLenclud@211: : and then encoded with base64 encoding. StephaneLenclud@211: --> StephaneLenclud@211: <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> StephaneLenclud@211: <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> StephaneLenclud@211: <xsd:element name="root" msdata:IsDataSet="true"> StephaneLenclud@211: <xsd:complexType> StephaneLenclud@211: <xsd:choice maxOccurs="unbounded"> StephaneLenclud@211: <xsd:element name="metadata"> StephaneLenclud@211: <xsd:complexType> StephaneLenclud@211: <xsd:sequence> StephaneLenclud@211: <xsd:element name="value" type="xsd:string" minOccurs="0" /> StephaneLenclud@211: </xsd:sequence> StephaneLenclud@211: <xsd:attribute name="name" use="required" type="xsd:string" /> StephaneLenclud@211: <xsd:attribute name="type" type="xsd:string" /> StephaneLenclud@211: <xsd:attribute name="mimetype" type="xsd:string" /> StephaneLenclud@211: <xsd:attribute ref="xml:space" /> StephaneLenclud@211: </xsd:complexType> StephaneLenclud@211: </xsd:element> StephaneLenclud@211: <xsd:element name="assembly"> StephaneLenclud@211: <xsd:complexType> StephaneLenclud@211: <xsd:attribute name="alias" type="xsd:string" /> StephaneLenclud@211: <xsd:attribute name="name" type="xsd:string" /> StephaneLenclud@211: </xsd:complexType> StephaneLenclud@211: </xsd:element> StephaneLenclud@211: <xsd:element name="data"> StephaneLenclud@211: <xsd:complexType> StephaneLenclud@211: <xsd:sequence> StephaneLenclud@211: <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> StephaneLenclud@211: <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> StephaneLenclud@211: </xsd:sequence> StephaneLenclud@211: <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> StephaneLenclud@211: <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> StephaneLenclud@211: <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> StephaneLenclud@211: <xsd:attribute ref="xml:space" /> StephaneLenclud@211: </xsd:complexType> StephaneLenclud@211: </xsd:element> StephaneLenclud@211: <xsd:element name="resheader"> StephaneLenclud@211: <xsd:complexType> StephaneLenclud@211: <xsd:sequence> StephaneLenclud@211: <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> StephaneLenclud@211: </xsd:sequence> StephaneLenclud@211: <xsd:attribute name="name" type="xsd:string" use="required" /> StephaneLenclud@211: </xsd:complexType> StephaneLenclud@211: </xsd:element> StephaneLenclud@211: </xsd:choice> StephaneLenclud@211: </xsd:complexType> StephaneLenclud@211: </xsd:element> StephaneLenclud@211: </xsd:schema> StephaneLenclud@211: <resheader name="resmimetype"> StephaneLenclud@211: <value>text/microsoft-resx</value> StephaneLenclud@211: </resheader> StephaneLenclud@211: <resheader name="version"> StephaneLenclud@211: <value>2.0</value> StephaneLenclud@211: </resheader> StephaneLenclud@211: <resheader name="reader"> StephaneLenclud@211: <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> StephaneLenclud@211: </resheader> StephaneLenclud@211: <resheader name="writer"> StephaneLenclud@211: <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> StephaneLenclud@211: </resheader> StephaneLenclud@219: <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> StephaneLenclud@219: <value>17, 17</value> StephaneLenclud@219: </metadata> StephaneLenclud@211: </root>