> From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
> 
> From: "Gilles Beaugeais" <[EMAIL PROTECTED]>
> 
> > Hye all,
> > Excuse-me if these question has already been asked.
> > I wonder if it is possible with Cocoon to generate files
> > which are not displayed in the browser but just saved on
> > the server.
> 
> Yes. Use Cocoon's command line interface if you need offline content.
> 
> > I would like to generate files for javahelp format (.html,
> > .xml, .jhm and .hs files) with XT xsl formatter,
> 
> I'm not sure that XT is supported now. Why don't you use Xalan?
> 
> > put it in a jar file (with XSP) and then propose
> > the jar file to the client side.
> 
> You can use some JAR (ZIP) serializer for that.
> 
> Though, I'm not sure that all this is possible to combine easily and
is it
> possible to generate multiple files (for online request) then server
them as
> single archive? It would be fine to hear what others think on this?
> 
> Vadim, doesn't this correlate with your multiplexer proposal?

FileWritingTransformer (or how it is named now? ;) should be enough to
write files to disk, but here, I guess, even this is not required. Just
create XML document with the schema for ZIP-o-JAR-Serializer, so it
generates ZIP with multiple files in it.

This could look like:

<zip:zip>
  <zip:entry name="sub/dir/FileName">
    ...
  </zip:entry>
  <zip:entry ...>
    ...
  </zip:entry>
  ...
</zip:zip>

Vadim

 
> --
> Konstantin
> 
> > Thanks.
> > G. Beaugeais
> >


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to