W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2010

calabash / xsl:result-document

From: Hans-Juergen Rennau <rennau@bits-ac.com>
Date: Thu, 02 Dec 2010 09:24:48 +0100
Message-ID: <4CF757D0.1000606@bits-ac.com>
To: XProc Dev <xproc-dev@w3.org>
Hello People,

using calabash-0.9.24, I have problems with using xsl:result-document in 
<p:xslt>. I do not manage to get any output - the step behaves as if the 
xsl:result-document did not exist.

I experimented with using/not using the option 'output-base-uri', as 
well as relative and absolute URIs - all without avail.

Is it a bug, or is there a reason I miss? Below a simple test example.

Thanks,
-- Hans-Juergen

<p:pipeline version="1.0" xmlns:p="http://www.w3.org/ns/xproc"
            xmlns:c="http://www.w3.org/ns/xproc-step">

   <p:xslt name="tryResultDocument" version="2.0">
   <!-- 
output-base-uri="file:/usr/db/dyn/amis/bits/OnlAen/correction-201111/"> -->

          <p:input port="source"><p:inline><hello/></p:inline></p:input>

          <p:input port="stylesheet">
             <p:inline>

<xsl:stylesheet version="2.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:template match="/">
      <xsl:result-document href="zzz.xml">
         <whyyynot>That is my question.</whyyynot>
      </xsl:result-document>
      <xsl:copy-of select="."/>
   </xsl:template>
</xsl:stylesheet>

                 </p:inline>
          </p:input>
   </p:xslt>
</p:pipeline>
Received on Thursday, 2 December 2010 11:56:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 December 2010 11:56:11 GMT