Component /dat/lib/filter/streamToSet
StreamToSet is a simple transform that assembles all input documents as members of a set. The result document has a new root element that contains each input document as a sub element.
The set is cleared upon receipt of a <cx:begin> or <cx:clear> control document. The set is sent on the output port upon receipt of a <cx:end> or <cx:send> control document.
Pins
Ports
- input input documents are received on this port. A <cx:begin> or <cx:clear> control document will clear all input documents received since the last cx:begin or cx:clear.
A cx:end or cx:send will send the result document on the output port.
- output the result document is sent on this port upon reciept of a <cx:end> or <cx:send> control document on the input port.
Properties
- type the root tag of the result document. If blank, "set" will be used.
Copyright 2000,2001 Data Access Technologies