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 17:59:06 +0200
Message-ID: <546c6c1c0708010859u190f38edj948a189e9d2f6e2f@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:
> | 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 GMT

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