Re: Standard components

On 3/23/07, Norman Walsh <Norman.Walsh@sun.com> wrote:
> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> | On 3/22/07, Jeni Tennison <jeni@jenitennison.com> wrote:
> |>
> |> I think that we need to include document-sequence manipulation
> |> components in the standard component library. In particular, we need
> |> p:count (to return the number of documents in a sequence, in an
> |> appropriate wrapper) and p:subsequence (to return the subsequence of a
> |> sequence of documents with a particular start and length). These should
> |> be defined in the same way as count() and subsequence() from XPath 2.0.
> |
> | Ok for p:subsequence
> | But how do you pass the value of p:count to a parameter/option for example ?
> | (But, I can indeed, see how to pass it to a test in a choose, for example !)
>
> Just with options, I think:
>
> <p:subsequence>
>   <p:option name="count" value="3"/>
>   <p:option name="length" value="2"/>
> </p:subsequence>


I'm confused !

What is this supposed to do ?

Mohamed
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Walsh
> XML Standards Architect
> Sun Microsystems, Inc.
>
>


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

Received on Friday, 23 March 2007 19:31:48 UTC