Модераторы: diadiavova
  

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> xpath 
:(
    Опции темы
hug
Дата 8.8.2008, 16:14 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Шустрый
*


Профиль
Группа: Участник
Сообщений: 87
Регистрация: 27.7.2007

Репутация: нет
Всего: нет



Добрый День, подскажите пожалуйста
Код

<xsl:for-each select="//table[tr[2]/td[1]/text()='Вылет']">

таких узла 2(<table>).
как обратиться конкретно к первому и конкретно ко второму
Код

<xsl:for-each select="//table[tr[2]/td[1]/text()='Вылет'][1]/tr[position()>3]">


бежит у меня по всем tr этих table. А мне необходимо только по первому/
Как это сделать и почему [1] не работает?


PM MAIL   Вверх
jsa
Дата 11.8.2008, 04:55 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 704
Регистрация: 19.1.2006
Где: Новосибирск

Репутация: 3
Всего: 20



xml  в студию


--------------------
Все мы, на перине с песней, строим небо на земле © Ю. Шевчук
PM MAIL ICQ   Вверх
hug
Дата 11.8.2008, 11:48 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Шустрый
*


Профиль
Группа: Участник
Сообщений: 87
Регистрация: 27.7.2007

Репутация: нет
Всего: нет



Код

<?xml version="1.0" encoding="utf-8"?><html><id1>18</id1><id2>69</id2><dt1>2008-09-11</dt1><dt2>2008-10-11</dt2>
<head>
<meta content="text/html; charset=windows-1251" http-equiv="Content-Type" />
<title>Наличие мест на рейсах</title>
<link type="text/css" rel="stylesheet" href="all.css" />
<link type="text/css" rel="stylesheet" href="sait.css" />
<link type="text/css" rel="stylesheet" href="http://online.anextour.ru/site/new_style.css" />

<style>
//<![CDATA[

body {font-family: Verdana, Arial, Helvetica,sans-serif;font-size:11px;color:#454545;}
td{font-size:10px}
td.capt1 {font-weight:bold;padding:2px 5px 2px 5px;letter-spacing:1px;font-size:11px;}
.place2 {background-color: #96E08B;}
.place3 {background-color: #DADA92;}
.place4 {background-color: #FF8080;}
.em {font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:#FBF8D6;}
td.m {background-color:#F0F0FF;}
td.ca{padding:5 15; background-color:#A8D8FE; font-weight:bold; font-size:85%}

//]]>//
</style>

</head>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">

<table height="100%" cellpadding="0" width="100%" valign="top" border="0" cellspacing="0">
<tr><td valign="top">

<!-- tour  ! -->
<form name="frm_header_tour" method="post" action="http://online.anextour.ru/online/spec.php" /><input name="TOUR" type="hidden" value="15" />&lt;/form&gt;
<form name="frm_header_stop" method="post" action="http://online.anextour.ru/_samo/index.php/h_stop_sale" /><input name="STATEINC" type="hidden" value="11" />&lt;/form&gt;

<table cellpadding="0" width="100%" cellspacing="0" border="0">
    <tr>
    <td height="130">

<table height="130" cellpadding="0" width="100%" cellspacing="0" style="background: url(http://anextour.com/site_img_new/header.png) no-repeat;" border="0" valign="top">
<tr>
    <td width="18%" valign="top">
    <a href="http://anextour.com"><img alt="АНЕКС ТУР" src="http://anextour.com/site_img_new/logo.gif" /></a>
    </td>

    <td width="25%" valign="top" class="menu_top">

<div>Турагентствам</div>

<div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Отдел продаж: +7(495) 799 92 88</div><div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Выдача документов: +7(495) 721 36 50</div><div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Отдел маркетинга: +7(495) 799 92 92</div><div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Бухгалтерия: +7(495) 799 92 79</div><div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Факс: +7(495) 799 92 59</div>


<div id="menu_top"><a style="color:#fff; font-size:11px;" href="http://anextour.com/tpl050.html">Наши офисы</a><img height="1" width="220" src="http://anextour.com/site_img/pix.gif" /></div>

</td>
<td width="20%" valign="top" class="menu_top">

<div>Туристам: где купить тур</div>

<div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Москва: +7(495) 970 11 70</div><div><img class="icon_top" src="http://anextour.com/site_img_new/circle_top.png" />Россия: 8 800 200 11 70</div>
<div id="menu_top"><a style="color:#fff;font-size:11px;" href="http://anextour.com/agencies_msk.php">Где купить тур: адреса агентств</a><br />
<img height="1" width="190" src="http://anextour.com/site_img/pix.gif" /></div>


</td>
<td align="left" width="30%" valign="top">

<table cellpadding="0" cellspacing="0" border="0" valign="top">

<tr>
<td class="icon"><a href="JavaScript:document.frm_header_tour.submit();"><img alt="Навигатор спецпредложений" src="http://anextour.com/site_img_new/nav_top.png" /></a></td>

<!--
<td><div id="header_menu"><a href="http://online.anextour.ru/_samo/index.php/search_params"><img src="http://anextour.com/site_img/shturval.gif" alt="Навигатор спецпредложений" /></a>&nbsp;&nbsp;</div></td>
! -->
<td class="icon"><a href="http://online.anextour.ru/_samo/index.php/search_params"><img alt="Поиск тура" src="http://anextour.com/site_img_new/loop_top.png" /></a></td>
<td class="icon"><a href="http://online.anextour.ru/online/flights.php"><img alt="Наличие мест на рейсах" src="http://anextour.com/site_img_new/avion_top.png" /></a></td>
</tr><tr>
<td class="icon"><a href="http://online.anextour.ru/online/katotel.php"><img alt="Каталог отелей" src="http://anextour.com/site_img_new/book_top.png" /></a></td>
<td class="icon"><a href="http://anextour.com/issue.php"><img alt="Выдача документов" src="http://anextour.com/site_img_new/konvert_top.png" /></a></td>
<td class="icon"><a href="JavaScript:document.frm_header_stop.submit();"><img alt="Stop-sale" src="http://anextour.com/site_img_new/stop_top.png" /></a></td>

</tr>
        </table>

    </td>
    </tr>
</table>

</td>
</tr>
<tr>
<td>

<table background="http://anextour.com/site_img_new/row_blue.jpg" cellspacing="0" width="100%" border="0" cellpadding="2" valign="top">
  <tr>

    <td align="left" width="230" valign="top" class="menu_top"><b>Выберите город вылета </b>&amp;nbsp;&amp;nbsp;<img src="http://anextour.com/site_img_new/circle_top.png" />&amp;nbsp;<b>Россия:</b> &amp;nbsp; </td>

   
 <td width="600" class="menu_top">    
    <a href="http://anextour.com/frm02.html">Москва</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm078.html">Волгоград</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm069.html">Екатеринбург</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm026.html">Калининград</a>&amp;nbsp;|&amp;nbsp; 
    <a href="http://anextour.com/frm098.html">Краснодар</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm0384.html">Махачкала</a>&amp;nbsp;|&amp;nbsp;<br />  
    <a href="http://anextour.com/frm040.html">Нижний Новгород</a>&amp;nbsp;|&amp;nbsp;
     
    <a href="http://anextour.com/frm025.html">Пермь</a>&amp;nbsp;|&amp;nbsp;  
    <a href="http://anextour.com/frm023.html">Ростов-на-Дону</a>&amp;nbsp;|&amp;nbsp;  
    <a href="http://anextour.com/frm032.html">Самара</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm0143.html">Сыктывкар</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm0136.html">Тюмень</a>&amp;nbsp;|&amp;nbsp;
    <a href="http://anextour.com/frm061.html">Уфа</a>

 </td>

    <td align="left" valign="top" class="menu_top"><img src="http://anextour.com/site_img_new/circle_top.png" />&amp;nbsp;<b>Украина:</b> &amp;nbsp;</td>

    <td align="left" width="250" valign="top" class="menu_top">
  <a href="http://anextour.com/frm0155.html">Киев</a>&amp;nbsp;|&amp;nbsp;
  <a href="http://anextour.com/frm0144.html">Донецк</a>&amp;nbsp;|&amp;nbsp;
  <a href="http://anextour.com/frm0333.html">Запорожье</a>&amp;nbsp;|&amp;nbsp;
  <a href="http://anextour.com/frm0338.html">Львов</a>&amp;nbsp;|&amp;nbsp;
  <a href="http://anextour.com/frm0336.html">Луганск</a>&amp;nbsp;|&amp;nbsp;
  <a href="http://anextour.com/frm0142.html">Сумы</a>&amp;nbsp;|&amp;nbsp;
  <a href="http://anextour.com/frm060.html">Харьков</a>&amp;nbsp;|&amp;nbsp;

    </td>

<!--
    <td valign="top" align="right" class="menu_top">Выбран город: <b></b></td>
! -->
    </tr>
</table>

</td></tr>
</table>

<!-- end header ! -->
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><a href="http://anextour.com"><img border="0" src="http://online.anextour.ru/site_img/home_sm.gif" /></a></td>
<!--
</tr>
</table>
! --><td>&amp;nbsp;-&gt;&amp;nbsp;</td><td><font size="2">Наличие мест на рейсах</font></td></tr></table>

</td></tr><td valign="top">


<table align="center" cellpadding="0" border="1" cellspacing="0"><tr><td valign="top">


<center>
<form name="start" action="" method="post" style="margin:0" />
<table height="110" cellspacing="0" width="500" border="0"><tr align="center"><td>
<table style="margin-top:25px;" border="0">
<tr><td style="font-weight:bold; font-size:85%;">

C <select name="Day" class="em">
<option value="1">1
<option value="2">2
<option value="3">3
<option value="4">4
<option value="5">5
<option value="6">6
<option value="7">7
<option value="8">8
<option value="9">9
<option value="10">10
<option value="11" selected="">11
<option value="12">12
<option value="13">13
<option value="14">14
<option value="15">15
<option value="16">16
<option value="17">17
<option value="18">18
<option value="19">19
<option value="20">20
<option value="21">21
<option value="22">22
<option value="23">23
<option value="24">24
<option value="25">25
<option value="26">26
<option value="27">27
<option value="28">28
<option value="29">29
<option value="30">30
<option value="31">31
</option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></option></select>
&amp;nbsp;&amp;nbsp;<select name="MONTH" class="em">
<option value="1">ЯНВАРЯ</option><option value="2">ФЕВРАЛЯ</option><option value="3">МАРТА</option><option value="4">АПРЕЛЯ</option><option value="5">МАЯ</option><option value="6">ИЮНЯ</option><option value="7">ИЮЛЯ</option><option value="8">АВГУСТА</option><option value="9" selected="">СЕНТЯБРЯ</option><option value="10">ОКТЯБРЯ</option><option value="11">НОЯБРЯ</option><option value="12">ДЕКАБРЯ</option></select>
&amp;nbsp;&amp;nbsp;<select name="YEAR" class="em">
<option value="2008" selected="">2008</option><option value="2009">2009</option></select> года.&amp;nbsp;

</td><td bgcolor="#FFFFFF"><input name="hiddenkey" type="checkbox" />Без проданных мест</td></tr>
<tr><td height="10" colspan="2"></td></tr>
<tr><td colspan="2">
<p />Откуда:

<select name="TownFrom" onchange="document.start.submit();" class="em">
<option value="">-- Выберите --</option>
<option value="2">МОСКВА</option><option value="40">Н. НОВГОРОД</option><option value="23">РОСТОВ</option><option value="32">САМАРА</option><option value="61">УФА</option><option value="69" selected="">ЕКАТЕРИНБУРГ</option><option value="155">КИЕВ</option><option value="60">ХАРЬКОВ</option><option value="144">ДОНЕЦК</option><option value="338">ЛЬВОВ</option><option value="26">КАЛИНИНГРАД</option><option value="136">ТЮМЕНЬ</option><option value="336">ЛУГАНСК</option><option value="333">ЗАПОРОЖЬЕ</option><option value="142">СУМЫ</option><option value="78">ВОЛГОГРАД</option><option value="98">КРАСНОДАР</option><option value="143">СЫКТЫВКАР</option><option value="25">ПЕРМЬ</option><option value="384">МАХАЧКАЛА</option></select>

&amp;nbsp;Куда:<select name="TownTo" onchange="document.start.submit();" class="em">
<option value="">-- Выберите --</option>
<option value="18" selected="">АНТАЛЬЯ</option><option value="139">ШАРМ ЕЛЬ ШЕЙХ</option><option value="177">ДАЛАМАН</option><option value="225">ХУРГАДА</option><option value="242">ИРАКЛИОН</option></select>
&amp;nbsp;&amp;nbsp;<input value="Просмотр" type="submit" class="em" name="next" />
</td></tr></table></td></tr></table></center>



&lt;/form&gt;






<center>
<!--CTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=windows-1251" http-equiv="Content-Type" />
<title>Untitled Document</title>
</head>

<body>


<table cellspacing="1" width="70%" border="0" cellpadding="6">
  <tr>
    <td> </td>
  </tr>
  <tr>
    <td class="main_text"> <ul><li style="color:#FF0000; list-style: square;">С 16.05.2008 топливный сбор для рейсов в Турцию из Екатеринбурга составит 50$ на одного человека на все заявки, кроме полностью оплаченных до 16.05.2008, 
с заездом 24.05.2008 и далее, независимо от даты бронирования!</li></ul></td>
  </tr>
</table>

</body>
</html>
</center>

















<table cellpadding="0" width="100%" cellspacing="0" style="margin-top:20px">
<tr valign="top"><td width="5">&amp;nbsp;</td><td>

<table cellpadding="0" width="100%" cellspacing="0" bgcolor="#CEB2AD"><tr><td>
<table cellpadding="0" width="100%" cellspacing="1">
<tr><td colspan="9" style="font-family:verdana,tahoma;font-size:14px;" bgcolor="white"><center>Направление &quot;<b>Екатеринбург -» Анталья&quot;</b></center></td></tr>
<tr align="center" bgcolor="white">
<td rowspan="2" class="capt1">Вылет</td>
<td rowspan="2" class="capt1">№ рейса</td>
<td rowspan="2" class="capt1">ВС</td>
<td rowspan="2" class="capt1">А/П</td>
<td rowspan="2" class="capt1">Время</td>
<td rowspan="2" class="capt1">А/П</td>
<td rowspan="2" class="capt1">Время</td>
<td colspan="2" class="capt1">Места</td></tr>
<tr align="center" bgcolor="white">
<td class="capt1">Класс Y</td>
<td class="capt1">Класс C</td>
</tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;12/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;09:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;10:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;14/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;09:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;10:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;16/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;10:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;11:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;19/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;09:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;10:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;21/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;09:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;10:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;23/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;10:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;11:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;26/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;09:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;10:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;30/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;10:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;11:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" class="p" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;03/10/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3747</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;SVX</td><td>&amp;nbsp;09:00</td><td>&amp;nbsp;AYT</td><td>&amp;nbsp;10:30</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
</table>
</td></tr></table>

</td><td width="5">&amp;nbsp;</td><td>

<table cellpadding="0" width="100%" cellspacing="0" bgcolor="#CEB2AD"><tr><td>
<table cellpadding="0" width="100%" cellspacing="1">
<tr><td colspan="9" style="font-family:verdana,tahoma;font-size:14px;" bgcolor="white"><center>Направление &quot;<b>Анталья -» Екатеринбург&quot;</b></center></td></tr>
<tr align="center" bgcolor="white">
<td rowspan="2" class="capt1">Вылет</td>
<td rowspan="2" class="capt1">№ рейса</td>
<td rowspan="2" class="capt1">ВС</td>
<td rowspan="2" class="capt1">А/П</td>
<td rowspan="2" class="capt1">Время</td>
<td rowspan="2" class="capt1">А/П</td>
<td rowspan="2" class="capt1">Время</td>
<td colspan="2" class="capt1">Места</td></tr>
<tr align="center" bgcolor="white">
<td class="capt1">Класс Y</td>
<td class="capt1">Класс C</td>
</tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;12/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;12:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;19:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;14/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;12:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;19:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;16/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;13:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;20:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;19/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;12:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;19:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;21/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;12:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;19:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;23/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;13:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;20:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;26/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;12:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;19:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;30/09/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;13:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;20:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
<tr align="center" onmouseover="this.style.backgroundColor='#E9E9E9';" bgcolor="#F0F0FF" onmouseout="this.style.backgroundColor=''"><td bgcolor="#DED7F7">&amp;nbsp;03/10/2008</td><td bgcolor="#DED7F7">&amp;nbsp;SVR 3748</td><td>&amp;nbsp;ИЛ-86</td><td>&amp;nbsp;</td><td>&amp;nbsp;12:00</td><td>&amp;nbsp;</td><td>&amp;nbsp;19:00</td><td nowrap="" class="place2">&amp;nbsp; есть &amp;nbsp;</td><td nowrap="" class="place4">&amp;nbsp; нет &amp;nbsp;</td></tr>
</table>
</td></tr></table>

</td><td width="5" bgcolor="#FFFFFF">&amp;nbsp;</td></tr></table> 


<table cellpadding="0" width="100%" border="0" cellspacing="0">
<tr><td>&amp;nbsp;</td></tr>
<tr><td bgcolor="#DFDFDF">
<center>

<table height="20" cellspacing="4" width="70%" border="0"><tr>
<td style="width:17px;border:solid 1px navy;" class="place2">&amp;nbsp;</td><td nowrap=""><font size="2" face="verdana,tahoma">&amp;nbsp;места есть</font></td><td width="100"></td>
<td style="width:17px;border:solid 1px navy;" class="place3">&amp;nbsp;</td><td nowrap=""><font size="2" face="verdana,tahoma">&amp;nbsp;мест мало</font></td><td width="100"></td>
<td style="width:17px;border:solid 1px navy;" class="place4">&amp;nbsp;</td><td nowrap=""><font size="2" face="verdana,tahoma">&amp;nbsp;мест нет</font></td>
</tr></table></center></td></tr></table>


<tr><td width="100%" valign="bottom">
<!-- bottom ! -->

<script type="text/javascript" src="http://www.google-analytics.com/urchin.js">
//<![CDATA[


//]]>//
</script>
<script type="text/javascript">
//<![CDATA[

_uacct = &quot;UA-3158408-1&quot;;
urchinTracker();

//]]>//
</script>


<table cellpadding="0" width="100%" cellspacing="0" border="0">
<tr>
<td background="http://anextour.com/site_img_new/bottom.jpg" width="30%">
<div style="text-decoration: none; color: #ffffff; font-family: Verdana; font-weight: normal; font-size: 10px; text-align: left; padding: 10px;">
<!-- Москва, м. Сокол, Ленинградский проспект, д.80, подьезд 3. [email protected] ! -->

<[email protected] COUNTEr --><script language="JavaScript" type="text/javascript">
//<![CDATA[
&lt;!--
d=document;var a='';a+=';r='+escape(d.referrer)
js=10//--&gt;
//]]>//
</script><script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
&lt;!--
a+=';j='+navigator.javaEnabled()
js=11//--&gt;
//]]>//
</script><script language="JavaScript1.2" type="text/javascript">
//<![CDATA[
&lt;!--
s=screen;a+=';s='+s.width+'*'+s.height
a+=';d='+(s.colorDepth?s.colorDepth:s.pixelDepth)
js=12//--&gt;
//]]>//
</script><script language="JavaScript1.3" type="text/javascript">
//<![CDATA[
&lt;!--
js=13//--&gt;
//]]>//
</script><script language="JavaScript" type="text/javascript">
//<![CDATA[
&lt;!--
d.write('&lt;a href=&quot;http://top.mail.ru/jump?from=1212271&quot;'+
' target=_top&gt;&lt;img src=&quot;http://df.c7.b2.a1.top.list.ru/counter'+
'?id=1212271;t=57;js='+js+a+';rand='+Math.random()+
'&quot; alt=&quot;Рейтинг@Mail.ru&quot;'+' border=0 height=31 width=88/&gt;&lt;\/a&gt;')
if(11&lt;js)d.write('&lt;'+'!-- ')//--&gt;
//]]>//
</script><noscript><a target="_top" href="http://top.mail.ru/jump?from=1212271"><img height="31" width="88" alt="Рейтинг@Mail.ru" border="0" src="http://df.c7.b2.a1.top.list.ru/counter?js=na;id=1212271;t=57" /></a></noscript><script language="JavaScript" type="text/javascript">
//<![CDATA[
&lt;!--
if(11&lt;js)d.write('--'+'&gt;')//--&gt;
//]]>//
</script><!--/COUNTER -->

<!-- HotLog  -->

<script language="javascript" type="text/javascript">
//<![CDATA[

hotlog_js=&quot;1.0&quot;;
hotlog_r=&quot;&quot;+Math.random()+&quot;&amp;s=434895&amp;im=103&amp;r=&quot;+escape(document.referrer)+&quot;&amp;pg=&quot;+
escape(window.location.href);
document.cookie=&quot;hotlog=1; path=/&quot;; hotlog_r+=&quot;&amp;c=&quot;+(document.cookie?&quot;Y&quot;:&quot;N&quot;);

//]]>//
</script>
<script language="javascript1.1" type="text/javascript">
//<![CDATA[

hotlog_js=&quot;1.1&quot;;hotlog_r+=&quot;&amp;j=&quot;+(navigator.javaEnabled()?&quot;Y&quot;:&quot;N&quot;)

//]]>//
</script>
<script language="javascript1.2" type="text/javascript">
//<![CDATA[

hotlog_js=&quot;1.2&quot;;
hotlog_r+=&quot;&amp;wh=&quot;+screen.width+'x'+screen.height+&quot;&amp;px=&quot;+
(((navigator.appName.substring(0,3)==&quot;Mic&quot;))?
screen.colorDepth:screen.pixelDepth)
//]]>//
</script>
<script language="javascript1.3" type="text/javascript">
//<![CDATA[
hotlog_js=&quot;1.3&quot;
//]]>//
</script>
<script language="javascript" type="text/javascript">
//<![CDATA[
hotlog_r+=&quot;&amp;js=&quot;+hotlog_js;
document.write(&quot;&lt;a href='http://click.hotlog.ru/?434895' target='_top'&gt;&lt;img &quot;+
&quot; src='http://hit23.hotlog.ru/cgi-bin/hotlog/count?&quot;+
hotlog_r+&quot;&amp;' border=0 width=88 height=31 alt=HotLog&gt;&lt;\/a&gt;&quot;)

//]]>//
</script>
<noscript>
<a target="_top" href="http://click.hotlog.ru/?434895">
<img height="31" width="88" alt="HotLog" border="0" src="http://hit23.hotlog.ru/cgi-bin/hotlog/count?s=434895&amp;im=103" /></a>
 </noscript>
 
 <!-- /HotLog  -->



</div>
</td>
<td background="http://anextour.com/site_img_new/bottom.jpg" width="45%">
<div style="text-decoration: none; color: #ffffff; font-family: Verdana; font-weight: normal; font-size: 10px; text-align: center; padding: 10px;">
<a style="font-family:Verdana; color:#ffffff; font-size:10px" href="http://anextour.com/tpl0152.html">Карта сайта</a> | <a style="font-family:Verdana; color:#ffffff; font-size:10px" href="http://anextour.com/tpl050.html">Офисы АНЕКС ТУР </a><!-- &nbsp;|&nbsp; <a href=#>Контакты</a>&nbsp;|&nbsp; <a href="http://anextour.com/template.php?cid=50">Адреса офисов</a> ! -->
</div>
</td>
<td background="http://anextour.com/site_img_new/bottom.jpg" width="20%">

<div style="text-decoration: none; color: #ffffff; font-family: Verdana; font-weight: normal; font-size: 10px; text-align: left; padding: 10px;">
<a style="font-family:Verdana; color:#ffffff; font-size:10px" href="http://anextour.com">Aнекс Тур</a> - туры в Турцию, Египет, Грецию<br />&amp;copy;АNEXTOUR 2001-2008
<div id="debug"></div>
</div></td></tr>
</table></td></tr>



</td></tr></table></td></table></body></html>


PM MAIL   Вверх
jsa
Дата 11.8.2008, 12:15 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 704
Регистрация: 19.1.2006
Где: Новосибирск

Репутация: 3
Всего: 20



Код

<xsl:template match="/">
        <xsl:for-each select="//td[text()='Вылет']">
            <xsl:choose>
                <xsl:when test="position() = 1">
                    <xsl:value-of select="." />
                </xsl:when>            
            </xsl:choose>
        </xsl:for-each>
    </xsl:template>



--------------------
Все мы, на перине с песней, строим небо на земле © Ю. Шевчук
PM MAIL ICQ   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
Правила форума "XML/XSLT"
diadiavova

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

Также рекомендуем Вам зайти в раздел FAQ ,раздел дополняется и, возможно, там вы увидите готовое решение.

Для ответов на часто задаваемые вопросы существует FAQ раздела. Новости можно публиковать в разделе новостей. Для статей так же есть специальный раздел

Желаем удачи в Вашем деле!


Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, diadiavova.

 
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | XML, XSL | Следующая тема »


 




[ Время генерации скрипта: 0.0803 ]   [ Использовано запросов: 20 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.