I added a new cassa () method to the classed / modules / custom.php file, which gives html code at the output:
<ul> <li>Товар 1. Картинка</li> <li>Товар 2. Картинка</li> <li>Товар 4. Картинка</li> </ul>
In the template engine indicated:
<xsl:value-of select="document('udata://custom/cassa/')/udata" />
I go to the address of this macro http://umi.art/udata/custom/cassa in Denver. And I see that it filters the data:
<?xml version="1.0" encoding="utf-8"?>
<udata xmlns: xlink = "http://www.w3.org/TR/xlink" module = "custom" method = "cassa" generation-time = "0.022284"> & lt;! [CDATA [& lt; ul & gt;
<li> <img src='/image/164.jpg' width='150' alt='
It seems that he wrapped the result in CDATA, but he still filters it, gives an error, and does not display it in the template. How to be?