cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Brogden" <wbrog...@bga.com>
Subject RE: trace file generator output
Date Mon, 17 Jun 2002 12:53:54 GMT
> -----Original Message-----
> From: Sternath Elmar [mailto:Elmar.Sternath@icn.siemens.de] 
> Sent: Monday, June 17, 2002 2:57 AM
> To: cocoon-users@xml.apache.org
> Subject: trace file generator output
> 
> 
> Hi all,
> 
> is there any possibility to trace the xml output generated by 
> FileGenerator?
> 
> Regards,
> Elmar

Seems to me you should be able to do that with the "log"
transformer - it spits out a record for every SAX event
that goes through it. A pipeline entry for log transformer
includes a parameter that names the output file and one
that controls appending to the log.

      <map:transform type="log">
        <map:parameter name="logfile"
value="c:/Tomcat401/logs/debuglog.txt" />
        <map:parameter name="append" value="yes" />
      </map:transform>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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