Re: a component with * inputs

On 8/1/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / "Innovimax SARL" <innovimax@gmail.com> was heard to say:
> | With say 3 sequence as input
>
> Sorry, I'm just back from vacation so perhaps I'm a little slow.
>
> Here's sequence 1:
>
> <doc><a/></doc>
> <doc><b/></doc>
> <doc><c/></doc>
>
> Here's sequence 2:
>
> <doc><A/></doc>
> <doc><B/></doc>
> <doc><C/></doc>
>
> Here's sequence 3:
>
> <alpha/>
> <beta/>
> <gamma/>
>
> What's the call and what's the output?

you give a wrapper (as p:wrap does)

say "wrapper"

and the result is

<wrapper><doc><a/></doc><doc><A/></doc><alpha/></wrapper>
<wrapper><doc><b/></doc><doc><B/></doc><beta/></wrapper>
<wrapper><doc><c/></doc><doc><C/></doc><gamma/></wrapper>


>
> And what's the value again?

being able to give it to a for-each to simulate a p:equal-sequence

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 1 August 2007 15:59:08 UTC