[oXygen-user] Strange XProc/Oxygen Issue
Fri Aug 13 17:13:49 CDT 2010
I am in the beginning of the learning stage myself but I have found that
Roger Costello and James Garriss (http://www.xfront.com/xproc/) have a
Powerpoint tutorial that is pretty good. There are also some excellent
papers from Balisage (Google search on Balisage and XProc should get you
A really good resource are the test cases (http://tests.xproc.org/). They
don't put the whole picture together but at least there are some puzzle
Calabash is bundled with Oxygen so if you are used to using XSLT inside of
Oxygen it is very similar.
> I am curious. Some time ago I attempted to find some good documentation
> using XProc, but all I could find were samples written before the actual
> release of the protocol. Any suggestions? Especially in print? And for
> it in Oxygen?
> Mark Wilson
> From: "Betty Harvey" <>
> Sent: Friday, August 13, 2010 1:59 PM
> To: <>
> Subject: [oXygen-user] Strange XProc/Oxygen Issue
>> I have an XProc script (copied below) that works on oXygen on my Laptop.
>> When I tried running the script on my desktop computer I get the
>> "SystemID: C:\Projects\NARA\Arc-to-ACE\allRecords\1\test.xpl
>> Engine name: Calabash XProc
>> Severity: error
>> Description: XD0006 : 0 documents appear on the 'source' port. If
>> is not specified, or has the value false, then it is a dynamic error
>> unless exactly one document appears on the declared port.
>> URL: http://www.w3.org/TR/xproc/#err.D0006"
>> On the desktop I was running from an external disk but copied the
>> environment to the same environment (C drive) on my desktop and had
>> the same errors.
>> Laptop Computer Configuration (works):
>> Oxygen 11.2, build 2010041213
>> Windows Vista/Service Pack 2
>> 4 GB
>> 64 Bit Operating System
>> Desktop Computer Configuration (does not work):
>> Oxygen 11.2, build 2010080212 (downloaded new copy today)
>> Windows Visa/Service Pack 2
>> 3 GB
>> 32 bit Operating System
>> I am not sure where to look for answers at this point. Thanks!
>> <?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:output port="result" sequence="true"/>
>> <p:directory-list name="list" include-filter=".*\.xml" path="."/>
>> <p:output port="result">
>> <p:pipe port="result" step="write2file"/>
>> <p:iteration-source select="/c:directory/c:file"/>
>> <p:variable name="file" select="/c:file/@name"/>
>> <p:with-option name="href" select="$file"/>
>> <p:xslt name="xsd-flatten">
>> <p:input port="source"/>
>> <p:input port="stylesheet">
>> <p:document href="../../ConvertARC-to-ACE.xsl"/>
>> <p:input port="parameters">
>> <p:store name="write2file">
>> <p:with-option name="href"
>> select="concat('../../SampleACE/1/', $file,'.xml')"/>
>> <p:input port="source"/>
>> Betty Harvey | Phone: 410-787-9200 FAX: 9830
>> Electronic Commerce Connection, Inc. |
>> | Washington,DC XML Users Grp
>> URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/
>> Member of XML Guild (www.xmlguild.org)
>> oXygen-user mailing list
Betty Harvey | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
| Washington,DC XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/
Member of XML Guild (www.xmlguild.org)
More information about the oXygen-user