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

result-document() and XProc secondaries

From: David <david@davidpriest.ca>
Date: Fri, 10 Dec 2010 17:00:25 -0800
Message-ID: <4D02CD29.6010308@davidpriest.ca>
To: xproc-dev@w3.org
Is there any reason to believe that the XProc below would error-out with 
an XD0001 (non-XML resource)?  When the self-same XSLT transformation is 
run through Saxon, it correctly produces the files through its 
result-document() statements.

How can I discover exactly what is being received by the p:store 
statement?  If I could only see the (presumably non-XML) data, I'd have 
a much better clue as to what the problem is.

<?xml version="1.0"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="1.0" 
<p:xslt name="extract_literate_programs" version="2.0">
<p:input port="source">
<p:document href="bootstrap_literate_xml.xml"/>
<p:input port="stylesheet">
<p:document href="bootstrap_tangle.xsl"/>
<p:input port="parameters">
<p:pipe step="extract_literate_programs" port="secondary"/>
<p:with-option name="href" select="concat('src-',p:iteration-position())"/>
Received on Saturday, 11 December 2010 01:00:55 UTC

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