W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2015

Re: Simple way to produce a message?

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 02 Sep 2015 08:05:16 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <87twrdvunn.fsf@nwalsh.com>
Strasser Pablo <strasserpablo@bluewin.ch> writes:
> In addition to the other answer, the followings methods can be useful:
> - Using the store step to store the complete input of a step or it's output and use the identity step to recreate the input, output as needed.

A shortcut for this purpose is often p:log,

  <ex:some-step-type ...>
    <p:log port="result" href="/tmp/some-step-type.xml"/>
  </ex:some-step-type>

You can name any output port of some-step-type and send its output to
a file.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Wednesday, 2 September 2015 13:05:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 September 2015 13:05:49 UTC