If representation template projecting requires to start CMS-application of particular DDC, but not return DDC source code into the template immediately it is necessary to use the DDC stream redirection into environment variable. Thus a new variable will be created which will take the DDC code. Further this variable can be shown once or several times in the template by the SAPI:APPLY element.
DDC stream redirection syntaxes is as follows:
|
<sapi:apply name="ddc.obj1.value" redirect="tempvar" />
<sapi:apply name="tempvar.value" />
|