Re: own defined step and xml:base "inheritance"

On 16 December 2013 17:29, RICAUD-DUSSARGET Matthieu wrote:

> Seems like static-base-uri() is always empty, equal where I call it from.

  Weird.  The following pipeline outputs correctly a <uri> element
with the URI of the pipeline document.  How do you run your pipeline?

    <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
       <p:template>
          <p:with-param name="uri" select="static-base-uri()"/>
          <p:input port="template">
             <p:inline>
                <uri>{ $uri }</uri>
             </p:inline>
          </p:input>
       </p:template>
    </p:pipeline>

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

Received on Monday, 16 December 2013 20:00:55 UTC