XML con CSS

20/02/2004 - 12:59 por Alejandro Esteve | Informe spam
hola...
tengo un fichero xml con su xsl asociado y quisiera incluirle la hoja CSS
¿cómo se hace en xml?

Alejandro Esteve
http://www.BibliotecaInformatica.Net
ftp://ftp.BibliotecaInformatica.Net
 

Leer las respuestas

#1 Skar
20/02/2004 - 21:53 | Informe spam
dos formas:
directamente en el documento xml, antes de el nodo root (raiz) aniades
<?xml-stylesheet type="text/css" href="nombredecss.css"?>
luego lo abres en tu navegador (ie o netscape) y listo

Segunda forma: en tu XSL (supongo que genera HTML) simplemente le aniades
<LINK REL=STYLESHEET TYPE="text/css" HREF="nombredecss.css">
a la <xsl:template que contine la seccion Header de tu HTML
Para mas info en Access visitame
http://www22.brinkster.com/equisbert/
"Alejandro Esteve" wrote in message
news:
hola...
tengo un fichero xml con su xsl asociado y quisiera incluirle la hoja CSS
¿cómo se hace en xml?

Alejandro Esteve
http://www.BibliotecaInformatica.Net
ftp://ftp.BibliotecaInformatica.Net


Preguntas similares