Доброго времени суток Уважаемый хостинг, вообщем не могу разобраться.. ситуация в чем..
Хачу что бы мои категории выглядели примерно так
http://otem.ru/index.php?a=products
(картинка, название, описание)
Для этого я создал доп. элемент в информационных группах (Назвал его описание группы и код xml «opis»
Написал там доп. описание для группы
ЗАтем вот сюды
<!--//////////////////////// Шаблон выводит ссылки подгруппы информационного элемента -->
<xsl:template match="group" mode="groups">
<xsl:if test="small_image!=''">
<a href="{/document/blocks/url}{fullpath}" target="_blank">
<img src="{small_image}"/>
</a> </xsl:if>
<a href="{/document/blocks/url}{fullpath}">
<b>
<xsl:value-of disable-output-escaping="yes" select="name"/>
</b>
<br />
</a>
<br />
</xsl:template>
Добавил этот код
<br />
<xsl:value-of disable-output-escaping="yes" select="opis"/>
,
Пробывал также этот код
<xsl:value-of disable-output-escaping="yes" select="//group[@id='17']/propertys/property[@xml_name='opis']/value" />
и все равно не работает
Что бы видно было что я делал прилаживаю код XML
<?xml version="1.0" encoding="windows-1251"?>
<document>
<site_user_id>0</site_user_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<blocks id="17">
<name>Eberspacher</name>
<description></description>
<url>/eber/</url>
<access>0</access>
<parent_group_id>0</parent_group_id>
<count_items>0</count_items>
<count_items_on_page>10</count_items_on_page>
<count_all_items>1</count_all_items>
<count_groups>1</count_groups>
<count_all_groups>1</count_all_groups>
<group id="15" parent_id="0">
<name>Жидкостные отопители</name>
<description>Важное преимущество жидкостных отопителей в&nbsp;том, что&nbsp;они&nbsp;способны обогревать не&nbsp;только кабину и&nbsp;кузов, но&nbsp;и&nbsp;двигатель. Поэтому уже&nbsp;никогда не&nbsp;понадобится холодные запуски двигателя, приводящие к&nbsp;его&nbsp;преждевременному износу.</description>
<order>0</order>
<path>zhidkost</path>
<fullpath>zhidkost/</fullpath>
<access>-1</access>
<count_items>1</count_items>
<count_all_items>1</count_all_items>
<count_groups>0</count_groups>
<count_all_groups>0</count_all_groups>
<big_image width="130" height="130">/upload/information_groups_1212061084.jpg</big_image>
<small_image width="100" height="100">/upload/small_information_groups_1212061084.jpg</small_image>
<allow_indexation>1</allow_indexation>
<seo_title>Жидкостные отопители Гидроник (Hydronic)</seo_title>
<seo_description>Жидкостные отопители Гидроник (Hydronic)</seo_description>
<seo_keywords>Жидкостные отопители, Отопители двигателя, Гидроник, Hydronic</seo_keywords>
<propertys>
</propertys>
</group>
<tags>
</tags>
<items>
<count_items>0</count_items>
<current_page>0</current_page>
<items_on_page>10</items_on_page>
</items>
</blocks>
</document>
Росскажите мне дураку) что я делаю не так?)