Use the commandline interface. (see
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=100439206023213&w=2)
If you are only interessted in the output of a generator you will have to
write a simple pipeline (like this):
<map:pipeline>
<map:match pattern="[your-pattern]">
<map:generate src="[your-source]"/>
<map:serialize/>
</map:match>
</map:pipeline>
Regards,
REinhard
> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Sonntag, 10. Marz 2002 08:03
> An: [EMAIL PROTECTED]
> Betreff: Using Generators outside Cocoon
>
>
> Is that possible to easily reuse the code for the generators in order to
> create XML files.
> For instance, is that possible to use DirectoryGenerator outside cocoon
> (I mean without passing through the servlet engine) ?
>
>
> ---------------------------------------------------------------------
> 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]>
>
---------------------------------------------------------------------
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]>