Экспорт yandex market.

#
Экспорт yandex market.
Добрый день!
Никак не могу разобраться.
В xml получаю
<offer id="3589" available="false">
<url>/shop/men/coat/item_3589/</url>
<price>46750.00</price>
<currencyId>RUB</currencyId>
<categoryId>623</categoryId>
<picture>
/upload/shop_3/3/5/8/item_3589/shop_items_catalog_image3589.jpg
</picture>
<name>100% Кашемир ITALY</name>
<sales_notes/>
</offer>

У товара есть дополнительные свойства, которые я бы хотел добавить в экспорт.
Например, есть свойство - В наличии размеры.
Не могу понять в каком массиве все свойства лежат, или как их вывести
Это xls
Карточка товара
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <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"/>
   
   <!-- МагазинТовар -->
   
   <xslecimal-format name="my" decimal-separator="," grouping-separator=" "/>
   
   <xsl:template match="/shop">
      <xsl:apply-templates select="item"/>
   </xsl:template>
   
   <xsl:template match="item">
      
      <SCRIPT>
         <xsl:comment>
            <xsl:text disable-output-escaping="yes">
               <![CDATA[
               // массив для хранения текущих рейтингов звезд
               var curr_rate = new Array();
               
               // функция работы со звездами рейтинга
               function set_rate(id, new_rate)
               {
               // устанавливаем атрибуты
               curr_star = document.getElementById(id);
               parent_id = parseInt(curr_star.parentNode.id);
               
               // при первом пересчете ставим рейтинг для группы звезд в 0
               if (!curr_rate[parent_id])
               {
               curr_rate[parent_id] = 0;
               }
               
               // устанавливаем новый рейтинг в массив рейтингов и значение скрытого поля
               if (new_rate != curr_rate[parent_id] && parseInt(new_rate) > 0)
               {
               curr_rate[parent_id] = new_rate;
               
               curr_form = document.getElementById('comment_form_0' + (parent_id != 0 ? parent_id : '');
               curr_form.shop_comment_grade.value = curr_rate[parent_id].charAt(curr_rate[parent_id].length - 1);
               }
               
               // пересчет стилей для звезд
               for (i = 1; i < 6; i++)
                  {
                  if (parent_id != 0)
                  {
                  j = parent_id + '' + i + '_star_' + i;
                  }
                  else
                  {
                  j = i + '_star_' + i;
                  }
                  
                  temp_obj = document.getElementById(j);
                  
                  if (new_rate == 0)
                  {
                  id = curr_rate[parent_id];
                  }
                  
                  if (parseInt(j) > parseInt(id))
                  {
                  temp_obj.className = '';
                  }
                  else
                  {
                  temp_obj.className = 'curr';
                  }
                  }
                  }
                  
                  function set_count_mod(input_id, step)
                  {
                  var oCountMod = document.getElementById(input_id);
                  
                  if (!(iCurrCount = parseInt(oCountMod.value))) {
                  iCurrCount = 0;
                  }
                  
                  if (!(iCurrCount <= 0 && step < 0)) {
                        oCountMod.value = iCurrCount + step;
                        }
                        }
                        ]]>
                     </xsl:text>
                  </xsl:comment>
               </SCRIPT>
               
               
               
               <!-- Получаем ID родительской группы и записываем в переменную $parent_group_id -->
               <xsl:variable name="parent_group_id" select="/shop/@current_group_id"/>
               
               <p>
                  <xsl:if test="$parent_group_id = 0">
                     <a href="{/shop/path}">
                        <xsl:value-of disable-output-escaping="yes" select="/shop/name"/>
                     </a>
                  </xsl:if>
                  
                  
                  
                  <!-- Если модификация, выводим в пути родительский товар -->
                  <xsl:if test="/shop/parent_item/node()">
                     <span class="path_arrow">&#x2192;</span>
                     <a href="{/shop/path}{/shop/parent_item/item/fullpath}{/shop/parent_item/item/path}/">
                        <xsl:value-of disable-output-escaping="yes" select="/shop/parent_item/item/name"/>
                     </a>
                  </xsl:if>
                  
                  
               </p>
               
               
               
               <!-- Информация об ошибках -->
               <xsl:variable name="error_code" select="/shop/error"/>
               
               <xsl:if test="$error_code != 0">
                  <div id="error">
                  <b>Внимание!</b>Неправильно введен код подтвержения!</div>
               </xsl:if>
               
               <xsl:if test="not(/shop/error/node()) and /shop/comment_is_active/node()">
                  
                  
                  <!-- Информация о выполненном действии -->
                  <div id="message">
                     <xsl:choose>
                        <xsl:when test="/shop/comment_is_active = '0'">Комментарий успешно добавлен и будет опубликован после проверки модератором!</xsl:when>
                        <xsl:otherwise>Комментарий успешно добавлен и опубликован!</xsl:otherwise>
                     </xsl:choose>
                  </div>
               </xsl:if>
               
               <!--начало-->
               <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                  <tr valign="top">
                     <td>
                        <h1><xsl:value-of disable-output-escaping="yes" select="name"/></h1>
                        <div style="position:relative;">
                           <ul>
                           <li class="plus_ico">Артикул:&#xA0;<span class="item_name">№&#xA0;<xsl:value-of select="@id" /></span></li>
                              <li class="plus_ico"><xsl:if test="producer/shop_producers_list_name!=''">
                                 Бренд:&#xA0;<span class="item_name"><xsl:value-of disable-output-escaping="yes" select="producer/shop_producers_list_name"/></span>
                              </xsl:if></li>
                        <li class="plus_ico"><xsl:if test="property[@id='135']/value!=''">В наличии размеры:&#xA0;<span class="item_name"><xsl:apply-templates select="property[@id='135']/value"/></span></xsl:if></li>
                        <li class="plus_ico"><xsl:if test="property[@id='139']/value!=''">Состав ткани:&#xA0;<span class="item_name"><xsl:apply-templates select="property[@id='139']/value"/></span></xsl:if></li>
                              
                     <li class="plus_ico"><xsl:if test="property[@id='135']/value!=''">Старая цена:&#xA0;<span style="font-size:25pt;"><strike><xsl:apply-templates select="property[@id='133']/value"/>&#xA0;руб.</strike></span></xsl:if></li>
                           </ul>
                        </div>
                        <div class="buy">
                           <div class="buy_1">
                              <xsl:if test="type != 1 or (type = 1 and (eitem_count > 0 or eitem_count = -1))">
                                 
                        <a href="{/shop/path}cart/?action=add&amp;item_id={@id}" onclick="return AddIntoCart('{/shop/path}', {@id}, 1)"><b>Добавить в корзину</b></a>                           </xsl:if></div>
                           <div class="buy_2">
                              
                              <xsl:choose>
                                 <xsl:when test="price_discount != 0">
                                    <span class="price">
                                       <xsl:variable name="price" select="price_discount"/>
                                       Цена:&#xA0;<xsl:value-of select="format-number($price, '### ##0', 'my'"/>&#xA0;                                             <!-- Валюта товара -->
                                       <xsl:value-of disable-output-escaping="yes" select="currency"/>
                                       
                                    </span>
                                 </xsl:when>
                                 <xsl:otherwise>
                                    <span class="price_2">
                                       Уточните&#xA0;цену
                                    </span>
                                 </xsl:otherwise>
                              </xsl:choose>
                           </div>
                  </div><p>Размеры одежды соответствуют российским размерам.</p></td>
                     <td style="width:200px;">
                        <xsl:if test="small_image!=''">
                           
                           
                           <a href="{image}" title="Подробнее о товаре" class="highslide" onclick="return hs.expand(this)"><img src="{small_image}" alt="{item/name}"  style="border:1px solid #dadada;padding:1px;"/>
                              
                           </a>
                        </xsl:if>
                        <!--фотографии-->
                        <div style="padding:15px 15px 0 0;">
                           <xsl:if test="property[@xml_name='img_1']/small_image/file_path!=''">
                              <a href="{property[@xml_name = 'img_1']/file_path}" title="{name}" alt="{name}" class="highslide" onclick="return hs.expand(this)">
                                 <img src="{property[@xml_name = 'img_1']/small_image/file_path}" alt="{item/name}"  style="border:1px solid #dadada;padding:1px;" />
                           </a></xsl:if>
                        </div>
                        <div style="padding:15px 15px 0 0;">
                           <xsl:if test="property[@xml_name='img_2']/small_image/file_path!=''">
                              <a href="{property[@xml_name = 'img_2']/file_path}" title="{name}" alt="{name}" class="highslide" onclick="return hs.expand(this)">
                                 <img src="{property[@xml_name = 'img_2']/small_image/file_path}" alt="{item/name}"  style="border:1px solid #dadada;padding:1px;" />
                           </a></xsl:if>
                        </div>
                        <div style=" padding:15px 0 0 0;">
                           <xsl:if test="property[@xml_name='img_3']/small_image/file_path!=''">
                              <a href="{property[@xml_name = 'img_3']/file_path}" title="{name}" alt="{name}" class="highslide" onclick="return hs.expand(this)">
                                 <img src="{property[@xml_name = 'img_3']/small_image/file_path}" alt="{item/name}"  style="border:1px solid #dadada;padding:1px;" />
                           </a></xsl:if>
                        </div>
                     </td>
                  </tr>
               </table>
               
               
               <xsl:value-of disable-output-escaping="yes" select="description"/>
               
               
               
            </xsl:template>
            
            <!-- Вывод раздела для свойств товара -->
            <xsl:template match="properties_items_dir">
               
               <xsl:variable name="dir_id" select="@id"/>
               
               <xsl:if test="count(/shop/item/property[@dir_id = $dir_id])">
                  <!-- Название группы свойств -->
               <p><b><xsl:value-of select="shop_properties_items_dir_name"/></b></p>
                  
                  
                  <xsl:apply-templates select="/shop/item/property[@dir_id = $dir_id]"/>
                  
               </xsl:if>
               
               <xsl:if test="count(properties_items_dir) > 0">
                  <blockquote>
                     <xsl:apply-templates select="properties_items_dir"/>
                  </blockquote>
               </xsl:if>
            </xsl:template>
            
            <!-- Вывод строки со значением свойства -->
            <xsl:template match="property">
               
               <xsl:if test="value != '' or (type = 1 and file_path != ''">
                  
                  
                  <xsl:choose>
                     
                     <xsl:when test="type = 1">
                        <a href="#nul" ONCLICK="window.open('{file_path}','','Width={file_path/@width},Height={file_path/@height}';" title="{name}" alt="{name}" >
                           <img src="{small_image/file_path}" style="border: 1px solid #c6bea7; padding: 1px;"/>
                        </a>
                     </xsl:when>                              <xsl:when test="type = 7">
                        <xsl:choose>
                           <xsl:when test="value = 1">
                              <input type="checkbox" checked="" disabled="" />
                           </xsl:when>
                           <xsl:otherwise>
                              <input type="checkbox" disabled="" />
                           </xsl:otherwise>
                        </xsl:choose>
                     </xsl:when>
                     
                     <xsl:otherwise>
                        
                     <xsl:value-of disable-output-escaping="yes" select="value"/>                           </xsl:otherwise>                        </xsl:choose>
                  
               </xsl:if>
            </xsl:template>
            
            
            
            
            
            
            
            
            
            
            
            
            
            <xsl:template match="tying/item">
               
               <div style="clear: both">
                  <p>
                     <a href="{/shop/path}{fullpath}{path}/">
                        <xsl:value-of select="name"/>
                     </a>
                  </p>
                  
                  <!-- Изображение для товара, если есть -->
                  <xsl:if test="small_image != ''">
                     <a href="{/shop/path}{fullpath}{path}/">
                        <img src="{small_image}" align="left" style="border: 1px solid #000000; margin: 0px 5px 5px 0px"/>
                     </a>
                  </xsl:if>
                  
                  <p>
                     <xsl:value-of disable-output-escaping="yes" select="description"/>
                  </p>
                  
                  <!-- Цена товара -->
                  <strong>
                     <xsl:choose>
                        <xsl:when test="price_discount != 0">
                           <xsl:value-of disable-output-escaping="yes" select="price_discount"/>&#xA0;
                           <!-- Валюта товара -->
                           <xsl:value-of disable-output-escaping="yes" select="currency"/>
                        </xsl:when>
                        <xsl:otherwise>договорная</xsl:otherwise>
                     </xsl:choose>
                  </strong>
                  
                  <!-- Если цена со скидкой - выводим ее -->
                  <xsl:if test="price_tax != price_discount">
                     <br/>
                     <font color="gray">
                        <strike>
                           <xsl:value-of disable-output-escaping="yes" select="price_tax"/>&#xA0;<xsl:value-of disable-output-escaping="yes" select="currency"/></strike>
                     </font>
                  </xsl:if>
                  
                  <!-- Если указан вес товара -->
                  <xsl:if test="weight != 0">
                     <br/>Вес товара: <xsl:value-of select="weight"/> <xsl:value-of select="weight_mesure"/></xsl:if>
                  
                  <!-- Показываем скидки -->
                  <xsl:if test="count(discount) &gt; 0">
                     <xsl:apply-templates select="discount"/>
                  </xsl:if>
                  
                  <!-- Показываем количество на складе, если больше нуля -->
                  <xsl:if test="rest &gt; 0">
                     <br/>В наличии: <xsl:value-of disable-output-escaping="yes" select="rest"/></xsl:if>
                  
                  <xsl:if test="producer/shop_producers_list_name != ''">
                     <br/>Производитель: <xsl:value-of disable-output-escaping="yes" select="producer/shop_producers_list_name"/></xsl:if>
               </div>
            </xsl:template>
            
            <!-- Шаблон выводит хлебные крошки -->
            <xsl:template match="group" mode="goup_path">
               <xsl:variable name="parent_id" select="@parent"/>
               
               <!-- Выбираем рекурсивно вышестоящую группу -->
               <xsl:apply-templates select="//group[@id=$parent_id]" mode="goup_path"/>
               
               <xsl:if test="@parent=0">
                  <a href="{/shop/path}">
                     <xsl:value-of select="/shop/name"/>
                  </a>
               </xsl:if>
               
               <span class="path_arrow">&#x2192;</span>
               
               <a href="{/shop/path}{fullpath}">
                  <xsl:value-of select="name"/>
               </a>
            </xsl:template>
         </xsl:stylesheet>

Подскажите, как мне добавить свойство в экспорт. Буду признателен
Авторизация