Ver Mensaje Individual
  #6 (permalink)  
Antiguo 13/07/2004, 08:13
Avatar de enzoscuro
enzoscuro
 
Fecha de Ingreso: mayo-2004
Ubicación: hcda el carmen pan de azu
Mensajes: 51
Antigüedad: 20 años
Puntos: 0
este es el xsl

<?xml version="1.0"?>

<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html40"
result-ns="">

<!--plantilla raiz-->
<xsl:template match="/">
<html>
<head>
<title>
<xsl:value-of select="articulo/titulo" />
</title>
<link href="prueba.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<p class="title">
<xsl:value-of select="articulo/titulo"/>
</p>

<p>
<xsl:value-of select="articulo/parrafo"/>
</p>

<xsl:for-each select="articulo/hito">
<table width="60%" border="1" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="57%" class="dingbat">Titulo</td>
<td width="19%" class="dingbat">Fecha</td>
<td width="24%"><xsl:value-of select="fecha"/></td>
</tr>
<tr>
<td colspan="3"><xsl:value-of select="titulo"/></td>
</tr>
<tr>
<td colspan="3" class="dingbat">Cuerpo</td>
</tr>
<tr>
<td colspan="3"><xsl:value-of select="cuerpo"/></td>
</tr>
</table>
<br/>
</xsl:for-each>
</body>
</html>

</xsl:template>


<xsl:template match="bold">
<B>
<xsl:apply-templates/>
</B>
</xsl:template>

</xsl:stylesheet>

me parece que todo esta bien el css, lo revise y lleva el "/", saludos y muchas gracias
__________________
El viento sopla en el oeste...