Answer the question
In order to leave comments, you need to log in
How to display title or header from macro in umi.cms - xslt?
Tasks to display the title, in the macro.
I deduce a macro, list of the directory.
<xsl:apply-templates select="document('udata://catalog/getCategoryList/1/(shop)/23//0/?extProps=header_pic,header,title,result')/udata"/>
<xsl:template match="udata[@method = 'getCategoryList']">
<h1 class="catalog-headers catalog-headers-menu-title">Каталог</h1>
x <xsl:value-of select="//property/@header"/>
<xsl:value-of select="result/@title" />
<ul >
<div class="arrow"></div>
<xsl:apply-templates select="//item" />
</ul>
</xsl:template>
Answer the question
In order to leave comments, you need to log in
If you only set : before all templates
and call it inside the macro
. But is this correct?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question