simplest way to get the URI of the current pipeline into a variable?

I noticed that I can use p:in-scope-names to generate a document whose base URi is that of the containing pipeline, so is the easiest way,

<p:in-scope-names name="in-scope-names" />
<p:variable name="pipeline-uri" select="base-uri(/)">
  <p:pipe step="in-scope-names" port="result" />


Liam Quin - XML Activity Lead, W3C,
Pictures from old books:

Received on Sunday, 7 December 2014 00:57:45 UTC