W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > March 2009

Reading p:log output

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 10 Mar 2009 07:56:43 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2zlft8ubo.fsf@nwalsh.com>
Consider this pipeline[1]:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:br="http://example.org/br/"
                name="main">

   <p:input port="source">
     <p:inline>
       <br:someDocument>
	 <br:someContent/>
       </br:someDocument>
     </p:inline>
   </p:input>

   <p:output port="result">
     <p:pipe step="lastStep" port="result"/>
   </p:output>

    <p:identity>
      <p:log port="result" href="malformedLogOutput.xml"/>
    </p:identity>

    <p:identity name="lastStep">
      <p:input port="source">
        <p:document href="malformedLogOutput.xml"/>
      </p:input>
    </p:identity>

</p:declare-step>

Whether this works or not is, at best, implementation dependent, I
think. Do we want to say anything more about it?


                                        Be seeing you,
                                          norm

[1] http://code.google.com/p/xmlcalabash/issues/detail?id=40

-- 
Norman Walsh <ndw@nwalsh.com> | The last act is bloody, however fine
http://nwalsh.com/            | the rest of the play. They throw earth
                              | over your head and it is finished for
                              | ever.-- Pascal

Received on Tuesday, 10 March 2009 11:57:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 10 March 2009 11:57:29 GMT