ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: XSLT: how to get output to STDOUT
Date Wed, 20 Aug 2003 05:14:38 GMT
Why not print out the file after transformation?
<concat>
or <loadfile>, <echo>


Jan

> -----Original Message-----
> From: Jason Varsoke [mailto:jvarsoke@yahoo.com]
> Sent: Tuesday, August 19, 2003 9:36 PM
> To: user@ant.apache.org
> Subject: XSLT: how to get output to STDOUT
> 
> 
> Using the <xslt> task normally ouput goes to a file named *.html where
> * is the name of the XML file used to generate the .html through the
> transform.
> 
> But I would prefer my output go to standard-out (STDOUT / 
> System.out). 
> The reason is that I'm using XSLT (Xalan) to generate java code and N
> files are created by one transform (yes yes, I know this goes against
> the non-side effect virtue of functional programming).  So the output
> of my transforms are a list of files that were created.
> 
> I could use the option extenion="log" and then just delete the files,
> but I'd much prefer the output be put in Ant's normal output.
> 
> Any suggestions?
> 
> -jason
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message