Guide for MAP statement

MAP statement is used for reading list of topic.All statements can be nested in MAP statement except ATTACH statement.

MAP grammar

<map id=(id:STRING) site=(site:STRING) topic=(topic:STRING)>
    --Input your content here
</map>


Guide for tags inner MAP statement

1.Tags begin with "<$" and end with "$>".The id of MAP statement must be prefixed to tag,i.e.:<$map1.top_name$>.
2.Global tags specified below can be used.



Sample Coding


Get the root node list of current site
<map id="map1">
     <$map1.top_name$>
</map>

Get the root node list of mysite
<map id="map1" site="mysite">
     <$map1.top_name$>
</map>

Get the child node list of top1
<map id="map1" topic="top1">
     <$map1.top_name$>
</map>

Get the child node list of current topic
<map id="map1" topic=<$top_code$>>
     <$map1.top_name$>
</map>

Get the child node list of topic1 in mysite
<map id="map1" site="mysite" topic="top1">
     <$map1.top_name$>
</map>

Get the child node list of topic1 in mysite too
<map id="map1" topic="mysite.top1">
     <$map1.top_name$>
</map>

Get the child node list of topic coded by 'mysite.topic1' in mysite
<map id="map1" site="mysite" topic="mysite.top1">
     <$map1.top_name$>
</map>