on 09-27-2006 5:08 PM
Hi guys,
A quick dumb question for you. I've been looking for the answer for a while but am no expert in using XSL/XSLT programming.
One of my XI mapping XSLTs has the following code snippet:
<xsl:value-of select="substring(./IDTNR,12,7)"/>
<xsl:value-of select="substring($spaces,1,11)"/>
<b><xsl:value-of select="format-number(../MENGE, integer)"/></b>
<xsl:value-of select="substring($spaces,1,8)"/>
The quantity field in bold (MENGE) needs to be right-aligned in the resulting file. How do I do this?
Many thanks,
Stuart Richards
HI,
Have look into this for format number-
http://www.w3schools.com/xsl/func_formatnumber.asp
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you want leading zero's in the quantity field, if so it can be archived by this way.
<xsl:value-of select="format-number(../MENGE, 0000000000000)"/>
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.