RE: Storing a document mid sequence. Can it be done?

Absolutely:

 

...

<p:identity name="before-store"/>

 

<p:store href="..."/>

 

<p:identity name="after-store"/>

  <p:input port="source">

    <p:pipe step="before-store" port="result"/>

  </p:input>

</p:identity>

...

 

 

Regards,

Vojtech

 

 

From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On
Behalf Of Alex Muir
Sent: Thursday, March 04, 2010 2:49 PM
To: XProc Dev
Subject: Storing a document mid sequence. Can it be done?

 

Hi,

I was reading a post here 

http://markmail.org/search/?q=list%3Axproc-dev+p%3Astore#query:list%3Axp
roc-dev%20p%3Astore+page:1+mid:xzoj5hpzbz5jt2k2+state:results

That stated:

"If you stick a p:store in the middle of a sequence, odds are good you
aren't going to get the result you expected. So by making the output
port not-primary, the pipeline author is forced to be explicit about the
bindings desired." 

Is there a way to save a copy of what the current document looks like
mid sequence and continue processing? 

Regards
-- 
Alex
https://sites.google.com/a/utg.edu.gm/alex

Some Good Music
http://sites.google.com/site/greigconteh/

Received on Thursday, 4 March 2010 13:54:26 UTC