Dynamic data containers (see Dynamic Data Container, http://xmlsapiens.org/spec/bodyofthesapi/datacontainers/dynamiccontainer/) refer to the fragments of the document displayed on the website. The content of these containers is based on a functional algorithm. These containers contain the description of functional algorithms.
For example:
|
<?xml version="1.0"?> <sapi version="1.0" xmlns:sapi="http://www.xmlsapiens.org/spec/sapi.dtd"> <sapi:ddc name="menu" title="ddc" ns="site1" category="navigation"> <sapi:author> <sapi:name>Max Baryshnikov</sapi:name> <sapi:email>mb@rg.by</sapi:email> <sapi:url>www.redgraphic.com</sapi:url> </sapi:author> <sapi:comments>Vertical menu with subitems. CMS SAPID.</sapi:comments> <sapi:choose> <sapi:when exp="1"> <sapi:for-each select="get_tree()" name="enum"> <sapi:choose> <sapi:when> <sapi:exp>eq(this.this.currentpage.value,1)</sapi:exp> <sapi:code>
<sapi:apply name="this.this.spacer.value" /> › <a class="active" href="../../../../"><sapi:apply name="this.this.TITLE.value" /></a><br />
</sapi:code> </sapi:when> <sapi:when> <sapi:exp>neq(this.this.currentpage.value,1)</sapi:exp> <sapi:code>
<sapi:apply name="this.this.spacer.value" />› <a class="inactive" href="../../../../"><sapi:apply name="this.this.TITLE.value" /></a><br />
</sapi:code> </sapi:when> </sapi:choose> </sapi:for-each> </sapi:when> </sapi:choose> </sapi:ddc> </sapi> |