xsl-list
[Top] [All Lists]

RE: Ho do you format arbitrary data into tables?

2003-07-21 10:34:45
yeah, I'm still pretty new, but I thought I would venture an effort to
contribute to the list.
your sol'n was nicer, though.  I might stick to reading.

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
David
Carlisle
Sent: Monday, July 21, 2003 12:27 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Ho do you format arbitrary data into tables?



use the position() mod 3 syntax with an <xsl:choose> block.

thus:

<xsl:when test="posion() mod 3 = 0">, then output the start tag, and
<xsl:when test="position mod 3 = 2">, then output the end tag.

G



It would be difficult to do that and be well formed XML......

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list