Quoting Vadim Gritsenko <[EMAIL PROTECTED]>: > Irv Salisbury III wrote: > > Another thing to bounce off the list, hopefully something that I can > > give back. > > > > Looking through the code, it seems like writing a > > RequestAttributeTransformer with the following functionality might be > > useful (at least to me :-) > > > > 1. Having the ability to use a org.apache.cocoon.xml.SAXBuffer to record > > SAX events and put an object of this class in as a named request > > attribute. > > SourceWritingTransformer + XModuleSource should do. > > > > 2. Having the ability to pull a SAXBuffer out of the request > > as a named attribute and replay the SAX events. > > Include + XModuleSource will do. > > > > So, is SAXBuffer a good class to use for this, i.e. was it meant to be > > used for this? Am I missing something obvious? > > Please operate in terms of interfaces. Any XMLizable will do. As for > implementation, SaxBuffer is Ok. > > Vadim >
Glad I asked. I didn't know about the XModuleSource. Thanks, Irv
