Есть такая форма
<xsl:variable name="form_tag_path"><xsl:if test="count(selected_tags/tag) = 1">tag/<xsl:value-of select="selected_tags/tag/tag_path_name"/>/</xsl:if></xsl:variable>
<xsl:if test="count(item) > 0 or apply_filter = 1">
<form method="get" action="{/shop/path}{//group[@id=$parent_group_id]/fullpath}{$form_tag_path}">
<xsl:if test="$parent_group_id != 0">
<div class="fls">
<table cellpadding="0" cellspacing="0">
<tr>
<xsl:if test="count(properties_for_group/property[property_show_kind != 0 and (shop_list_of_properties_type = 0 or shop_list_of_properties_type = 2 or shop_list_of_properties_type = 7)]) > 0">
<xsl:apply-templates select="properties_for_group/property[property_show_kind != 0 and (shop_list_of_properties_type = 0 or shop_list_of_properties_type = 2 or shop_list_of_properties_type = 7)]"/>
</xsl:if>
<td class="last"><input name="apply_filter" value="Применить" type="hidden" /><input type="image" src="/templates/template1/img/search.png" style="cursor:pointer; border:none;" /></td>
</tr>
</table>
</div>
</xsl:if>
Сейчас этот фильтр применяется к текущей группе:
<form method="get" action="{/shop/path}{//group[@id=$parent_group_id]/fullpath}{$form_tag_path}">
Как сделать так чтоб он применялся к группе второго уровня т.е. shop/группа_второго_уровня/?