cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Homeijer <M.Homei...@devote.nl>
Subject RE: Writing a DigesterTransformer
Date Fri, 23 Aug 2002 05:52:21 GMT
Hi Per,

As far as I know it should work under 2.0.3. We are using a nightly build of
Cocoon so I am not really sure. I'll probably have a first version finished
today which will be donated to Cocoon. It can be configured to use a command
class to process the resulting Java structure, .

Thanks for the feedback ;-)

Michael

-----Original Message-----
From: Per Kreipke
To: cocoon-dev@xml.apache.org
Sent: 22-8-2002 4:21 
Subject: RE: Writing a DigesterTransformer

Michael,

This is cool! Do you know of any dependencies on 2.1 or should this work
if
I try under 2.0.3?

Per

> Hi,
>
> I finished a first version of a DigesterTransformer (see
> http://jakarta.apache.org/commons/digester.html). It maps an XML
stream to
> Java classes and uses rules for this specified in an XML document.
>
> Our use for it is to connect our user interface to a business
> model built in
> EJB's. It's an alternative for Castor unmarshall (the current Castor
> transformer only marshalls data to XML), and we will try to use
> the digester
> to update java classes which wouldn't be possible using Castor (only
> create).
>
> TODO:
> - Output status or error messages in resulting XML document, currently
> there's no output.
> - Have a configurable command class that is executed when the digester
is
> finished. Here the java classes can be persisted or validated by
business
> rules or something.
>
> As it's my first transformer, maybe someone can do a visible check if
I am
> on the right track?
>
> TIA,
> Michael Homeijer
>
> -----Original Message-----
> From: Michael Homeijer
> To: 'cocoon-dev@xml.apache.org'
> Sent: 21-8-2002 12:15
> Subject: Writing a DigesterTransformer
>
> Hi,
>
> I am trying to find out what it takes to write a DigesterTransformer.
> It uses the jakarta commons Digester to transform xml to java beans.
>
> Has anybody tried something similar before? It seems the parse method
on
> the
> digester cannot be intregrated directly into cocoon. Ideas on the
> subject
> are welcome.
>
> TIA,
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>


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

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


Mime
View raw message