[xsl] Re:

Subject: [xsl] Re:
From: "Walter Torres" <walter@xxxxxxxxx>
Date: Wed, 28 Mar 2001 09:38:31 -0600
----- Original Message -----
From: <ericmacau@xxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread