Не выводятся элементы инфосистемы
aikyaira
7 марта 2021 г.
Добрый день!
Все перерыла, но ошибку так и не удалось найти.
В следующем шаблоне
получаю такие данные XML:
Как видно в выводе - в группе Красноярск у меня есть 1 элемент ИС.
Не понимаю, в чем проблема, почему он не выводится?
Сама страница-это ТДС, инфосистема привязана только к ней, дублей не может быть.
Может, у меня ошибка в XSL? Если так-то где?
Все перерыла, но ошибку так и не удалось найти.
В следующем шаблоне
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:hostcms="http://www.hostcms.ru/"
exclude-result-prefixes="hostcms">
<xsl:output xmlns="http://www.w3.org/TR/xhtml1/strict" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="utf-8" indent="yes" method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- СписокЭлементовИнфосистемы -->
<xsl:template match="/">
<xsl:apply-templates select="/informationsystem"/>
</xsl:template>
<xsl:template match="/informationsystem">
<div class="u-container-layout u-container-layout-1">
<div id="carousel-50bb" data-interval="1000" data-u-ride="carousel"
class="u-carousel u-carousel-duration-3500 u-expanded-width u-slider u-slider-1">
<ol class="u-absolute-hcenter u-carousel-indicators u-hidden u-carousel-indicators-1">
<li data-u-target="#carousel-50bb" class="u-active u-grey-30" data-u-slide-to="0"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="1"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="2"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="3"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="4"></li>
</ol>
<div class="u-carousel-inner" role="listbox">
<xsl:apply-templates select="informationsystem_group"/>
</div>
<a class="u-carousel-control u-carousel-control-prev u-icon-circle u-text-hover-palette-1-base u-text-palette-1-base u-carousel-control-1"
href="#carousel-50bb" role="button" data-u-slide="prev">
<span aria-hidden="true">
<svg viewBox="0 0 451.847 451.847">
<path d="M97.141,225.92c0-8.095,3.091-16.192,9.259-22.366L300.689,9.27c12.359-12.359,32.397-12.359,44.751,0
c12.354,12.354,12.354,32.388,0,44.748L173.525,225.92l171.903,171.909c12.354,12.354,12.354,32.391,0,44.744
c-12.354,12.365-32.386,12.365-44.745,0l-194.29-194.281C100.226,242.115,97.141,234.018,97.141,225.92z"></path>
</svg>
</span>
<span class="sr-only">
<svg viewBox="0 0 451.847 451.847">
<path d="M97.141,225.92c0-8.095,3.091-16.192,9.259-22.366L300.689,9.27c12.359-12.359,32.397-12.359,44.751,0
c12.354,12.354,12.354,32.388,0,44.748L173.525,225.92l171.903,171.909c12.354,12.354,12.354,32.391,0,44.744
c-12.354,12.365-32.386,12.365-44.745,0l-194.29-194.281C100.226,242.115,97.141,234.018,97.141,225.92z"></path>
</svg>
</span>
</a>
<a class="u-carousel-control u-carousel-control-next u-icon-circle u-text-hover-palette-1-base u-text-palette-1-base u-carousel-control-2"
href="#carousel-50bb" role="button" data-u-slide="next">
<span aria-hidden="true">
<svg viewBox="0 0 451.846 451.847">
<path d="M345.441,248.292L151.154,442.573c-12.359,12.365-32.397,12.365-44.75,0c-12.354-12.354-12.354-32.391,0-44.744
L278.318,225.92L106.409,54.017c-12.354-12.359-12.354-32.394,0-44.748c12.354-12.359,32.391-12.359,44.75,0l194.287,194.284
c6.177,6.18,9.262,14.271,9.262,22.366C354.708,234.018,351.617,242.115,345.441,248.292z"></path>
</svg>
</span>
<span class="sr-only">
<svg viewBox="0 0 451.846 451.847">
<path d="M345.441,248.292L151.154,442.573c-12.359,12.365-32.397,12.365-44.75,0c-12.354-12.354-12.354-32.391,0-44.744
L278.318,225.92L106.409,54.017c-12.354-12.359-12.354-32.394,0-44.748c12.354-12.359,32.391-12.359,44.75,0l194.287,194.284
c6.177,6.18,9.262,14.271,9.262,22.366C354.708,234.018,351.617,242.115,345.441,248.292z"></path>
</svg>
</span>
</a>
</div>
</div>
</xsl:template>
<xsl:template match="informationsystem_group">
<xsl:variable name="id" select="@id" />
<div class="u-carousel-item u-container-style u-slide">
<xsl:if test="position() = 1">
<xsl:attribute name="class">u-active u-carousel-item u-container-style u-slide</xsl:attribute>
</xsl:if>
<div class="u-container-layout u-container-layout-47">
<div class="u-expanded-width u-tab-links-align-justify u-tabs u-tabs-3">
<ul class="u-border-1 u-border-grey-25 u-tab-list u-unstyled" role="tablist">
<li class="u-tab-item" role="presentation">
<a class="active u-active-white u-border-2 u-border-active-palette-1-base u-border-hover-palette-1-base u-border-no-left u-border-no-right u-border-no-top u-border-palette-1-dark-1 u-button-style u-tab-link u-text-active-palette-1-base u-text-hover-palette-1-base u-text-palette-1-dark-1 u-tab-link-5"
role="tab"
aria-selected="true"><xsl:value-of select="name"/></a>
</li>
</ul>
<div class="u-tab-content">
<div class="u-align-left u-container-style u-tab-active u-tab-pane u-white u-tab-pane-5"
role="tabpanel" >
<div class="u-container-layout u-container-layout-48">
<div class="u-align-left u-expanded-width u-list u-repeater u-list-5">
<xsl:apply-templates select="/informationsystem//informationsystem_item[informationsystem_group_id = $id]"/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</xsl:template>
<!-- Шаблон вывода информационного элемента -->
<xsl:template match="informationsystem_item">
<div
class="u-container-style u-image u-image-round u-list-item u-radius-10 u-repeater-item u-shading u-image-40" style="background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('{dir}{image_small}');">
<div class="u-container-layout u-similar-container u-container-layout-49">
<a href="{url}"><h3 class="u-text u-text-79"><xsl:value-of disable-output-escaping="yes" select="name"/></h3></a>
<p class="u-text u-text-80"><xsl:value-of disable-output-escaping="yes" select="substring(description, 1, 200)"/></p>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:hostcms="http://www.hostcms.ru/"
exclude-result-prefixes="hostcms">
<xsl:output xmlns="http://www.w3.org/TR/xhtml1/strict" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="utf-8" indent="yes" method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- СписокЭлементовИнфосистемы -->
<xsl:template match="/">
<xsl:apply-templates select="/informationsystem"/>
</xsl:template>
<xsl:template match="/informationsystem">
<div class="u-container-layout u-container-layout-1">
<div id="carousel-50bb" data-interval="1000" data-u-ride="carousel"
class="u-carousel u-carousel-duration-3500 u-expanded-width u-slider u-slider-1">
<ol class="u-absolute-hcenter u-carousel-indicators u-hidden u-carousel-indicators-1">
<li data-u-target="#carousel-50bb" class="u-active u-grey-30" data-u-slide-to="0"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="1"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="2"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="3"></li>
<li data-u-target="#carousel-50bb" class="u-grey-30" data-u-slide-to="4"></li>
</ol>
<div class="u-carousel-inner" role="listbox">
<xsl:apply-templates select="informationsystem_group"/>
</div>
<a class="u-carousel-control u-carousel-control-prev u-icon-circle u-text-hover-palette-1-base u-text-palette-1-base u-carousel-control-1"
href="#carousel-50bb" role="button" data-u-slide="prev">
<span aria-hidden="true">
<svg viewBox="0 0 451.847 451.847">
<path d="M97.141,225.92c0-8.095,3.091-16.192,9.259-22.366L300.689,9.27c12.359-12.359,32.397-12.359,44.751,0
c12.354,12.354,12.354,32.388,0,44.748L173.525,225.92l171.903,171.909c12.354,12.354,12.354,32.391,0,44.744
c-12.354,12.365-32.386,12.365-44.745,0l-194.29-194.281C100.226,242.115,97.141,234.018,97.141,225.92z"></path>
</svg>
</span>
<span class="sr-only">
<svg viewBox="0 0 451.847 451.847">
<path d="M97.141,225.92c0-8.095,3.091-16.192,9.259-22.366L300.689,9.27c12.359-12.359,32.397-12.359,44.751,0
c12.354,12.354,12.354,32.388,0,44.748L173.525,225.92l171.903,171.909c12.354,12.354,12.354,32.391,0,44.744
c-12.354,12.365-32.386,12.365-44.745,0l-194.29-194.281C100.226,242.115,97.141,234.018,97.141,225.92z"></path>
</svg>
</span>
</a>
<a class="u-carousel-control u-carousel-control-next u-icon-circle u-text-hover-palette-1-base u-text-palette-1-base u-carousel-control-2"
href="#carousel-50bb" role="button" data-u-slide="next">
<span aria-hidden="true">
<svg viewBox="0 0 451.846 451.847">
<path d="M345.441,248.292L151.154,442.573c-12.359,12.365-32.397,12.365-44.75,0c-12.354-12.354-12.354-32.391,0-44.744
L278.318,225.92L106.409,54.017c-12.354-12.359-12.354-32.394,0-44.748c12.354-12.359,32.391-12.359,44.75,0l194.287,194.284
c6.177,6.18,9.262,14.271,9.262,22.366C354.708,234.018,351.617,242.115,345.441,248.292z"></path>
</svg>
</span>
<span class="sr-only">
<svg viewBox="0 0 451.846 451.847">
<path d="M345.441,248.292L151.154,442.573c-12.359,12.365-32.397,12.365-44.75,0c-12.354-12.354-12.354-32.391,0-44.744
L278.318,225.92L106.409,54.017c-12.354-12.359-12.354-32.394,0-44.748c12.354-12.359,32.391-12.359,44.75,0l194.287,194.284
c6.177,6.18,9.262,14.271,9.262,22.366C354.708,234.018,351.617,242.115,345.441,248.292z"></path>
</svg>
</span>
</a>
</div>
</div>
</xsl:template>
<xsl:template match="informationsystem_group">
<xsl:variable name="id" select="@id" />
<div class="u-carousel-item u-container-style u-slide">
<xsl:if test="position() = 1">
<xsl:attribute name="class">u-active u-carousel-item u-container-style u-slide</xsl:attribute>
</xsl:if>
<div class="u-container-layout u-container-layout-47">
<div class="u-expanded-width u-tab-links-align-justify u-tabs u-tabs-3">
<ul class="u-border-1 u-border-grey-25 u-tab-list u-unstyled" role="tablist">
<li class="u-tab-item" role="presentation">
<a class="active u-active-white u-border-2 u-border-active-palette-1-base u-border-hover-palette-1-base u-border-no-left u-border-no-right u-border-no-top u-border-palette-1-dark-1 u-button-style u-tab-link u-text-active-palette-1-base u-text-hover-palette-1-base u-text-palette-1-dark-1 u-tab-link-5"
role="tab"
aria-selected="true"><xsl:value-of select="name"/></a>
</li>
</ul>
<div class="u-tab-content">
<div class="u-align-left u-container-style u-tab-active u-tab-pane u-white u-tab-pane-5"
role="tabpanel" >
<div class="u-container-layout u-container-layout-48">
<div class="u-align-left u-expanded-width u-list u-repeater u-list-5">
<xsl:apply-templates select="/informationsystem//informationsystem_item[informationsystem_group_id = $id]"/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</xsl:template>
<!-- Шаблон вывода информационного элемента -->
<xsl:template match="informationsystem_item">
<div
class="u-container-style u-image u-image-round u-list-item u-radius-10 u-repeater-item u-shading u-image-40" style="background-image: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('{dir}{image_small}');">
<div class="u-container-layout u-similar-container u-container-layout-49">
<a href="{url}"><h3 class="u-text u-text-79"><xsl:value-of disable-output-escaping="yes" select="name"/></h3></a>
<p class="u-text u-text-80"><xsl:value-of disable-output-escaping="yes" select="substring(description, 1, 200)"/></p>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
получаю такие данные XML:
<informationsystem id="16">
<informationsystem_dir_id>0</informationsystem_dir_id>
<structure_id>88</structure_id>
<site_id>1</site_id>
<name>Города</name>
<description></description>
<use_captcha>1</use_captcha>
<items_on_page>10</items_on_page>
<format_date>%d.%m.%Y</format_date>
<format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
<url_type>0</url_type>
<http>//moidom.media</http>
<url>/moidom/</url>
<captcha_id>488c0d9dcb29157e2fa4e3e1ca097944</captcha_id>
<siteuser_id>0</siteuser_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<ТекущаяГруппа>0</ТекущаяГруппа>
<show_comments>0</show_comments>
<show_add_comments>0</show_add_comments>
<group>0</group>
<page>0</page>
<part>0</part>
<limit>10</limit>
<total>0</total>
<informationsystem_group id="11">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Красноярск</name>
<description></description>
<sorting>0</sorting>
<path>krasnoyarsk</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>1</items_count>
<items_total_count>1</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>1FCC299F-0335-6F0E-E979-5146892691F6</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/krasnoyarsk/</url>
<dir>/upload/information_system_16/0/1/1/group_11/</dir>
</informationsystem_group>
<informationsystem_group id="13">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Нижний Новгород</name>
<description></description>
<sorting>0</sorting>
<path>n_novgorod</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>1</items_count>
<items_total_count>1</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>925D5FBD-9B9B-8DCC-DD7B-95F10C8CFE82</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/n_novgorod/</url>
<dir>/upload/information_system_16/0/1/3/group_13/</dir>
</informationsystem_group>
<informationsystem_group id="10">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Новосибирск</name>
<description></description>
<sorting>0</sorting>
<path>novosibirsk</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>0</items_count>
<items_total_count>0</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>E1DECF51-9B58-88E0-2BBB-F36C0899C4A4</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/novosibirsk/</url>
<dir>/upload/information_system_16/0/1/0/group_10/</dir>
</informationsystem_group>
<informationsystem_group id="12">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Сергиев Посад</name>
<description></description>
<sorting>0</sorting>
<path>sergiev_posad</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>0</items_count>
<items_total_count>0</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>38514CFB-72E1-FBF5-CE99-F3E85BDA177D</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/sergiev_posad/</url>
<dir>/upload/information_system_16/0/1/2/group_12/</dir>
</informationsystem_group>
<informationsystem_group id="9">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Челябинск</name>
<description></description>
<sorting>0</sorting>
<path>chelyabinsk</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>0</items_count>
<items_total_count>0</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>A66CFEF4-7051-EEBD-FC0E-7A95DE0806B5</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/chelyabinsk/</url>
<dir>/upload/information_system_16/0/0/9/group_9/</dir>
</informationsystem_group>
<informationsystem_item_properties></informationsystem_item_properties>
<comment_properties></comment_properties>
</informationsystem>
<informationsystem_dir_id>0</informationsystem_dir_id>
<structure_id>88</structure_id>
<site_id>1</site_id>
<name>Города</name>
<description></description>
<use_captcha>1</use_captcha>
<items_on_page>10</items_on_page>
<format_date>%d.%m.%Y</format_date>
<format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
<url_type>0</url_type>
<http>//moidom.media</http>
<url>/moidom/</url>
<captcha_id>488c0d9dcb29157e2fa4e3e1ca097944</captcha_id>
<siteuser_id>0</siteuser_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<ТекущаяГруппа>0</ТекущаяГруппа>
<show_comments>0</show_comments>
<show_add_comments>0</show_add_comments>
<group>0</group>
<page>0</page>
<part>0</part>
<limit>10</limit>
<total>0</total>
<informationsystem_group id="11">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Красноярск</name>
<description></description>
<sorting>0</sorting>
<path>krasnoyarsk</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>1</items_count>
<items_total_count>1</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>1FCC299F-0335-6F0E-E979-5146892691F6</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/krasnoyarsk/</url>
<dir>/upload/information_system_16/0/1/1/group_11/</dir>
</informationsystem_group>
<informationsystem_group id="13">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Нижний Новгород</name>
<description></description>
<sorting>0</sorting>
<path>n_novgorod</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>1</items_count>
<items_total_count>1</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>925D5FBD-9B9B-8DCC-DD7B-95F10C8CFE82</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/n_novgorod/</url>
<dir>/upload/information_system_16/0/1/3/group_13/</dir>
</informationsystem_group>
<informationsystem_group id="10">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Новосибирск</name>
<description></description>
<sorting>0</sorting>
<path>novosibirsk</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>0</items_count>
<items_total_count>0</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>E1DECF51-9B58-88E0-2BBB-F36C0899C4A4</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/novosibirsk/</url>
<dir>/upload/information_system_16/0/1/0/group_10/</dir>
</informationsystem_group>
<informationsystem_group id="12">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Сергиев Посад</name>
<description></description>
<sorting>0</sorting>
<path>sergiev_posad</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>0</items_count>
<items_total_count>0</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>38514CFB-72E1-FBF5-CE99-F3E85BDA177D</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/sergiev_posad/</url>
<dir>/upload/information_system_16/0/1/2/group_12/</dir>
</informationsystem_group>
<informationsystem_group id="9">
<informationsystem_id>16</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Челябинск</name>
<description></description>
<sorting>0</sorting>
<path>chelyabinsk</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>0</items_count>
<items_total_count>0</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>A66CFEF4-7051-EEBD-FC0E-7A95DE0806B5</guid>
<sns_type_id>0</sns_type_id>
<url>/moidom/chelyabinsk/</url>
<dir>/upload/information_system_16/0/0/9/group_9/</dir>
</informationsystem_group>
<informationsystem_item_properties></informationsystem_item_properties>
<comment_properties></comment_properties>
</informationsystem>
Как видно в выводе - в группе Красноярск у меня есть 1 элемент ИС.
Не понимаю, в чем проблема, почему он не выводится?
Сама страница-это ТДС, инфосистема привязана только к ней, дублей не может быть.
Может, у меня ошибка в XSL? Если так-то где?
aikyaira
7 марта 2021 г.
Решила вопрос выводом groupsMode('all') в шаблоне ТДС
Авторизация