xsl-list
[Top] [All Lists]

RE: Fixed Line Length Output

2003-12-08 20:22:58
Hi Ali,
  I feel, Dimitre Novatchev's FXSL library should be
of great help ;) The url is --
http://fxsl.sourceforge.net

Regards,
Mukul

--- Ali Afif Mutlu <ali(_dot_)mutlu(_at_)32bit(_dot_)com(_dot_)tr> wrote:
Hi,

can you please explain the sentence --
*I want to regroup my items into fixed length of
lines*

Assume that the following list is the veteran tenis
players of our club

<item>Andre Agassi</item>
<item>Boris Becker</item>
<item>Pat Cash</item>
<item>John McEnroe</item>
<item>Jimmy Connors</item>
<item>Stephan Edberg</item>
<item>Ivan Lendle</item>

I want to display these names on a board where I can
fit only 25
characters on a roe, so on my board 
The list should be as follows (I am not allowed to
split first names and
last names)

Andre Agassi,Boris Becker
Pat Cash,John McEnroe,Jimmy Connors
Stephan Edberg,Ivan Lendle

I hope , I am clear now

Thank-you
Ali


Somebody can hopefully solve the problem ;)

Also kindly explain, how this o/p has to come ;)
What
should be the desired logic

<line>Len_5 Len_5 Length_8</line>
<line>Length__9 Length__10</line>
<line>Len__6 L_3 Le_4 L_3 </line>

Regards,
Mukul

--- Ali Afif Mutlu <ali(_dot_)mutlu(_at_)32bit(_dot_)com(_dot_)tr> wrote:
Hi ,

Given the following xml fragment

<item>Len_5</item>
<item>Len_5</item>
<item>Length_8</item>
<item>Length__9</item>
<item>Length__10</item>
<item>Len__6</item>
<item>L_3</item>
<item>Le_4</item>
<item>L_3</item>
..

I want to create the following output

<line>Len_5 Len_5 Length_8</line>
<line>Length__9 Length__10</line>
<line>Len__6 L_3 Le_4 L_3 </line>

I other words , I want to regroup my items into
fixed length of lines.

Thank you for your help
Ali Mutlu

---- 32bit Bilgisayar virus ilave dip not
---------
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their
support.
Virus checker used : clamav



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



__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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


---- 32bit Bilgisayar virus ilave dip not ---------
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their
support.
Virus checker used : clamav




---- 32bit Bilgisayar virus ilave dip not ---------
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their
support.
Virus checker used : clamav



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



__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



<Prev in Thread] Current Thread [Next in Thread>