RE: XSL and HTML Table

Subject: RE: XSL and HTML Table
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Thu, 9 Sep 1999 16:23:08 +0100
Try this. I'm not sure it is what you are looking for, but it looks like
it... I have agree with Chris, though - you need to re-think your XML
structure. I've done two things to the XSL:

1) Moved the <TR> tags outside the <xsl:for-each> loops.
2) I have maintained the selection based on the "pos" attribute (though I
changed it to <xsl:if> format):

<xsl:if test="AUTHORS[@pos = 'zero' $or$ @pos = 'uno']">

though you don't really need it for the supplied XML. I would change it to:

<xsl:if test="AUTHORS">

to make it more extensible (ie. if you have more that those two authors, you
don't need to change the XSL).

Rgs,

Ben Robb
cScape Ltd



> -----Original Message-----
> From: Gianluca Legittimo [mailto:g_legittimo@xxxxxxxxxxx]
> Sent: 09 September 1999 14:31
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: XSL and HTML Table
> 
> 
> I've tried to put <Table> tag before <xsl-for-each> tag but 
> the problem 
> persists.
> here are the file (.xml , .xsl) i'm trying to display in IE5.
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 

Attachment: XMLprova4.xsl
Description: Binary data

Current Thread