[oXygen-user] XProc integration API - representing input/output data


Mon Oct 12 04:55:27 CDT 2009


Hello,

I have two questions about dealing with inputs/outputs in the XProc
integration API:

1. The APIs are URL-based. Does that mean that the results of running
the pipeline must always be saved somewhere (for instance, as temporary
documents in /tmp) by the implementation of XProcTransformerInterface?

2. I don't understand how sequence outputs are supported in the API. The
XProcInputPortInterface interface uses an array for specifying the URLs
for a given input port. Similar to input ports that can take sequences
of documents, output ports can also produce sequences - but the
XProcOutputPortInterface contains only the getUrl() method. Do I
understand it correctly that after the pipeline has finished, the XProc
integration code is supposed to store the result data for the output
ports to the URL provided by the corresponding getUrl() methods? If so,
how does this work with sequences? And what is the method
showInSequenceView() meant for?

Regards,
Vojtech


--
Vojtech Toman
Principal Software Engineer
EMC Corporation

http://developer.emc.com/xmltech



More information about the oXygen-user mailing list