cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: AW: Running external programs
Date Wed, 14 Jan 2004 18:11:06 GMT
On 14.01.2004 12:50, Ulrich, Dominik wrote:

> Hello
> this seems to be exactly what I needed, too!!
> Thanks a lot!
> What output is this generator delivering?
> Greetings Dominik

To be correct it is a transformer - and it must output SAX events.

And AFAIK it simply parses the returned stream:

> XMLReader analizador = XMLReaderFactory.createXMLReader();
> analizador.setContentHandler(xmlConsumer);
> analizador.parse(new InputSource(proceso.getInputStream()));

Joerg


> -----Urspr√ľngliche Nachricht-----
> Von: Carmona Perez, David [mailto:DPerezCar@fcc.es]
> 
> I have created successfully a custom transformer that calls an external program.  The
executable is searched relative to the servlet context path.
> 
> Its code is something like that (sorry is in spanish):


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message