on"><code>XmlElement</code></a>
   <a href="../../../../jakarta/activation/DataHandler.html" title="class in jakarta.activation"><code>DataHandler</code></a> body;
 }
 </pre>
 The above code maps to the following XML:
 <pre><code>
 &lt;xs:element name="foo" xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd"&gt;
   &lt;xs:complexType&gt;
     &lt;xs:sequence&gt;
       &lt;xs:element name="body" type="ref:swaRef" minOccurs="0" /&gt;
     &lt;/xs:sequence&gt;
     &lt;xs:attribute name="data" type="ref:swaRef