Для дополнительных свойств элементов, и выдергивания этих свойств куда мне надо я использую следующий xml
<?xml version="1.0" encoding="windows-1251"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" encoding="Windows-1251"/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="/document">
<xsl:text disable-output-escaping="yes">
<![CDATA[
<SCRIPT LANGUAGE="JavaScript">
function ShowImgWindow(title, src, width, height)
{
obj = window.open("", "", "scrollbars=0,dialog=0,minimizable=1,modal=1,width="+width+",height="+height+",resizable=0" ) ;
obj.document.write("<html>" ) ;
obj.document.write("<head>" ) ;
obj.document.write("<title>"+title+"</title>" ) ;
obj.document.write("</head>" ) ;
obj.document.write("<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>" ) ;
obj.document.write("<img src=\""+src+"\" />" ) ;
obj.document.write("</body>" ) ;
obj.document.write("</html>" ) ;
}
</SCRIPT>
]]>
</xsl:text>
<!-- Получаем ID родительской группы и записываем в переменную $parent_group_id -->
<xsl:variable name="parent_group_id" select="blocks/parent_group_id"/>
<!-- <h1><xsl:value-of disable-output-escaping="yes" select="blocks/name"/></h1> -->
<!-- Отображение записи информационного блока -->
<table border="0" cellspacing="0" cellpadding="2" class="news_table">
<tr>
<xsl:apply-templates select="blocks/items/item[item_status=1]">
</xsl:apply-templates>
</tr>
</table>
</xsl:template>
<xsl:template match="blocks/items/item">
<td>
<center>
<!-- Фотогафия к информационному элементу -->
<xsl:if test="item_propertys/item_property[@xml_name='banner']/value!=''">
<!-- Проверяем задан ли путь к файлу большого изображения -->
<xsl:if test="item_propertys/item_property[@xml_name='banner']/property_file_path!=''">
<xsl:variable name="srcpath" select="item_propertys/item_property[@xml_name='banner']/property_file_path" />
<a href="{item_path}"><img align="left" src="/{item_propertys/item_property[@xml_name='banner']/small_image/property_file_path}" class="partner_img" border="1" alt="геленджик - {item_name}" title="геленджик - {item_name}" /></a>
</xsl:if>
</xsl:if>
</center>
</td>
<xsl:if test="position() mod 2 = 0">
<tr/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
Вопрос в том: как выдернуть свойства группы?