<interopXmlElement> Element 

Creates a bidirectional map between a common language runtime type and an XML element and XML namespace.

<interopXmlElement  
   clr="FullTypeName, AssemblyName"  
   xml="xmlElement,xmlNamespace" 
/>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

clr

Required attribute.

Specifies the full type name and assembly name of the type for which you want to create mapping to an XML element and XML namespace. This includes version, culture, and public key information if the containing assembly is in the global assembly cache.

xml

Required attribute.

Specifies the XML element and the XML namespace for which you want to create a mapping to a type and assembly.

Child Elements

None.

Parent Elements

Element Description

application

Defines a collection of build providers used to compile custom resource files. You can have any number of build providers.

configuration

The root element in every configuration file used by the common language runtime and .NET Framework applications.

interopXmlElement

Creates a bidirectional map between a common language runtime type and an XML element and XML namespace.

soapInterop

Contains type mappings used with SOAP.

system.runtime.remoting

Contains information about remote objects and channels.

Example

The following example associates the element ElementName and the XML namespace Example:mynamespace with the .NET type TypeName implemented by the AssemblyName assembly. The same is true of the XML type and namespace.

<configuration>
   <system.runtime.remoting>
      <application name="soapInterop">
         <soapInterop>
            <interopXmlElement 
               xml="ElementName,Example:mynamespace"                clr="TypeName,AssemblyName"
            />
            <interopXmlType  
               xml="XmlTypeName,Example:TypeNamespace" 
               clr="TypeName,AssemblyName"
            />
         </soapInterop>
      </application>
   </system.runtime.remoting>
</configuration>

See Also

Reference

Remoting Settings Schema