W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2018

Usage of p:exec or pos:cwd output

From: N. Raghavendra <nyraghu27132@gmail.com>
Date: Sun, 14 Oct 2018 10:17:25 +0530
To: xproc-dev@w3.org
Message-ID: <87efctnnhe.fsf@gmail.com>
I am trying to use XML Calabash for processing my XML documents.  I
would like to use the output of a p:exec step in another step.  For
instance, specify a step like

<p:exec name="exec" command="/bin/pwd" cwd="/" result-is-xml="false">
  <p:input port="source">
    <p:empty />

and then use its output in the place of *** below:

<p:load name="source">
  <p:with-option name="href"
    select="resolve-uri($source-base-name,***)" />

Write now I am using exf:cwd() for ***, but I would like to know if it
is possible to use p:exec for this.

Also, is it possible to use pos:cwd to fill in ***?

Thanks and regards,

N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
Received on Monday, 15 October 2018 02:26:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:37 UTC