On 8 April 2010 10:43, Dave Pawson <davep(_at_)dpawson(_dot_)co(_dot_)uk> wrote:
On Thu, 8 Apr 2010 10:33:38 +0100
Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
xml source of the form
<skillarea targets="data|general">
That ought to be changed to:
<skillarea>
<targets>
<target>data</target>
<target>general</target>
Can't do that on the command line for the params though Andrew?
Still leaves one side with a string...
Sure, but that's "the right way" to represent that in XML, then you
can just pass in your delimited parameter and do:
select="skillarea[targets/target = $targets]"
where $targets is a top level variable created when you tokenize the
param into a sequence of items.
--
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>
--~--