Subject: RE: [xsl] Ho do you format arbitrary data into tables? From: "Greg Johnson" <gjohnson@xxxxxxxxxxxx> Date: Mon, 21 Jul 2003 13:34:45 -0400 |
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@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David Carlisle Sent: Monday, July 21, 2003 12:27 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Ho do you format arbitrar, David Carlisle | Thread | Re: [xsl] Ho do you format arbitrar, David Carlisle |
[xsl] Namespaces abort the nodematc, Kai Lienemann | Date | [xsl] Re: need help with MAX and MI, Dimitre Novatchev |
Month |