W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2003

help with xsl

From: (wrong string) án Sánchez <zoso_86@hotmail.com>
Date: Sat, 11 Oct 2003 15:51:54 +0000
To: www-xsl-fo@w3.org
Message-ID: <BAY10-F92hs8v4gBlkV00005e18@hotmail.com>

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

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

		<autor>Carlos Fuentes</autor>

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="/">
<table border ="3">
<xsl:for-each select="libros/libro">
<li><xsl:value-of select="titulo"/></li><br/>
<li><xsl:value-of select="autor"/></li>

what needs to be fix to be ok?


The new MSN 8: smart spam protection and 2 months FREE*  
Received on Saturday, 11 October 2003 11:57:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:28 UTC