【正文】
xsd:attribute ref=xml:space / /xsd:plexType /xsd:element xsd:element name=assembly xsd:plexType xsd:attribute name=alias type=xsd:string / xsd:attribute name=name type=xsd:string / /xsd:plexType /xsd:element xsd:element name=data xsd:plexType xsd:sequence xsd:element name=value type=xsd:string minOccurs=0 msdata:Ordinal=1 / xsd:element name=ment type=xsd:string minOccurs=0 msdata:Ordinal=2 / /xsd:sequence xsd:attribute name=name type=xsd:string use=required msdata:Ordinal=1 / xsd:attribute name=type type=xsd:string msdata:Ordinal=3 / xsd:attribute name=mimetype type=xsd:string msdata:Ordinal=4 / xsd:attribute ref=xml:space / /xsd:plexType /xsd:element xsd:element name=resheader xsd:plexType xsd:sequence xsd:element name=value type=xsd:string minOccurs=0 msdata:Ordinal=1 / /xsd:sequence xsd:attribute name=name type=xsd:string use=required / /xsd:plexType /xsd:element /xsd:choice /xsd:plexType /xsd:element /xsd:schema resheader name=resmimetype valuetext/microsoftresx/value /resheader resheader name=version22 / 44 value/value /resheader resheader name=reader value, , Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089/value /resheader resheader name=writer value, , Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089/value /resheader/root?xml version= encoding=utf8?root ! Microsoft ResX Schema Version The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes 23 / 44 associated with the data types. Example: ... resheader name=resmimetypetext/microsoftresx/resheader resheader name=version/resheader resheader name=reader, , .../resheader resheader name=writer, , .../resheader data name=Name1valuethis is my long string/valuementthis is a ment/ment/data data name=Color1 type=, Blue/data data name=Bitmap1 mimetype=application/x value[base64 mime encoded serialized .NET Framework object]/value /data data name=Icon1 type=, mimetype=application/ value[base64 mime encoded string representing a byte array form of the .NET Framework object]/value mentThis is a ment/ment /data There are any number of resheader rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don39。t support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note application/ is the 24 / 44format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/ value : The object must be serialized with : : and then encoded with base64 encoding. mimetype: application/ value : The object must be serialized with : : and then encoded with base64 encoding. mimetype: application/ value : The object must be serialized into a byte array : using a : and then encoded with base64 encoding. xsd:schema id=root xmlns= xmlns:xsd= xmlns:msdata=urn:schemasmicrosoft:xmlmsdata xsd:import namespace= / xsd:element name=root msdata:IsDataSet=true xsd:plexType xsd:choice maxOccurs=unbounded xsd:element name=metadata xsd:plexType xsd:sequence xsd:element name=value type=xsd:string minOccurs=0 / /xsd:sequence xsd:attribute name=name use=required type=xsd:string / xsd:attribute name=type type=xsd:string / xsd:attribute name=mimetype type=xsd:string / xsd:attribute ref=xml:space / /xsd:plexType /xsd:element xsd:element name=assembly xsd:plexType xsd:attribute name=alias type=xsd:string /25 / 44 xsd:attribute name=name type=xsd:string / /xsd:plexType /xsd:element xsd:element name=data xsd:plexType xsd:sequence xsd:element name=value type=xsd:string minOccurs=0 msdata:Ordinal=1 / xsd:element name=ment type=xsd:string minOccurs=0 msdata:Ordinal=2 / /xsd:sequence xsd:attribute name=name type=xsd:string use=required msdata:Ordinal=1 / xsd:attribute name=type type=xsd:string msdata:Ordinal=3 / xsd:attribute name=mimetype type=xsd:string msdata:Ordinal=4 / xsd:attribute ref=xml:space / /xsd:plexType /xsd:element xsd:element name=resheader xsd:plexType xsd:sequence xsd:element name=value type=xsd:string minOccurs=0 msdata:Ordinal=1