On Wed, Mar 25, 2009 at 05:26, Wei Tan <[email protected]> wrote:
> What I need is to give a list of names, i.e,
> <name>Tom<name>...<name>Jerry<name>.
> I know for a single name it is simple, I can just give "Tom" as the
> input of the xmlsplitter (and the xmlsplitter wraps it into
> <name>tom</name>), but what is the syntax if I want to feed the whole list?
Return a list.
names = new ArrayList();
names.add("Tom");
names.add("Jerry");
Remember to set the depth of the output port - in Taverna 2 this is
depth 1, in Taverna 1 it's "a List of Strings". Note that in this
dialogue in Taverna 1 there's a bug in changing the "a" to "a List of"
in that it sometimes reverts back to the old value (as there's no OK
button).
- one trick I've used, as this seems related to the focus, is to
afterwards add an additional output port that I then delete.. a bit
silly, but..
--
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq