[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [no subject]
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|