W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2009

how to get the name of a document?

From: Maxime Bégnis <maxime@neodoc.biz>
Date: Wed, 01 Apr 2009 14:03:00 +0200
Message-ID: <49D357F4.3060502@neodoc.biz>
To: xproc-dev@w3.org

Considering this pipeline:

||<p:declare-step name="main" xmlns:p="http://www.w3.org/ns/xproc">

  <p:input port="source" primary="true"/>

  <p:input port="style" primary="false"/>

  <p:xinclude name="included">
    <p:input port="source">
      <p:pipe step="main" port="source"/>

  <p:xslt name="xslt">
    <p:input port="parameters">
    <p:input port="source">
      <p:pipe step="included" port="result"/>
    <p:input port="stylesheet">
      <p:pipe step="main" port="style"/>

      <p:pipe step="xslt" port="secondary"/>
      <p:with-option name="href" select="?"/>


the stylesheet outputs several documents using 'xsl:result-document' and
I would like to store them with the name given in the "href" attribute
of 'xsl:result-document'. Does anyone knows if there is a way to get
back this attribute?


Maxime Bégnis
Received on Monday, 6 April 2009 09:21:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC