- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Fri, 23 Mar 2007 13:26:28 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87ircrkh17.fsf@nwalsh.com>
/ 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> Be seeing you, norm -- Norman Walsh XML Standards Architect Sun Microsystems, Inc.
Received on Friday, 23 March 2007 17:26:43 UTC