| toc | |
| <mm:createrelation> Creates a relation between two nodes. | |
| see also | maycreaterelation |
| attributes | |
| nodeprovider attributes | |
| cloudreferrer attributes | |
| contextwriter attributes | |
| contextreferrer attributes | |
| example 1 |
<mm:cloud>
<mm:transaction id="my_transaction">
<mm:createnode type="news" id="my_news">
<mm:setfield name="title">Todays news</mm:setfield>
<mm:setfield name="subtitle">There happened a lot today</mm:setfield>
</mm:createnode>
<mm:node number="1808" id="my_author" />
<mm:createrelation role="author" source="my_author" destination="my_news" />
</mm:transaction>
</mm:cloud>
|