Component /dat/lib/utility/multiMemory

MultiMemory provides an untyped variable for temporarily holding a set of documents. MultiMemory will retain all non control documents received on the input port. The retained documents will be sent to the output port upon receipt of a <cx:send> control document on the input port. Retained documents are discarded upon receipt of a <cx:clear> or <cx:begin> control document on the input port.

Specific documents can be selected for output by specifying a test attribute on the <cx:send> control document. The value of the test attribute is an XPath/XSL expression. On receipt of a <cx:send> control document with a test attribute, only those retained documents which satisfies the test expression will be sent on the output port.

Specific documents can be discarded specifying a test attribute on the <cx:clear> control document. The value of the test attribute is an XPath/XSL expression. On receipt of a <cx:clear> control document with a test attribute, only those retained documents which satisfies the test expression will be discarded.

Prior to sending any selected documents to the output port, a <cx:begin> control document is sent on the output port. And, after sending all selected documents to the output port a <cx:end> control document is sent to the output port.

For further information on XPath/XSL expressions, see XSL references.

Pins

Ports

Properties

Copyright 2000,2001 Data Access Technologies