xsl-list
[Top] [All Lists]

Re: [xsl] Making Two Variables In To One

2008-06-27 08:08:46
2008/6/27 Ronnie Royston <rhroyston(_at_)gmail(_dot_)com>:
<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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>