|
40 | 40 | <format type="text/markdown"><. |
| 43 | + The <xref:System.Xml.Serialization.SoapAttributeAttribute> class belongs to a family of attributes that controls how the <xref:System.Xml.Serialization.XmlSerializer> serializes, or deserializes, an object as encoded SOAP XML. The resulting XML conforms to section 5 of the World Wide Web Consortium document, [Simple Object Access Protocol (SOAP) 1.1](https://www.w3.org/TR/2000/NOTE-SOAP-20000508/). For a complete list of similar attributes, see [Attributes That Control Encoded SOAP Serialization](~/docs/standard/serialization/attributes-that-control-encoded-soap-serialization.md). |
44 | 44 |
|
45 | 45 | To serialize an object as an encoded SOAP message, you must construct the <xref:System.Xml.Serialization.XmlSerializer> using an <xref:System.Xml.Serialization.XmlTypeMapping> created with the <xref:System.Xml.Serialization.SoapReflectionImporter.ImportTypeMapping%2A> method of the <xref:System.Xml.Serialization.SoapReflectionImporter> class.
|
46 | 46 |
|
|
276 | 276 | </ReturnValue>
|
277 | 277 | <Docs>
|
278 | 278 | <summary>Gets or sets the XML Schema definition language (XSD) data type of the SOAP attribute generated by the <see cref="T:System.Xml.Serialization.XmlSerializer" />.</summary>
|
279 |
| - <value>An XML Schema data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema Part 2: Datatypes".</value> |
| 279 | + <value>An XML Schema data type.</value> |
280 | 280 | <remarks>
|
281 | 281 | <format type="text/markdown"><![CDATA[
|
282 | 282 |
|
|
293 | 293 | > [!NOTE]
|
294 | 294 | > Passing binary data as an XML element is more efficient then passing it as an XML attribute.
|
295 | 295 |
|
296 |
| - For more information about XML Schema data types, see the World Wide Consortium (www.w3.org) document named "XML Schema Part 2: Datatypes". |
| 296 | + For more information about XML Schema data types, see the World Wide Consortium document named XML Schema Part 2: Datatypes](https://www.w3.org/TR/xmlschema-2/). |
297 | 297 |
|
298 | 298 | |XSD data type|.NET data type|
|
299 | 299 | |-------------------|--------------------|
|
|
399 | 399 | <format type="text/markdown"><. |
403 | 403 |
|
404 | 404 | To create namespaces that are associated with prefixes, you must create an <xref:System.Xml.Serialization.XmlSerializerNamespaces> that contains the namespaces and prefixes used in the XML document. The namespace you set for each <xref:System.Xml.Serialization.XmlAttributeAttribute> must match one of the namespaces in the <xref:System.Xml.Serialization.XmlSerializerNamespaces>. When the <xref:System.Xml.Serialization.XmlSerializer> generates the XML code, it correctly prefixes each attribute name.
|
405 | 405 |
|
|
0 commit comments