EXSLT - str:padding - Use Case 1

Category: example
XML Definition: str.padding.xml
Function or Template: function

Use Case

Source (view)

<a>
   <c>Is this EXSLT? No. no</c>
</a>

Stylesheet (view)

<xsl:template match="a">
   <xsl:apply-templates />
</xsl:template>
<xsl:template match="*">
   <xsl:value-of select="str:padding(20, '---4567----23----890----------')" />
   <xsl:value-of select="." />
   <xsl:value-of select="str:padding(10, '+-+')" />
   <xsl:apply-templates select="*" />
</xsl:template>

Change History

Previous Version: ..NaN.html

VersionModifiedByDetails
2001-06-26Chris Bayes

http://www.exslt.org/str/functions/padding/str.padding.use-case.1.html last modified 2001-06-26