Subject: Re: Making Two Variables In To One
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 27 Jun 2008 16:08:24 +0100
|
2008/6/27 Ronnie Royston <rhroyston@xxxxxxxxx>:
> <xsl:variable name="seq1" select="'one','two'" />
> <xsl:variable name="seq2" select="'three','four'" />
>
> I need to output a new variable named "seq3" containing "one" "two"
> "three" "four".
It's as you might expect:
<xsl:variable name="seq3" select="$seq1, $seq2" as="xs:string+"/>
A sequence of sequences always gets flattened to a single sequence...
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
|