Re: Here's a tricky one

/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| Nothing
| $p:episode is available in all the pipeline !
| so it will replace the content of attribute episode with the content
| of $p:episode which stable through the execution of the pipeline

Yeah, that's the plan. Let's put it in a little more context.

Assuming that $p:episode is "7ffa7ffa" when this pipeline is executed,
what is the output?

<p:pipeline name="pipeline" xmlns:p="http://www.w3.org/2007/03/xproc">
<p:output port="result"/>

<p:string-replace>
  <p:input port="source">
    <p:inline>
      <doc episode="foo"/>
    </p:inline>
  </p:input>
  <p:option name="match" value="@episode"/>
  <p:option name="replace" select="$p:episode"/>
</p:string-replace>

</p:pipeline>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | It is a general error to imagine the
http://nwalsh.com/            | loudest complainers for the public to
                              | be the most anxious for its
                              | welfare.--Edmund Burke, 1769

Received on Friday, 11 May 2007 15:36:58 UTC