|
Subject: Re: [xsl] how to append a "," to the end of number From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 26 Aug 2002 18:46:15 -0400 |
<input type="hidden" name="NightlyRates">
<xsl:attribute name="value">
<xsl:for-each select="NightlyRates">
<xsl:if test="position() > 1">
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:value-of select=".">
</xsl:for-each>
</xsl:attribute>
</input>Cheers, Wendell
I have this problem, I have an unknown number of prices that will be separated with a comma. I need to know if it is possible to do this in my xsl.
<input type="hidden" name="NightlyRates"> <xsl:attribute name="value"><xsl:value-of select="NightlyRates"/></xsl:attribute> </input>
This is my problem here. NightlyRates will have 1-M occurrences and it needs to be formatted like this. 54.95, 65.95 and so on.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] how to append a "," to the en, Mac Rost | Thread | Re: [xsl] how to append a "," to th, Noel Golding |
| [xsl] selecting boolean from a choo, Richard von Keyserli | Date | RE: [xsl] how to append a "," to th, Mac Rost |
| Month |