W3C home > Mailing lists > Public > public-ws-chor@w3.org > January 2005

Re: Contribution on Lists and Arrays

From: Gary Brown <gary@enigmatec.net>
Date: Mon, 31 Jan 2005 14:34:14 -0000
Message-ID: <005301c507a1$f410d4c0$0300a8c0@LATTITUDEGary>
To: "Tony Fletcher" <tony_fletcher@btopenworld.com>, <public-ws-chor-comments@w3.org>, <public-ws-chor@w3.org>
MessageHi Tony,

Good summary.

As a concrete example, I think it would be useful to show how repetition through an arbitrary list would be achieved in CDL. For example,

<workunit condition="cdl:getVariable('counter','','') < count(listA/listItem)" repeat="true" >
            <source expression="listA/listItem[cdl:getVariable('counter','','')]" />
            <target variable="cdl:getVariable('item','','')" />
    <!-- Do some actions on the 'item' -->
            <source expression="cdl:getVariable('counter','','')+1" />
            <target variable="cdl:getVariable('counter','','')" />

This could possibly be simplified by a specific list iterator construct? Although I suppose a GUI tool could equally hide this common pattern.

  ----- Original Message ----- 
  From: Tony Fletcher 
  To: public-ws-chor-comments@w3.org ; public-ws-chor@w3.org 
  Sent: Monday, January 31, 2005 1:05 PM
  Subject: Contribution on Lists and Arrays

  Dear Colleagues,

  Please find attached a contribution from myself on adding informative material on lists and arrays into the WS-Choreography specification and primer.  These could be useful when trying to deal with numbers of instances of things.
  Best Regards,


       Tony Fletcher

        Technical Advisor 
        Choreology Ltd.
        68, Lombard Street, London EC3V 9L J   UK
       +44 (0) 1473 729537
       +44 (0) 7801 948219
       +44 (0) 870 7390077
        Business transaction management software for application coordination

        Work: tony.fletcher@choreology.com 
        Home: amfletcher@iee.org

(image/gif attachment: image002.gif)

Received on Monday, 31 January 2005 14:34:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:06 UTC