[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: creating a string of repeated characters or Paddin

Subject: Re: creating a string of repeated characters or Padding
From: "Kurt Cagle" <cagle@xxxxxxxxx>
Date: Thu, 16 Aug 2001 11:41:17 -0700
Re:  creating a string of repeated characters or Paddin
>Thanks. Though I must admit I'm not clear on how to call the pad template
in
>my stylesheet.

Chris,

Sorry, you'd call it as a named template:

<xsl:call-template name="pad">
    <xsl:with-param name="padChar" select=" '@' "/> <!-- this is the
character to use to pad.  -->
    <xsl:with-param name="padCount" select="25"/> <!-- this is the number of
characters to generate -->
</xsl:call-template>

Unfortunately, unless you're using the EXSLT classes, there are very few
ways that you can invoke a pad() function directly. I'm trying to figure out
a way to invoke these in the MSXML parser, though I need to check back with
EXSLT to see if I might not have been missing something myself.

-- Kurt


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.