На форуме решения есть, плохо искали!
Из своего скину -
<?php
//СписокПродукции
$InformationSystem = & singleton('InformationSystem');
$InformationSystemId = 26;
$rez = array();
$rez = $InformationSystem->GetInformationFromPath($InformationSystemId);
$external_propertys = array();
$external_propertys['ТекущийЭлемент'] = $rez['item'];
$external_propertys['ТекущаяГруппа'] = $rez['group'];
$param['xml_show_group_type'] = 'all';
$item_count = 99;
$InformationSystem->ShowInformationSystem($InformationSystemId, false,'СписокПродукции',$item_count,0,$external_propertys, $param);
?>
Ну и проверка
<!-- Шаблон /// Группы ИС /// -->
<xsl:template match="group" mode="groups">
.....
<xsl:variable name="current_group_id" select="/document/ТекущаяГруппа"/>
<xsl:if test="$current_group_id = @id or count(.//group[@id=$current_group_id])=1">
<xsl:attribute name="class">active</xsl:attribute>
</xsl:if>
....
<!-- Шаблон /// Элемент ИС /// -->
<xsl:template match="blocks/items/item">
...
<xsl:variable name="current_item_id" select="/document/ТекущийЭлемент"/>
<xsl:if test="$current_item_id = @id">
<xsl:attribute name="class">active</xsl:attribute>
</xsl:if>