|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: creating a string of repeated charactors
----- Original Message ----- From: "Tim Watts" <timw@xxxxxxx> To: "XSL Mailing List (E-mail)" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, July 16, 2001 5:10 AM Subject: creating a string of repeated charactors > I'm sure this must be a simple command, but how would something like a > string of 8 charactors be output in XSLT. hello tim, there are many ways of doing this, try looking at the exslt.org link below http://www.exslt.org/str/functions/padding/index.html here is the link to the xslt template u may use http://www.exslt.org/str/functions/padding/str.padding.template.xsl u can directly use this individual template by either cutting and pasting or xsl:import ( u have to remember to either use the correct namespace if importing ). there also may be some function defined with Steve Ball's XSLT Standard Library effort http://xsltsl.sourceforge.net/ cheers, jim fuller > > In ASP it might look something like > String(8 - Len(num), "*") > > Thanks > Tim :) > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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
|

Cart








