Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Hexley 24.10.2006 18:45
<xsl:template match="* | @*" mode="item-indexes"> <li> <a href="123"> <xsl:variable name="name_list" select="."/> <xsl:value-of select="."/> <xsl:attribute name="href"> <xsl:value-of select="//content/item/categories/category[@name=$name_list]/@id"/> </xsl:attribute> </a> </li> </xsl:template>Вызывает ошибку
runtime error: file /home/b2b/www/xsl/catalog/alpha.xsl line 258 element attribute
xsl:attribute : node already has children
runtime error: file /home/b2b/www/xsl/catalog/alpha.xsl line 258 element attribute
xsl:attribute : node already has children
runtime error: file /home/b2b/www/xsl/catalog/alpha.xsl line 258 element attribute
xsl:attribute : node already has children