- From: Erik Siegel <erik@xatapult.nl>
- Date: Tue, 5 May 2020 19:13:41 +0200
- To: "'Christophe Marchand'" <cmarchand@oxiane.com>, <xproc-dev@w3.org>
Received on Tuesday, 5 May 2020 17:14:02 UTC
Hi Christophe, I’m sorry, but that would be stretching things a bit too far. No, what you want is not possible. However, in the example you’re giving you could just write message=” Transforming {base-uri(.)}" (since you’re asking for the base-uri of the Default Readable Port (DRP)) Erik Siegel From: Christophe Marchand <cmarchand@oxiane.com> Sent: Tuesday, 5 May 2020 15:23 To: xproc-dev@w3.org Subject: [XProc 3 port@pipeline] Usage of such a shortcut Hello ! I can use, on a p:with-input, a shortcut to design a pipe's port : <p:with-input name="..." pipe="port@named-pipeline"/> But, am I allowed to use this syntax on any XPath expression ? For example, may I write this : <p:declare-step name="named-pipe"> <p:input port="source" primary="true"/> <p:output port="result" primary="true"/> <p:xslt message="Transforming {base-uri(source@named-pipe)}"> <p:with-input port="stylesheet" href="../xsl/identity.xsl"/> </p:xslt> </p:declare-step> Or, if I can't, is there an XSPec XPath extension function that returns the content of port@named-pipe ? Thanks in advance, Christophe
Received on Tuesday, 5 May 2020 17:14:02 UTC