> > The easiest that comes to mind is to use processPipelineTo in
> > flowscript (see http://cocoon.apache.org/2.1/userdocs/flow/api.html)
> > to save the generated output.
Well, I was playing around with the Source interface obtained from a
SourceResolver, which has a getContentLength() method :
var res =
cocoon.getComponent(Packages.org.apache.cocoon.environment.SourceResolver.ROLE);
var src = res.resolveURI("cocoon://foo.xml");
log.debug("src length is " + src.getContentLength());
However, it always returns "-1", don't really know why since foo.xml
renders a non null XML document. Plus, isavailable() always returns
"true", even if I try resolveURI() on nonexistent patterns.
Anyway, I'll try processPipelineTo(), thanks :)
Laurent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]