|
Subject: Add n number of characters to Element text From: Ross Cormier <merex@xxxxxxxx> Date: Wed, 17 May 2000 12:30:35 -0500 |
VB had a function for this called String(char, n).
Called like this, String("0", 2) would return "00"
I am not sure what the Java analog is.For Example: <FOO>1</FOO> ===>>> <FOO>01</FOO> <FOO>2</FOO> ===>>> <FOO>02</FOO> <FOO>10</FOO> ===>>> <FOO>10</FOO>
Could I do something like this
<xsl:template match="FOO">
string("0", 2-length(<xsl:value-of select="."/>))<xsl:value-of select="."/>
</xsl:template>Ross Cormier Structure Consulting Group L.L.C 225-772-4973
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Another question on ÄäÖöÜü, Eric van der Vlist | Thread | Re: Add n number of characters to E, David Carlisle |
| Another question on ÄäÖöÜü, Beckers, Marc | Date | Re: Another question on ÄäÖöÜü, David Carlisle |
| Month |