Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/12/2003, 09:08
dobeto
 
Fecha de Ingreso: diciembre-2003
Ubicación: Salamanca
Mensajes: 123
Antigüedad: 20 años, 4 meses
Puntos: 3
Lo valido en la página del w3:
http://validator.w3.org/

El código

1: <?php
2: echo '<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>';
3: ?>
4:
5: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
6: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7: <html xmlns="http://www.w3.org/1999/xhtml">
8: <head>
9: <title>Titulo</title>
10: </head>
11: <body>
12: </body>
13: </html>

El error:
Line 2, column 54: character "'" not allowed in prolog
echo '<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>';