Create a standard object from platform trigger: location

xmlrequest=&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;request&gt; &lt;control&gt; &lt;senderid&gt;intacct_dev&lt;/senderid&gt; &lt;password&gt;babbage&lt;/password&gt; &lt;controlid&gt;foobar&lt;/controlid&gt; &lt;uniqueid&gt;false&lt;/uniqueid&gt; &lt;dtdversion&gt;3.0&lt;/dtdversion&gt; &lt;/control&gt; &lt;operation&gt; &lt;authentication&gt; &lt;sessionid&gt;{!#CURR_SESSION!}&lt;/sessionid&gt; &lt;/authentication&gt; &lt;content&gt; &lt;function controlid="foobar"&gt; &lt;create&gt; &lt;location&gt; &lt;!-- create a location from a deal --&gt; &lt;locationid&gt;{!deal.id!}&lt;/locationid&gt; &lt;name&gt;{!deal.name#text!}&lt;/name&gt; &lt;RDeal&gt;{!deal.id!}&lt;/RDeal&gt; &lt;/location&gt; &lt;/create&gt; &lt;/function&gt; &lt;/content&gt; &lt;/operation&gt; &lt;/request&gt;