W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

RE: Refer to current node in p:for-each

From: <Toman_Vojtech@emc.com>
Date: Tue, 21 Jul 2009 10:17:33 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC787103ED6B9@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
Inside p:for-each, you can use the "current" implicit input port for
exactly this purpose. The same goes for p:viewport.

<p:for-each name="loop">
  <p:iteration-source select="//book"/>


    <p:input port="source">
      <p:pipe step="loop" port="current"/>

Received on Tuesday, 21 July 2009 14:18:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 July 2009 14:18:33 GMT