<result xmlns:xlink="http://www.w3.org/TR/xlink" module="catalog" method="object" domain="merrick4185.demo.umi-cms.ru" domain-id="1" system-build="86461" lang="ru" lang-id="1" header="SAUDA DOWN JKT" title="SAUDA DOWN JKT" csrf="3142cd4603afc75134699152ef769789" template-id="1" demo="1" pageId="97" is-default="" request-uri="/shop/muzhskaya_odezda/verhnyaya-odezhda/puhoviki/sauda-down-jkt.xml">
<meta>
<keywords/>
<description/>
</meta>
<user id="2" status="auth" login="demo" xlink:href="uobject://2" type="sv"/>
<page id="97" parentId="285" link="/shop/muzhskaya_odezda/verhnyaya-odezhda/puhoviki/sauda-down-jkt/" object-id="1058" type-id="154" alt-name="sauda-down-jkt" update-time="1542294206" xlink:href="upage://97" is-active="1">
<name>SAUDA DOWN JKT</name>
<basetype id="52" module="catalog" method="object">
<![CDATA[ Объекты каталога ]]>
</basetype>
<properties>
<group id="372" name="rate_voters">
<title>Количество проголосовавших</title>
<property id="15" object-id="1058" name="rate_voters" type="int" is-important="0">
<title>Количество проголосовавших</title>
<value>
<![CDATA[ 43 ]]>
</value>
</property>
<property id="16" object-id="1058" name="rate_sum" type="int" is-important="0">
<title>Сумма баллов</title>
<value>
<![CDATA[ df ]]>
</value>
</property>
</group>
</properties>
</page>
</result>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates select="//property"/>
</xsl:template>
<xsl:template match="property"/>
<xsl:template match="property[@name='rate_sum' and normalize-space(value) = '']"/>
<xsl:template match="property[@name='rate_sum' and normalize-space(value) != '']">
<div>
<xsl:text>Бренд: </xsl:text>
<xsl:apply-templates select="value"/>
</div>
</xsl:template>
</xsl:stylesheet>
<xsl:apply-templates select="//property"/>
<xsl:template match="property"/>
<xsl:template match="property[@name='rate_sum' and normalize-space(value) = '']"/>
<xsl:template match="property[@name='rate_sum' and normalize-space(value) != '']">
<xsl:apply-templates select="$page//property[@name = 'artikul'][value]"/>
<xsl:apply-templates select="$page//property[@name = 'artikul']/value"/>
$page//property[@name = 'artikul'][value]
$page//property[@name = 'artikul']/value
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates select="//property"/>
</xsl:template>
<xsl:template match="property"/>
<xsl:template match="property[@name='rate_sum']">
<xsl:if test="normalize-space(value) != ''">
<div>
<xsl:text>Бренд: </xsl:text>
<xsl:apply-templates select="value"/>
</div>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
<meta name="description" content="Купить {result/@title}, от {.//property[@name='proizvoditel']/value/item/@name} в интернет-магазине. При заказе на сумму 2499₽ Подарок!" />
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<meta name="description">
<xsl:attribute name="content">
<xsl:text>Купить </xsl:text>
<xsl:value-of select="result/@title"/>
<xsl:text>, от </xsl:text>
<xsl:apply-templates select=".//property[@name='proizvoditel']/value/item/@name"/>
<xsl:text> в интернет-магазине. При заказе на сумму 2499₽ Подарок!</xsl:text>
</xsl:attribute>
</meta>
</xsl:template>
<xsl:template match="property[@name='proizvoditel']/value/item/@name">
<xsl:value-of select="."/>
<xsl:if test="position() != last()">
<xsl:text>, </xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
<div>
<div class="reader-text font-size-medium">
<elem attr="a">a</elem>
<elem attr="b">b</elem>
<div class="reader-pagination">
<a class="pull-left chapter-btn" id="link-left" href="/read...">Пред. часть</a>
<div class="clearfix"></div>
</div>
<elem attr="c">c</elem>
</div>
</div>
//div[@class='reader-text font-size-medium']/*[not(@class = 'reader-pagination')]
<elem attr="a">a</elem>
<elem attr="b">b</elem>
<elem attr="c">c</elem>