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

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

From: Christopher.R.Ball <christopher.r.ball@gmail.com>
Date: Wed, 09 Mar 2011 22:04:03 -0500
Message-ID: <4D783FA3.50308@gmail.com>
To: XProc Dev <xproc-dev@w3.org>

Am I missing something . . . or is it not possible to dynamically set 
the /text()/ of an element in a pipeline (in xproc without having to 
jump out to P:XSTL or P:XQUERY)?

Something to the effect of:

    <p:for-each name="UploadInGroups">
    <p:insert position="last-child" match="/add/doc" name="insertCounter">
    <p:input port="insertion">
    <p:inline>
    <field name="iterationCount">*p:iteration-position()*</field>
    </p:inline>
    </p:input>
    </p:insert>

         . . .

    </p:for-each>

Most grateful,

Christopher
Received on Thursday, 10 March 2011 03:04:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 March 2011 03:04:43 GMT