Re: AW: [xsl] simple conditional looping

Subject: Re: AW: [xsl] simple conditional looping
From: "Keyur K" <kkeyur@xxxxxxxxxxx>
Date: Tue, 17 Aug 2004 10:34:31 +0000
hello,

mulberrytech list rocks. this xsl list is really the best place for xsl learners.

thank you everybody for helping out on this issue.
I was able to produce the desired output using the 'Piez' method.

xptm, fyi i wanted to display atleast 50 rows, but if the count(orders) is > 50 then display all the rows.

regards,
keyur

From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: AW: [xsl] simple conditional looping
Date: Mon, 16 Aug 2004 13:32:29 -0400

Hi xptm,

At 01:12 PM 8/16/2004, you wrote:
I mean, i'm assuming Keyur want no more and no less than 50 lines per page, and
maybe it's not the case...


> > > >In my printer friendly stylesheet I need to display minimum 50 lines.

If there can be 50+ lines, than your solution is 100% ok...

I can't find the post now, but IIRC the OP's requirement was to fill in up to fifty if there were less than fifty (but he may not have said what to do if there were more).


In any case, we know how to limit it to fifty: select="order[position() &lt;= 50]"

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread