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>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
Mark Wilson
Knihtisk Publishing
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--