W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > August 2007

Re: a component with * inputs

From: Innovimax SARL <innovimax@gmail.com>
Date: Wed, 1 Aug 2007 18:46:51 +0200
Message-ID: <546c6c1c0708010946u753e4580g4b113e0740768c9b@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

On 8/1/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / "Innovimax SARL" <innovimax@gmail.com> was heard to say:
> | 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>
>
> Ah, ok.
>
> |> And what's the value again?
> |
> | being able to give it to a for-each to simulate a p:equal-sequence
>
> And why not just iterate over the first sequence, using the
> p:iteration-count to exract the right element out of the other
> sequence?

It is not efficient at all !!

>
> Is this really a common use case?

Well, equal-sequence is the most obvious one

The other one is when you have two flows of left pages and right pages
and what to merge them

More generally when you need to manipulate multiple flows you will use
something like this

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 16:46:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT