cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Potz <reinhard_po...@gmx.net>
Subject AW: Using Generators outside Cocoon
Date Sun, 10 Mar 2002 17:38:22 GMT
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: odwl@mac.com [mailto:odwl@mac.com]
 > Gesendet: Sonntag, 10. Marz 2002 08:03
 > An: cocoon-users@xml.apache.org
 > 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: <cocoon-users-unsubscribe@xml.apache.org>
 > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
 >


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message