You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Morten Andersen <mo...@mip.sdu.dk> on 2003/12/03 14:45:27 UTC

Howto get data from an xml-file written to an excel file?

 From a website I'm developing stuff for (www.techtrans.dk) I've created a 
statistics module that saves all the request data in an xml file like the 
following:

...
<session...>
    <view page="blabla"...>
    ...
</session>
...

Now I would like to be able to create an excel-file from this xml-file, and 
as I was trying to figure out how I stumbled over cocoon, that seems to be 
able to do the job. The thing is I just don't know how to get started...

Is there any tutorials with information on how to generate excel-files from 
a xml-file?
Should I skip using cocoon and go directly to POI?


Thanks

Morten Andersen
Master of applied mathematics and computer science
Amanuensis
Interest areas:
   -e-learning
   -software engineering
   -applied math

The Maersk Institute of Production technology at Southern Danish University 
www.mip.sdu.dk
Campusvej 55
DK-5230 Odense M
Denmark
+45 6550-3654
+45 6171-1103
Jabber id: hat@jabber.dk


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


Re: Howto get data from an xml-file written to an excel file?

Posted by Johan Kok <jk...@messianic.dyndns.org>.
Why not just use POI from within cocoon. That could save some of the 
learning curve in future in adding the other benefits of cocoon.

Doin the same in the opposite direction at this stage (using Chaperon). 
At least you will have a much more "cleaner" and debugged environment 
within POI.

JK

Joerg Heinicke wrote:

> Convinced of Cocoon in the meantime or just ignoring it?
>
> Joerg
>
> On 03.12.2003 14:45, Morten Andersen wrote:
>
>>  From a website I'm developing stuff for (www.techtrans.dk) I've 
>> created a statistics module that saves all the request data in an xml 
>> file like the following:
>>
>> ...
>> <session...>
>>    <view page="blabla"...>
>>    ...
>> </session>
>> ...
>>
>> Now I would like to be able to create an excel-file from this 
>> xml-file, and as I was trying to figure out how I stumbled over 
>> cocoon, that seems to be able to do the job. The thing is I just 
>> don't know how to get started...
>>
>> Is there any tutorials with information on how to generate 
>> excel-files from a xml-file?
>> Should I skip using cocoon and go directly to POI?
>>
>>
>> Thanks
>>
>> Morten Andersen
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>


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


Re: Howto get data from an xml-file written to an excel file?

Posted by Joerg Heinicke <jo...@gmx.de>.
Convinced of Cocoon in the meantime or just ignoring it?

Joerg

On 03.12.2003 14:45, Morten Andersen wrote:

>  From a website I'm developing stuff for (www.techtrans.dk) I've created 
> a statistics module that saves all the request data in an xml file like 
> the following:
> 
> ...
> <session...>
>    <view page="blabla"...>
>    ...
> </session>
> ...
> 
> Now I would like to be able to create an excel-file from this xml-file, 
> and as I was trying to figure out how I stumbled over cocoon, that seems 
> to be able to do the job. The thing is I just don't know how to get 
> started...
> 
> Is there any tutorials with information on how to generate excel-files 
> from a xml-file?
> Should I skip using cocoon and go directly to POI?
> 
> 
> Thanks
> 
> Morten Andersen



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


RE: Howto get data from an xml-file written to an excel file?

Posted by Reinhard Poetz <re...@apache.org>.
From: Morten Andersen

> Is there any tutorials with information on how to generate 
> excel-files from 
> a xml-file?
> Should I skip using cocoon and go directly to POI?

I would use Cocoon :-)
Have a look at the hello-world examples to learn how Cocoon works and
then find specific infos at
http://cocoon.apache.org/2.1/userdocs/serializers/xls-serializer.html

--
Reinhard


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