Problems with XSL code

Subject: Problems with XSL code
From: Marcos Coelho <marcos_coelho@xxxxxxxxx>
Date: Wed, 27 Sep 2000 11:51:08 -0700 (PDT)
Hi Friends,

I've been delevoping a XML and XSL file but it is not working properly
yet.I want to pick each <NOTICAS> atributes like <TITULO> <TIPO> <DATA>
<HORA> ... and put it into table rows

Thanks in Advance
Marcos Coelho

---------------- XSL File ---------------

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<html>
<head>
<title>XML --> XSL ---> HTML </title>
</head>
<body>
<xsl:value-of  select="COSMO/NOTICAS">
<table>
<tr> 
<td><xsl:for-each  select="DATA"></xsl:for-each></td>
<td><!-- 1 col --><xsl:for-each select="TITULO"></xsl:for-each></td>
<td><!-- 2 col --><xsl:for-each select="DATA"></xsl:for-each></td>
<td><!-- 3 col --><xsl:for-each select="HORA"></xsl:for-each></td>
<td><!-- 4 col --><xsl:for-each select="CONTEUDO"></xsl:for-each></td>
<td><!-- 5 col --><xsl:for-each select="AUTOR"></xsl:for-each></td>
<td><!-- 6 col --><xsl:for-each select="CODIGO"></xsl:for-each></td>
<td><!-- 7 col --><xsl:for-each select="TIPO"></xsl:for-each></td>
</tr>
</table>
</xsl:value-of>   
</body>
</html>
</xsl:stylesheet>

---------------- XML File ---------------
<NOTICIAS>
	<TITULO>Coca-Cola tem exclusividade em Sydney</TITULO>
	<DATA>19/09/00</DATA>
	<TIPO>Economia</TIPO>
	<AUTOR>COSMO ON LINE</AUTOR>
	<CODIGO>03</CODIGO>
	<HORA>10:08 </HORA>
	<CONTEUDO>A marca de refrigerantes Coca-Cola </CONTEUDO>
</NOTICIAS>
<NOTICIAS>
	<TITULO>Jaqueta de Hendrix vale US$ 28 mil</TITULO>
	<DATA>19/09/00</DATA>
	<TIPO>Geral</TIPO>
	<AUTOR>COSMO ON LINE</AUTOR>
	<CODIGO>01</CODIGO>
	<HORA>11:00 </HORA>
	<CONTEUDO>Uma jaqueta que pertenceu a Jimi </CONTEUDO>
</NOTICIAS>
<NOTICIAS>....... 

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread