You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Pablo Piña <pa...@aqs.es> on 2000/12/04 16:30:37 UTC

Including XSPs

Hi.

	I would like to include the result of an XSP that generates XML into 
another one which will be later transformed into HTML.
The quickest solution we found was to

     open a new Connection to the Servlet Container
     Parse the Stream
     Cloning the Dom (for including it into the xsp).

This was too expensive, our next approach was:
     Retrieving the needed producer and processor(s) to the request
     Generating the included dom
     Cloning the produced DOM

Could we avoid to clone this DOM by passing to the XSPPage the target DOM?

Regards.

Pablo Piña  mailto:pablopi@aqs.es
Advanced Quality Solutions   http://www.aqs.es