<?xml version="1.0"  encoding="UTF-8"?>
<!-- DWXMLSource="datos.xml" -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <xsl:output method="html" encoding="iso-8859-1"/>
  <xsl:template match="/">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>Untitled Document</title>
    <style type="text/css">
	a:hover{text-decoration:none;}
	a:link{text-decoration:none; }
	a:visited{text-decoration:none; }
	a:active{text-decoration:none; }
.style1 {font-weight: bold}
    </style>
    </head>
    <body marginheight="0" marginwidth="0">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td><!-- MENÚ CABECERA -->
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
              <td align="right" height="20"><table width="100%" height="124" border="0" cellpadding="0" cellspacing="0" background="./images/img_cabecera_individual.jpg">
                  <tr>
                    <td width="100%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="27" height="65"></td>
                          <td></td>
                        </tr>
                        <tr>
                          <td></td>
                          <td align="left" valign="top" class="textos_img_cabecera"><xsl:value-of select="Plantilla/general/infoCasa/nombre/@texto"/> <xsl:value-of select="Plantilla/general/tituloWeb/@titulo"/></td>
                        </tr>
                        <tr>
                          <td height="7"></td>
                          <td align="left" valign="top"  height="1"></td>
                        </tr>
                        <tr>
                          <td></td>
                          <td align="left" valign="top" class="textos_img_cabecera"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="43" align="left" valign="bottom" class="texto_base_cab"><a class="texto_base_cab" href="javascript:outputgroup('caracte.xsl');">Inicio</a></td>
								<xsl:if test="Plantilla/general/scr/@valor=1"><td width="15" align="left" valign="bottom" class="texto_base_cab"><a class="texto_base_cab" href="{Plantilla/general/scr}">Disponibilidad</a></td></xsl:if>
								<xsl:if test="Plantilla/general/scr/@valor=0"><td width="15" align="left" valign="bottom" class="texto_base_cab">Disponibilidad</td></xsl:if>								

                                <td width="40" align="left" valign="bottom" class="texto_base_cab"><a class="texto_base_cab" href="mailto:{Plantilla/general/infoCasa/info[4]/@texto}">Contacto</a></td>
                                <td width="380"></td>
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                    <td width="260" align="left" valign="top"></td>
                  </tr>
                </table></td>
            </tr>
          </table>
          <!--espacio-->
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
              <td height="17"></td>
            </tr>
          </table>
          <!--espacio-->
          <!-- CONTENIDO -->
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
              <!-- MENÚ -->
              <td width="160" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><table width="145" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td align="left" valign="top" id="primera_opcion" height="102"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/menu_fondo.jpg">
                                          <tr>
                                            <td align="left" class="texto_mnu" id="opciones" height="53"></td>
                                          </tr>
                                          <tr>
                                            <td align="left" class="texto_mnu"  height="15"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td width="30"></td>
                                                  <td align="left" valign="middle" class="texto_mnu"><a class="texto_mnu" href="javascript:outputgroup('caracte.xsl');">Características</a> </td>
                                                </tr>
                                              </table></td>
                                          </tr>
                                          <tr>
                                            <td height="4"></td>
                                          </tr>
											<xsl:if test="Plantilla/general/scr/@valor=1">
											<tr>
											  <td align="left" class="texto_mnu" id="opciones" height="15"><table width="100%" border="0" cellspacing="0" cellpadding="0">
												  <tr>
													<td width="30"></td>
													<td align="left" valign="middle" class="texto_mnu">
														<a class="texto_mnu" href="{Plantilla/general/scr}">Reservar</a>
													  </td>
												  </tr>
												</table></td>
											</tr>
											</xsl:if>
                                          <tr>
                                            <td height="4"></td>
                                          </tr>
                                          <tr>
                                            <td align="left" class="texto_mnu" id="opciones" height="15"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td width="30"></td>
                                                  <td align="left" valign="middle" class="texto_mnu"><a class="texto_mnu" href="javascript:outputgroup('entorno.xsl');">Entorno</a></td>
                                                </tr>
                                              </table></td>
                                          </tr>
                                          <tr>
                                            <td height="4"></td>
                                          </tr>
                                          <tr>
                                            <td align="left" class="texto_mnu" id="opciones" height="15"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td width="30"></td>
                                                  <td align="left" valign="middle" class="texto_mnu"><a class="texto_mnu" href="javascript:outputgroup('localizacion.xsl');">Cómo llegar</a></td>
                                                </tr>
                                              </table></td>
                                          </tr>
                                          <tr>
                                            <td height="4"></td>
                                          </tr>
                                          <tr>
                                            <td align="left" class="texto_mnu" id="opciones" height="15"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td width="30"></td>
                                                  <td align="left" valign="middle" class="texto_mnu"><a class="texto_mnu" href="javascript:outputgroup('fotos.xsl');">Fotografías</a> </td>
                                                </tr>
                                              </table></td>
                                          </tr>
                                          <tr>
                                            <td align="left" class="texto_mnu" id="opciones" height="10"></td>
                                          </tr>
                                        </table></td>
                                    </tr>
                                    <tr>
                                      <td id="fin_menu" height="3"/>
                                    </tr>
                                    <tr>
                                      <td height="14"/>
                                    </tr>
                                    <tr>
                                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td width="4"></td>
                                            <td><xsl:if test="Plantilla/general/fotos/foto[2]/@thumb">
                                                <table width="100%" height="105" border="0" cellpadding="0" cellspacing="0">
                                                  <tr>
                                                    <td align="left" valign="top"><table width="100%" height="105" border="0" cellpadding="0" cellspacing="3">
                                                        <tr>
                                                          <td align="center" valign="middle" style="border:1px solid #a5a4a4;" bgcolor="#5A7292">												 <xsl:if test="not(Plantilla/general/fotos/foto[2]/@ampliada)">
													 <img src="images/casa/{Plantilla/general/fotos/foto[2]/@thumb}" hspace="5" vspace="5"  border="0"/>
												</xsl:if>
												 <xsl:if test="Plantilla/general/fotos/foto[2]/@ampliada">
												 <a href="./images/casa/{Plantilla/general/fotos/foto[2]/@ampliada}" target="_blank">
												 <img src="images/casa/{Plantilla/general/fotos/foto[2]/@thumb}" hspace="5" vspace="5"  border="0"/>
												</a></xsl:if>
 </td>
                                                        </tr>
                                                      </table></td>
                                                  </tr>
                                                </table>
                                              </xsl:if></td>
                                            <td width="1"></td>
                                          </tr>
                                        </table></td>
                                    </tr>
                                    <tr>
                                      <td height="8"/>
                                    </tr>
                                    <tr>
                                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td width="4"></td>
                                            <td><xsl:if test="Plantilla/general/fotos/foto[3]/@thumb">
                                                <table width="100%" height="105" border="0" cellpadding="0" cellspacing="0">
                                                  <tr>
                                                    <td align="left" valign="top"><table width="100%" height="105" border="0" cellpadding="0" cellspacing="3">
                                                        <tr>
                                                          <td align="center" valign="middle" style="border:1px solid #a5a4a4;" bgcolor="#5A7292">												 <xsl:if test="not(Plantilla/general/fotos/foto[3]/@ampliada)">
													 <img src="images/casa/{Plantilla/general/fotos/foto[3]/@thumb}" hspace="5" vspace="5"  border="0"/>
												</xsl:if>
												 <xsl:if test="Plantilla/general/fotos/foto[3]/@ampliada">
												 <a href="./images/casa/{Plantilla/general/fotos/foto[3]/@ampliada}" target="_blank">
												 <img src="images/casa/{Plantilla/general/fotos/foto[3]/@thumb}" hspace="5" vspace="5"  border="0"/>
												</a></xsl:if>
 </td>
                                                        </tr>
                                                      </table></td>
                                                  </tr>
                                                </table>
                                              </xsl:if></td>
                                            <td width="1"></td>
                                          </tr>
                                        </table></td>
                                    </tr>
                                    <tr>
                                      <td height="8"/>
                                    </tr>
                                    <tr>
                                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td width="4"></td>
                                            <td><xsl:if test="Plantilla/general/fotos/foto[4]/@thumb">
                                                <table width="100%" height="105" border="0" cellpadding="0" cellspacing="0">
                                                  <tr>
                                                    <td align="left" valign="top"><table width="100%" height="105" border="0" cellpadding="0" cellspacing="3">
                                                        <tr>
                                                          <td align="center" valign="middle" style="border:1px solid #a5a4a4;" bgcolor="#5A7292">												 <xsl:if test="not(Plantilla/general/fotos/foto[4]/@ampliada)">
													 <img src="images/casa/{Plantilla/general/fotos/foto[4]/@thumb}" hspace="5" vspace="5"  border="0"/>
												</xsl:if>
												 <xsl:if test="Plantilla/general/fotos/foto[4]/@ampliada">
												 <a href="./images/casa/{Plantilla/general/fotos/foto[4]/@ampliada}" target="_blank">
												 <img src="images/casa/{Plantilla/general/fotos/foto[4]/@thumb}" hspace="5" vspace="5"  border="0"/>
												</a></xsl:if>
 </td>
                                                        </tr>
                                                      </table></td>
                                                  </tr>
                                                </table>
                                              </xsl:if></td>
                                            <td width="1"></td>
                                          </tr>
                                        </table></td>
                                    </tr>
                                    <tr>
                                      <td height="8"/>
                                    </tr>
                                  </table></td>
                              </tr>
                              <tr>
                                <td height="20"/>
                              </tr>
                              <tr>
                                <td></td>
                              </tr>
                            </table></td>
                        </tr>
                        <tr>
                          <td height="20"/>
                        </tr>
                        <tr>
                          <td></td>
                        </tr>
                      </table></td>
                    <td width="20"/>
                  </tr>
                </table></td>
              <!-- CONTENIDO -->
              <td width="612" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="13"></td>
                    <td><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                          <td><table background="./images/fondo_madera_tit.jpg" width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="10"></td>
                                      <td class="style1 style3_b">Entorno</td>
                                    </tr>
                                  </table></td>
                              </tr>
                            </table></td>
                        </tr>
                        <tr>
                          <td align="left" width="612"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                              <tr>
                                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td colspan="3" height="20"></td>
                                          </tr>
                                          <tr>
                                            <td width="20"></td>
                                            <td align="center"><table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
                                                <tbody>
                                                  <tr>
												  <xsl:if test="Plantilla/entorno/fotos/foto[1]/@thumb">
                                                    <td style="border:1px solid #a5a4a4;" bgcolor="#5A7292">
													<xsl:if test="not(Plantilla/entorno/fotos/foto[1]/@ampliada)"><img src="images/casa/{Plantilla/entorno/fotos/foto[1]/@thumb}" hspace="5" vspace="5"  border="0"/></xsl:if>
													<xsl:if test="Plantilla/entorno/fotos/foto[1]/@ampliada"><a href="./images/casa/{Plantilla/entorno/fotos/foto[1]/@ampliada}" target="_blank"><img src="images/casa/{Plantilla/entorno/fotos/foto[1]/@thumb}" hspace="5" vspace="5"  border="0"/></a></xsl:if>													
													</td>
                                                    <td width="1"></td>
												 </xsl:if>	
												  <xsl:if test="Plantilla/entorno/fotos/foto[2]/@thumb">												 
                                                    <td style="border:1px solid #a5a4a4;" bgcolor="#5A7292">
													<xsl:if test="not(Plantilla/entorno/fotos/foto[2]/@ampliada)"><img src="images/casa/{Plantilla/entorno/fotos/foto[2]/@thumb}" hspace="5" vspace="5"  border="0"/></xsl:if>
													<xsl:if test="Plantilla/entorno/fotos/foto[2]/@ampliada"><a href="./images/casa/{Plantilla/entorno/fotos/foto[2]/@ampliada}" target="_blank"><img src="images/casa/{Plantilla/entorno/fotos/foto[2]/@thumb}" hspace="5" vspace="5"  border="0"/></a></xsl:if>													

													</td>
                                                    <td width="1"></td>
													</xsl:if>
												  <xsl:if test="Plantilla/entorno/fotos/foto[3]/@thumb">													
                                                    <td style="border:1px solid #a5a4a4;" bgcolor="#5A7292">
													<xsl:if test="not(Plantilla/entorno/fotos/foto[3]/@ampliada)"><img src="images/casa/{Plantilla/entorno/fotos/foto[3]/@thumb}" hspace="5" vspace="5"  border="0"/></xsl:if>
													<xsl:if test="Plantilla/entorno/fotos/foto[3]/@ampliada"><a href="./images/casa/{Plantilla/entorno/fotos/foto[3]/@ampliada}" target="_blank"><img src="images/casa/{Plantilla/entorno/fotos/foto[3]/@thumb}" hspace="5" vspace="5"  border="0"/></a></xsl:if>													

													</td>
                                                    <td width="1"></td>
													</xsl:if>
                                                  </tr>
                                                </tbody>
                                              </table></td>
                                            <td width="20"></td>
                                          </tr>
                                          <tr>
                                            <td colspan="3" height="20"></td>
                                          </tr>
                                          <tr>
                                            <td width="10"></td>
                                            <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tbody>
                                                  <tr>
                                                    <td colspan="3" height="10"></td>
                                                  </tr>
                                                  <tr>
                                                    <td width="10"></td>
                                                    <td class="texto_base"  align="left" valign="top">
													<xsl:for-each select="Plantilla/entorno/descripcion/parra">
													<xsl:value-of select="."/>
													<br/>
													</xsl:for-each>
													
													</td>
                                                    <td width="10"></td>
                                                  </tr>
                                                  <tr>
                                                    <td colspan="3" height="10"></td>
                                                  </tr>
                                                </tbody>
                                              </table></td>
                                            <td width="10"></td>
                                          </tr>
                                        </table></td>
                                      <td width="16"></td>
                                      <td width="177" align="left" valign="top" bgcolor="#5A7292"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr bgcolor="#5A7292">
                                            <td width="10" height="10"></td>
                                            <td></td>
                                          </tr>
                                          <xsl:if test="Plantilla/articulos/articulo">
                                            <tr>
                                              <td width="10" height="10"></td>
                                              <td class="titulo_art"><a class="titulo_art" href="javascript:outputgroup('entorno.xsl');">Volver a Entorno</a></td>
                                            </tr>
                                            <tr>
                                              <td width="10" height="10"></td>
                                              <td></td>
                                            </tr>
                                            <tr>
                                              <td height="10"></td>
                                              <td class="apar_art">Artículos:</td>
                                            </tr>
                                            <tr>
                                              <td height="10"></td>
                                              <td></td>
                                            </tr>
                                            <tr>
                                              <td height="10"></td>
                                              <td class="titulo_art"><xsl:for-each select="Plantilla/articulos/articulo">
                                                  <a class="titulo_art" href="javascript:outputgroup('articulo.xsl','{@titulo}');"> - <xsl:value-of select="@titulo"/><br/>
                                                  </a>
                                                </xsl:for-each></td>
                                            </tr>
                                          </xsl:if>
                                        </table></td>
                                    </tr>
                                  </table></td>
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                  </tr>
                </table></td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td></td>
      </tr>
      <tr>
        <td align="center"><img src="./images/img_pie.jpg" width="753" height="8" /></td>
      </tr>
      <tr>
        <td height="8"></td>
      </tr>
      <tr>
        <td align="center" class="texto_pie"><a href="http://www.ruralgest.com" target="_blank" class="texto_pie">Web realizada con RuralGest</a> - <a href="http://www.ruralgest.net" target="_blank" class="texto_pie">Sistema de disponibilidad y reservas de turismo rural</a> - Todos lo derechos reservados</td>
      </tr>
    </table>
    </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
