along with this program. If not, see <http://www.gnu.org/licenses/>
//-->
<merchant>
- <general-data id="{?id?}" type="{?type?}">
+ <!-- General data about this merchant like id, type, summary or description. //-->
+ <general-data>
+ <id>{?id?}</id>
+ <type>{?type?</type>
+ <!-- A summary what this merchant is trading. //-->
<merchant-summary>
<![CDATA[{?summary?}]]>
</merchant-summary>
+ <!-- A full description about this merchant. //-->
<merchant-description>
<![CDATA[{?description?}]]>
</merchant-description>
</general-data>
+ <!-- A detailed trading list of resources for this merchant. Amount, when
+ the first item was added or the last one was removed are being stored
+ with every resource. //-->
<resource-list>
- <resource id="{?resource_id?}">
+ <!-- A single resource this merchant is trading. //-->
+ <resource
+ <id>{?resource_id?}</id>
<amount>{?resource_amount?}</amount>
<first-added>{?resource_added?}</first-added>
<last-removed>{?resource_remoed?}</last-removed>