W3C home > Mailing lists > Public > xproc-dev@w3.org > March 2011

Re: Dynamically setting the text of an added element in a pipeline . . ?

From: Alex Muir <alex.g.muir@gmail.com>
Date: Thu, 10 Mar 2011 09:47:58 +0000
Message-ID: <AANLkTik1cU1UhRSDMK3htxS=MAEV+9_tPDt1VKh6obrJ@mail.gmail.com>
To: vojtech.toman@emc.com
Cc: xproc-dev@w3.org
Hi,


 Just a general question. When UploadInGroups, the name of the for-loop is
the source pipe for the p:insert within the for-loop what is this doing?


       <p:input port="source">

        <p:pipe step=” UploadInGroups” port=”current”/>

      </p:input>



-----------

<p:for-each name="UploadInGroups">

  <p:template name=”create-field”>

    <p:input port="template">

      <p:inline>

        <field name="iterationCount">$pos</field>

      </p:inline>

   </p:input>

    <p:with-param name=”pos” select=”p:iteration-position()”/>

  </p:template>

  <p:insert position="last-child" match="/add/doc" name="insertCounter">

      <p:input port="source">

        <p:pipe step=” UploadInGroups” port=”current”/>

      </p:input>

      <p:input port="insertion">

        <p:pipe step=”create-field” port=”result”/>

      </p:input>

    </p:insert>

    . . .

</p:for-each>




 Regards

Alex
Received on Thursday, 10 March 2011 09:48:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 March 2011 09:48:33 GMT