You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jim Ray <jr...@jabber.com> on 2001/10/26 14:14:13 UTC
Using log.xml output
I found the stylesheet for log.xml but now how do I use
it? Do I need to feed it through something like Coocoon
to get the correct output?
Sorry for the ignorance, but I'm just looking for a simpler
way to get HTML output from nightly builds.
Thanks.
jim
Re: Using log.xml output
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
You can view it using IE5 or IE6 just by putting log.xsl in the same
directory as log.xml and opening log.xml in either of those browsers. Or
you could run it through the <style> task (in a separate Ant invocation, of
course) - note: I haven't tried this, but it *should* work.
You could run it through a command-line option that comes with Xalan also.
Here's a link to their how-to:
http://xml.apache.org/xalan-j/getstarted.html#commandline
Erik
----- Original Message -----
From: "Jim Ray" <jr...@jabber.com>
To: <an...@jakarta.apache.org>
Sent: Friday, October 26, 2001 8:14 AM
Subject: Using log.xml output
> I found the stylesheet for log.xml but now how do I use
> it? Do I need to feed it through something like Coocoon
> to get the correct output?
>
> Sorry for the ignorance, but I'm just looking for a simpler
> way to get HTML output from nightly builds.
>
> Thanks.
>
> jim
>
>
>
Re: Using log.xml output
Posted by Stephane Bailliez <sb...@apache.org>.
----- Original Message -----
From: "Jim Ray" <jr...@jabber.com>
To: <an...@jakarta.apache.org>
Sent: Friday, October 26, 2001 2:14 PM
Subject: Using log.xml output
> I found the stylesheet for log.xml but now how do I use
> it? Do I need to feed it through something like Coocoon
> to get the correct output?
>
> Sorry for the ignorance, but I'm just looking for a simpler
> way to get HTML output from nightly builds.
You can use a style task in Ant.
<style style="/some/where/log.xsl" in="/some/logs/log.xml"
out="/some/logs/log.html"/>
or process it via Xalan command line or your favorite XSL processor
java org.apache.xalan.xslt.Process -xsl /some/where/log.xsl -in
/some/logs/log.xml -out /some/logs/log.html
Stephane.