Ver Mensaje Individual
  #23 (permalink)  
Antiguo 08/02/2008, 12:26
avatarrr
 
Fecha de Ingreso: febrero-2008
Mensajes: 58
Antigüedad: 17 años, 3 meses
Puntos: 0
Re: XHTML con ASP

esta es la pagina ( en construccion)

http://users3.titanichost.com/vinotecasm/index.asp

y el codigo es este:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<title> ViNoTeCa </title>
<link rel="stylesheet" href="byr.css"></link>
</head>
<body>
<div id="cabecera">
<a id="arriba"/> BODEGAS SANTA MARTA ( potisop )
</div>
<div id="menu">
<h2> Secciones</h2>
<ul>
<li><a href="catalogo.html" title="Ir al catalogo">Cat&aacute;logo de vinos</a></li>
<li><a href="XXBoedggarsXX.xhtml" title="Recorrido">Bodegas-Regiones vin&iacute;colas</a></li>
<li><a href="XXACCXX.xhtml" title="Ver accesorios">Accesorios</a></li>
<li><a href="XXTERXX.xhtml" title="Glosario de terminos">T&eacute;rminos vin&iacute;colas</a></li>
<li><a href="XXVINX.xhtml" title="En la mesa...">Un vino para cada ocasi&oacute;n</a></li>
<li><a href="XXLOKSEAXX.xhtml" title="ZZZZ">Proceso de elaboraci&oacute;n del vino / Vinos Internacionales</a></li>
</ul>
</div>
<div id="contenedor">
<p>
<%
dim path
path = server.mappath("./")
dim sql, conex, rs
sql ="SELECT * FROM catalogo_vino WHERE tipo='Blanco' ORDER BY precio"
set conex = server.createobject ("ADODB.Connection")
conex.open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & path &"\catalogo.mdb;"
set rs = server.createobject ("ADODB.RecordSet")
rs.open sql, conex, 1
do while not rs.eof
response.write rs.fields("Nombre")
response.write rs.fields("Denominacion_de_origen")
response.write rs.fields("Clase")
response.write rs.fields("Precio") &"<br/>"
rs.movenext
loop
rs.close
conex.close
set rs = nothing
set conex = nothing
%></p>

</div>
<div id="lazo"><span>
</span></div>
<div id="caprichos">
<p><script type="text/javascript" src="external.js"></script></p>
<br/>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10-blue"
alt="Valid XHTML 1.0 Strict" height="31" width="88"/></a>
</p>
</div>
<div id="pie">
<p> Copyright &copy; 2008. All rights reserved. <br/>
<a href="#arriba" title="Inicio de pagina"> Ir arriba</a> |
<a href="dondetoke.xhtml" title="Consulte el mapa web">Mapa web</a> |
<a href="mailto:[email protected]" title="Envianos un E-Mail"> Contacte</a></p>
</div>
</body>
</html>


Como observaras no valida ... :S:S

Gracias por tu paciencia por cierto