
Hi Vojtech, 1. No, if you use the resolver provided those URIs will be resolved to the content of the editor. 2. For Calabash we append all the documents in the provided location. Note that the number of documents in a sequence is not constant in general and the user cannot provide a binding for each document in the sequence. A possible solution is to use a pattern to output each document in the sequence - for example you can use for Calumet the output binding as the base name and add a counter to each document in the sequence. oXygen presents the content of the ouput ports that have the "Show in transformation results view" option set in the XProc transformation scenario. Those are the ports that the transform method should return results. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Toman_Vojtech@emc.com wrote:
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 toman_vojtech@emc.com http://developer.emc.com/xmltech _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user