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 />
  </p:input>
</p:exec>

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,***)" />
</p:load>

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,
Raghu.

--
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.3.1 : Monday, 15 October 2018 02:26:07 UTC