Re: Initialize a variable with a parameter port

Florent Georges <fgeorges@fgeorges.org> writes:
> On 22 November 2011 07:44, Geert Josten wrote:
>
>> About sequence input: if you use the ut:parameters within a
>> declare-step that has non-sequence primary input, ut:parameters
>> will receive just a single doc and pass that through
>> identically.
>
>   Yes sure, for the input.  But I thought about the output.
> I thought you couldn't connect a sequence output port to a single
> document input port.  But it seems I was misled somehow...

You can form the connection, but it's a dynamic error if the output port
doesn't produce exactly one document.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

Received on Friday, 25 November 2011 14:51:32 UTC