This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:


----- Original Message -----
From: <ericmacau@china.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Wednesday, March 28, 2001 12:59 AM


> If I want the output method as TEXT. How to define the XSL so that the
ouput result as following ?
>
> 123456789012345678901234567890
> ---------|---------|---------|-----------
> Pen 1.25
> Pencil 0.50
> Bag 12.38
> ---------|---------|---------|-----------
> 123456789012345678901234567890
>
>
> The <name> is left alignment, and the price is right alignment.
> Both node's length is specify. The output length of <name> is 10, and the
<price>'s is 8.

Based upon your description, shouldn't your example look lie this?...

   123456789012345678901234567890
   ---------|---------|---------|-----------
   Pen           1.25
   Pencil        0.50
   Bag          12.38
   ---------|---------|---------|-----------
   123456789012345678901234567890


Right?

I would also like to see how to 'PAD' the result.

I know how to do this in JS, but not sure in XSLT.

Walter



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]