[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
html table tag training
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).


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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.