This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
No Subject
- To: XSL-List at lists dot mulberrytech dot com
- From: ericmacau at china dot com
- Date: Wed, 28 Mar 2001 14:59:34 +0800 (CST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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