Hi, I am curious. Some time ago I attempted to find some good documentation for using XProc, but all I could find were samples written before the actual release of the protocol. Any suggestions? Especially in print? And for using it in Oxygen?
Thanks, Mark Wilson -------------------------------------------------- From: "Betty Harvey" <har...@eccnet.com> Sent: Friday, August 13, 2010 1:59 PM To: <oXygen-user@oxygenxml.com> 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 following > error: > > "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 sequence > 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:for-each> > <p:output port="result"> > <p:pipe port="result" step="write2file"/> > </p:output> > > <p:iteration-source select="/c:directory/c:file"/> > > <p:variable name="file" select="/c:file/@name"/> > > <p:load> > <p:with-option name="href" select="$file"/> > </p:load> > > > <p:xslt name="xsd-flatten"> > <p:input port="source"/> > <p:input port="stylesheet"> > <p:document href="../../ConvertARC-to-ACE.xsl"/> > </p:input> > > <p:input port="parameters"> > <p:empty/> > </p:input> > </p:xslt> > > > <p:store name="write2file"> > <p:with-option name="href" > select="concat('../../SampleACE/1/', $file,'.xml')"/> > <p:input port="source"/> > </p:store> > > </p:for-each> > > </p:declare-step> > > Betty > > > > > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ > Betty Harvey | Phone: 410-787-9200 FAX: 9830 > Electronic Commerce Connection, Inc. | > har...@eccnet.com | 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 > oXygen-user@oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > > _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user