Vadim, The proposal contains set of interfaces and abstractions. The extensions build on top of it can choose the appropriate implementation. In this example the xml document is processed by StreamGenerator, then by the transformer implementing Dispatcher interface. This transformer is extracting specific part of the incoming document ( scripted as a param in the sitemap )converting it to DOM. Then it dynamically selects the adapter and delegates the further processing to it. The result of the Adapter operation is returned to Transformer/Dispatcher and is injected (streamed) into the flow of SAX event (processed document). Then xml serializer is doing the rest. Kinga
> > BTW: Does this proposal based on DOM? Or is DOM used just in this > > example? > > > > Vadim > > > > > -----Original Message----- > > > From: DZIEMBOWSKI,KINGA (HP-NewJersey,ex2) > > [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, February 07, 2002 5:22 PM > > > To: [EMAIL PROTECTED] > > > Subject: Dispatcher/Adapter > > > > > > Hi, > > > I feel that the tension of release is over, and we can > return to the > > > discussion on my proposal. I propose to add to the Cocoon project > > > Dispatcher/Adapter concept. This set of interfaces and basic > > abstraction > > > allows building pluggable extensions in a more > standardized way. The > > real > > > life example of such extension is our HP-SOAP Server. (You can > > download it > > > from http://www.hpmiddleware.com/download.) But it is just one > > example, the > > > imagination can bring much more. > > > > > > To refresh your memory the proposal, demo , patches and > > additions can > > be > > > found at: > > > http://soap.bluestone.com/proposal. The real HP-SOAP server > > in action > > can be > > > accessed by: > > > http://soap.bluestone.com/hpws. > > > Please note the combination of Cocoon publishing > > techniques, XSP pages > > used > > > as client forms to access SOAP services, with processing > > capabilities. > > > > > > Kinga > > > > > > > > > > > > > > > _________________________________ > > > > > > Kinga Dziembowski > > > Hewlett Packard > > > HP Bluestone Middleware Division > > > 6000 Irwin Road > > > Mt. Laurel, NJ 08054 > > > > > > 856.638.6065 > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]