[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Newbie Question: Building Variables Based on Multiple Elemen
Is there a way for me to build upon a variable string based on multiple elements of the same name? For example: foo.xml <element>word1</element> <element>word2</element> <element>word3</element> ... <element>wordn</element> I would like to create a variable called {$elements} that would contain the value of "word1 word2 word3 ... wordn" without having to hard code a concat() function like: <xsl:variable name="elements" select="concat(//element[1],' ', element[2],' ',element[3],' ',...,' ',element[n])"/> Can this be done? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|