You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Robert Burrell Donkin <ro...@blueyonder.co.uk> on 2008/04/28 23:04:55 UTC
Schema For Output...?
RAT generate XML under the hood and then creates it's plain text reports
from it using XSLT. providing that we fixed a schema then improved
reports (eg html) could easily be generated.
any volunteers who fancy taking a look at this?
opinions on formalising a schema?
- robert
Re: Schema For Output...?
Posted by Jochen Wiedmann <jo...@gmail.com>.
On Mon, Apr 28, 2008 at 11:04 PM, Robert Burrell Donkin
<ro...@blueyonder.co.uk> wrote:
> RAT generate XML under the hood and then creates it's plain text reports
> from it using XSLT. providing that we fixed a schema then improved
> reports (eg html) could easily be generated.
>
> any volunteers who fancy taking a look at this?
>
> opinions on formalising a schema?
It's unlikely that I will find the time, but if it were me, I'd
implement this as follows:
- Specify a schema for the output.
- Use JaxMe to create beans from the schema.
- Generate the output by creating beans and firing them to a SAX ContentHandler.
Of course, the default SAX ContentHandler would be a TrAX TransformerHandler.
Jochen
--
Look, that's why there's rules, understand? So that you think before
you break 'em.
-- (Terry Pratchett, Thief of Time)