This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re:
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Re:
- From: "Walter Torres" <walter at torres dot ws>
- Date: Wed, 28 Mar 2001 09:38:31 -0600
- References: <GN989671854065.12723@mail0.china.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
----- 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