[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XPL file


Subject: Re: [xsl] XPL file
From: Mark Wilson <mark@xxxxxxxxxxxx>
Date: Sat, 15 Dec 2012 06:51:35 -0700

Answered. The key to seeing an error is to make a fool of yourself by hitting the send key:
MyStore, not myStore for the result.
Sorry for the noise.
Mark
On 12/15/2012 6:45 AM, Mark Wilson wrote:
Hello,
I have tried to get an answer elsewhere and have not. I don't think this is off-topic, but if it is, I am sorry. I am trying to learn XProc to get away from using windows batch files and have started with Robert Costello's XProc tutorial which I am trying to run in Oxygen, but the very first example refuses to run. What's wrong?
Thanks,
Mark


The below XPL file gives me this Calabash error:
E [Calabash XProc] XE0001 : Unreadable port: result on MyStore

<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
<p:input port="source">
<p:document href="BookStore.xml"/>
</p:input>
<p:output port="result">
<p:pipe port="result" step="MyStore"/>
</p:output>
<p:rename match="BookStore/Book/Date" new-name="Year"/>
<p:store href="test.xml" name="myStore"/>
</p:declare-step>






-- Mark Wilson Knihtisk Publishing


Current Thread
Keywords