[no subject]

From: ericmacau@xxxxxxxxx
Date: Wed, 28 Mar 2001 14:59:34 +0800 (CST)
 Hello,

Is it possible to define the Alignment of a Text/Number in XSLT ?

For example,
<item>
<name>Pen</name>
<price>1.25</price>
</item>
<item>
<name>Pencil</name>
<price>0.5</price>
</item>
<item>
<name>Bag</name>
<price>12.38</price>
</item>

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.

Would you please to teach me how to do that ?

Best regards,
Eric

************************************
×îÐÂÍƳö¡°ÖлªµØͼ¡±
http://map.china.com


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


Current Thread