Modules | Version: 1 Function Syntaxstring str:padding(number, string?) Template Syntax<xsl:call-template name="str:padding"> <xsl:with-param name="length" select="number" /> <xsl:with-param name="chars" select="string" />? </xsl:call-template>
The The first argument gives the length of the padding string to be created.
The second argument gives a string to be used to create the padding. This string is repeated as many times as is necessary to create a string of the length specified by the first argument; if the string is more than a character long, it may have to be truncated to produce the required length. If no second argument is specified, it defaults to a space ( An implementation of this extension function in the EXSLT str namespace must conform to the behaviour described in this document. Implementations
Built-in support for
The following implementations of
Use CasesUse Case Package: str.padding.use-cases.zip
The following use cases illustrate the functionality of
Change HistorySubmitted: 2001-06-08
|
http://www.exslt.org/str/functions/padding/str.padding.1.html last modified 2002-11-12