help with xsl

i would appreciate alot if you help me..
well i have the xml that is this

<?xml version="1.0"?>
<libros>
	<libro>
		<titulo>Cien anos de soledad</titulo>
		<autor>Gabriel Garcia Marquez</autor>
		<editorial>Mc Graw Hill</editorial>
		<clasificacion>novela</clasificacion>
	</libro>

	<libro>
		<titulo>Aura</titulo>
		<autor>Carlos Fuentes</autor>
		<editorial>Era</editorial>
		<clasificacion>novela</clasificacion>
	</libro>
</libros>

the dtd file is this...

<!ELEMENT libros (libro+)>
<!ELEMENT libro (titulo+, autor+, editorial+, clasificacion+)>
<!ELEMENT titulo (#PCDATA)>
<!ELEMENT autor (#PCDATA)>
<!ELEMENT editorial (#PCDATA)>
<!ELEMENT clasificacion (#PCDATA)>

and I have a problem with the xsl...dunno what is... anyway i want to do a 
table ...

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<head>
<title>libros</title>
</head>
<body>
<table border ="3">
<xsl:for-each select="libros/libro">
<ul>
<li><xsl:value-of select="titulo"/></li><br/>
<li><xsl:value-of select="autor"/></li>
<li><&nbsp></li>
</ul>
</xsl:for-each>

what needs to be fix to be ok?

thanks

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

Received on Saturday, 11 October 2003 11:57:42 UTC