[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Variable select="concat()" not loading variable.

Subject: Variable select="concat()" not loading variable.
From: "Simon Kelly" <kelly@xxxxxxxxxx>
Date: Thu, 24 Apr 2003 10:21:03 +0200
xsl select concat
Hi all,

I am trying to concatinate a collection of text() strings (see xsl below)
however the variable (timestamps)  is not being filled with any data.  Could
someone tell me why?  The total number of timestamps to be concatinated is
10,000.

Kind regards

Simon


[code]
<!--
<xsl:for-each select="ROW/TIMESTAMP">
    <xsl:if test="position() = 1">
        <xsl:element name="starttime"><xsl:value-of select="."
/></xsl:element>
    </xsl:if>
    <xsl:if test="position() = last()">
        <xsl:element name="endtime"><xsl:value-of select="."
/></xsl:element>
    </xsl:if>

    <xsl:variable name="timestamps" select="concat($timestamps, ./text())"
/>

    <xsl:if test="position() != last()">
        <xsl:variable name="timestamps" select="concat($timestamps, $delim)"
/>
    </xsl:if>
 </xsl:for-each>
-->

"Make it idiot proof, and someone
 will make a better idiot" - Anon

Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : kelly@xxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.