[oXygen-user] XProc integration API - pipeline options
Mon Oct 12 04:25:32 CDT 2009
The same probably goes for parameters. Similar to options, parameters
are QName/value pairs, but they are passed to the pipeline by using
special types of input ports (so called parameter input ports).
In order to pass a parameter to a pipeline, you must be able to specify:
1. name of the parameter input port (if not specified, the primary
parameter input port is used)
2. parameter name
3. parameter value
The simplest solution to me seems to change the
XProcTransformerInterface.transform() method so that it allows
specifying options and parameter input ports mappings. (Maybe adding
methods getOptions() and getparameterInputPorts() will be necessary,
too).
Regards,
Vojtech
--
Vojtech Toman
Principal Software Engineer
EMC Corporation
http://developer.emc.com/xmltech
More information about the oXygen-user
mailing list