On Thu, Apr 29, 2004 at 12:32:51PM +0200, Ugo Cei wrote:
> Il giorno 29/apr/04, alle 11:11, Leszek Gawron ha scritto:
>
> >As I have stated before this is not a WEB application. I use cocoon as
> >xml
> >data provider for my C++ application. I know this usage is not common.
> >I have used xsps before but I decided to switch to a compiled
> >solution. I had
> >lot of problems with compile time errors and completely no support in
> >refactoring I have now with eclipse and java generators.
>
> Wouldn't it be possible to retrieve your data into JavaBeans and
> serialize them to XML using one of the many Java-to-XML serialization
> libraries (XMLBeans comes to mind and Cocoon already includes Castor)?
There would have to be several thousands of these beans in a list. I am also
serializing the bean properties to attributes to gain on file size. So it
looks like:
<content>
<row id="1" date="2004-03-20" description="abc"/>
<row id="2" date="2004-03-20" description="abc"/>
<row id="3" date="2004-03-20" description="abc"/>
</content>
the number of rows reaches 20k.
lg
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ [EMAIL PROTECTED] _\\()//_
.'/()\'. Phone: +48(501)720812 / // \\ \
\\ // recursive: adj; see recursive | \__/ |