RE: XSL and HTML Table
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 >
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format