Re: How to serialize a XML file to disk?

2003-03-22 Thread Ryan Hoegg
Perhaps an Action would be more appropriate.

--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
Charles Yates wrote:

OK, I get it now.  I suspect the best way to go with this is to 
write a custom transformer to do the storing and merging you speak 
of.  My limited experience is that Transformers are the most difficult 
sitemap component to implement so maybe another way would be best for 
you.  Cocoon is quite flexible and usually there are many ways to 
accomplish the same task, and often you can't know what the best way 
is until you try.  I believe that you will need to do some java coding 
of a custom sitemap component.   Cocoon is designed to make this easy.

Charles

[EMAIL PROTECTED] wrote:

Hi :)

First of all thanks for your answer, but the requirements of the 
project is
that the search form is a http based client and all the results must be
displayed to it.

The idea to create an XML repository with all the XML data that we 
grab. And
then create several reports based on the data retrieved, using XSL
transformations to SVG/PDF etc..

So what's the best way to store the grabbed XML into local hardrive, and
merge the existing repository with the new id grabbed ( that 
corresponds to
the new XML created).

TIA



- Original Message -
From: "Charles Yates" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 5:04 PM
Subject: Re: How to serialize a XML file to disk?
 

   Cocoon is a server application, what you have described is a http
client application.  Cocoon does have http client functionality and you
can customize it all you like, so the answer to your question is yes,
but from what you have described it does not sound like the best tool
for the job.
Charles

[EMAIL PROTECTED] wrote:

  

Hi all :)

We're doing a college work on cocoon and xml harvester potencial, and
we would like to know if we can grab a given XML file (on the web) to
a location on harddisk for a repository then work with it..
TIA 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to serialize a XML file to disk?

2003-03-22 Thread Charles Yates
OK, I get it now.  I suspect the best way to go with this is to 
write a custom transformer to do the storing and merging you speak of.  
My limited experience is that Transformers are the most difficult 
sitemap component to implement so maybe another way would be best for 
you.  Cocoon is quite flexible and usually there are many ways to 
accomplish the same task, and often you can't know what the best way is 
until you try.  I believe that you will need to do some java coding of a 
custom sitemap component.   Cocoon is designed to make this easy.

Charles

[EMAIL PROTECTED] wrote:

Hi :)

First of all thanks for your answer, but the requirements of the project is
that the search form is a http based client and all the results must be
displayed to it.
The idea to create an XML repository with all the XML data that we grab. And
then create several reports based on the data retrieved, using XSL
transformations to SVG/PDF etc..
So what's the best way to store the grabbed XML into local hardrive, and
merge the existing repository with the new id grabbed ( that corresponds to
the new XML created).
TIA



- Original Message -
From: "Charles Yates" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 5:04 PM
Subject: Re: How to serialize a XML file to disk?
 

   Cocoon is a server application, what you have described is a http
client application.  Cocoon does have http client functionality and you
can customize it all you like, so the answer to your question is yes,
but from what you have described it does not sound like the best tool
for the job.
Charles

[EMAIL PROTECTED] wrote:

   

Hi all :)

We're doing a college work on cocoon and xml harvester potencial, and
we would like to know if we can grab a given XML file (on the web) to
a location on harddisk for a repository then work with it..
TIA



 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to serialize a XML file to disk?

2003-03-22 Thread Scherler
Hi ,

I have not read the whole thread and I am in a hurry right now, but it 
sounds you should try Xindice a XML Database. There you could store your 
grabed data and merge them easy!

King regards
Thorsten
[EMAIL PROTECTED] wrote:

Hi :)

First of all thanks for your answer, but the requirements of the project is
that the search form is a http based client and all the results must be
displayed to it.
The idea to create an XML repository with all the XML data that we grab. And
then create several reports based on the data retrieved, using XSL
transformations to SVG/PDF etc..
So what's the best way to store the grabbed XML into local hardrive, and
merge the existing repository with the new id grabbed ( that corresponds to
the new XML created).
TIA



- Original Message -
From: "Charles Yates" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 5:04 PM
Subject: Re: How to serialize a XML file to disk?
 

   Cocoon is a server application, what you have described is a http
client application.  Cocoon does have http client functionality and you
can customize it all you like, so the answer to your question is yes,
but from what you have described it does not sound like the best tool
for the job.
Charles

[EMAIL PROTECTED] wrote:

   

Hi all :)

We're doing a college work on cocoon and xml harvester potencial, and
we would like to know if we can grab a given XML file (on the web) to
a location on harddisk for a repository then work with it..
TIA



 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to serialize a XML file to disk?

2003-03-22 Thread joaocesar
Hi :)

First of all thanks for your answer, but the requirements of the project is
that the search form is a http based client and all the results must be
displayed to it.

The idea to create an XML repository with all the XML data that we grab. And
then create several reports based on the data retrieved, using XSL
transformations to SVG/PDF etc..

So what's the best way to store the grabbed XML into local hardrive, and
merge the existing repository with the new id grabbed ( that corresponds to
the new XML created).

TIA



- Original Message -
From: "Charles Yates" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 5:04 PM
Subject: Re: How to serialize a XML file to disk?


> Cocoon is a server application, what you have described is a http
> client application.  Cocoon does have http client functionality and you
> can customize it all you like, so the answer to your question is yes,
> but from what you have described it does not sound like the best tool
> for the job.
>
> Charles
>
> [EMAIL PROTECTED] wrote:
>
> > Hi all :)
> >
> > We're doing a college work on cocoon and xml harvester potencial, and
> > we would like to know if we can grab a given XML file (on the web) to
> > a location on harddisk for a repository then work with it..
> >
> > TIA
> >
> >
> >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to serialize a XML file to disk?

2003-03-22 Thread Charles Yates
   Cocoon is a server application, what you have described is a http 
client application.  Cocoon does have http client functionality and you 
can customize it all you like, so the answer to your question is yes, 
but from what you have described it does not sound like the best tool 
for the job.

Charles

[EMAIL PROTECTED] wrote:

Hi all :)
 
We're doing a college work on cocoon and xml harvester potencial, and 
we would like to know if we can grab a given XML file (on the web) to 
a location on harddisk for a repository then work with it..
 
TIA
 
 
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: XSL and script code - please help

2003-03-22 Thread Joerg Heinicke
Hello Holger,

there is an extension library for XSLT written by Dimitre Novatchev. You 
can find it at http://fxsl.sourceforge.net/. It contains for example 
trigonometric functions.
And if you really need XSLT for such an extreme logic, you can ask him - 
I'm sure he can help you with implementing the algorithm. But consider 
that XSLT was created for transforming XML trees into trees, not for 
calculating complex algorithms.

Regards,

Joerg

[EMAIL PROTECTED] wrote:
Hi all,
 
I am currently developing a histogram (svg) to be
included in the Cocoon portal.
The current solution for generation of the SVG code is
XSL only. 

Now I would like to add an algorithm for
y-axis autoscaling (see 'pseudocode' below). I am not
sure how to do this in pure XSL e.g. 

-is there a fract() function ? I know that a floor
function exists. 

- But what about the loop ?

- What about passing variables to this code (and
getting them back into the XSL script) ?
- Do I need further (script-)extensions to XSL to do
this ?
Best regards,

Holger

***

iReg=1;

regA=10**floor((max-min)/#-of-tics);



iReg++;

reg9=regA*floor(min/regA);

reg8=reg9+#-of-tics*regA;

if(max>reg8){		(would exit the loop if <=)

if(fract(iReg/4)==0)

{regA=1.25*regA;}

else

{regA=2*regA;}

{




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: XLS files...

2003-03-22 Thread Ferran Urgell
Thanks, it's more explained...and detailed
I think it should be ok, for my work...I'm student and  cocoon it's the project of  my degree in computing. (I hope to be a BSc at the end of the may...)
Thanks, and regards!!
Ferran
 Joerg Heinicke <[EMAIL PROTECTED]> wrote:
I hope you'll find it useful.JoergFerran Urgell wrote:> It's possible to send me the documentation ?> > Thanks> > */Joerg Heinicke <[EMAIL PROTECTED]>/* wrote:> > Hello Ferran,> > I recently updated the documentation file for the XLS serializer with> more information on the Gnumeric file format than the current> documentation has. I posted it at Cocoon's bugzilla:> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18164. It's not yet> applied to the current CVS. If you don't want to build the docs for> your> own, I can send you the transformed documentation file as HTML.> > Regards,> > Joerg> > Ferran Urgell wrote:> > Thanks for the help, I've done the poscript.> >> > But, I've some problems with the Excel files (I can do the "hello> > world"), but I would to know if there are some more examples of> Gnome> > file format and how it works.> >> > I know in the> > http://xml.apache.org/userdocs/serializers/xsl-serializer.html> there's a> > bit explanation about how hssf works, but if there's something more> > detailed or with examples, I would to know it..> >> > Thanks,> >> > Ferran> ATTACHMENT part 2 application/zip name=xls-serializer.zip -To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Re: XLS files...

2003-03-22 Thread Joerg Heinicke
I hope you'll find it useful.

Joerg

Ferran Urgell wrote:
It's possible to send me the documentation ?

Thanks

 */Joerg Heinicke <[EMAIL PROTECTED]>/* wrote:

Hello Ferran,

I recently updated the documentation file for the XLS serializer with
more information on the Gnumeric file format than the current
documentation has. I posted it at Cocoon's bugzilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18164. It's not yet
applied to the current CVS. If you don't want to build the docs for
your
own, I can send you the transformed documentation file as HTML.
Regards,

Joerg

Ferran Urgell wrote:
 > Thanks for the help, I've done the poscript.
 >
 > But, I've some problems with the Excel files (I can do the "hello
 > world"), but I would to know if there are some more examples of
Gnome
 > file format and how it works.
 >
 > I know in the
 > http://xml.apache.org/userdocs/serializers/xsl-serializer.html
there's a
 > bit explanation about how hssf works, but if there's something more
 > detailed or with examples, I would to know it..
 >
 > Thanks,
 >
 > Ferran


xls-serializer.zip
Description: Zip archive
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: XLS files...

2003-03-22 Thread Ferran Urgell
It's possible to send me the documentation ?
Thanks
 Joerg Heinicke <[EMAIL PROTECTED]> wrote:
Hello Ferran,I recently updated the documentation file for the XLS serializer with more information on the Gnumeric file format than the current documentation has. I posted it at Cocoon's bugzilla: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18164. It's not yet applied to the current CVS. If you don't want to build the docs for your own, I can send you the transformed documentation file as HTML.Regards,JoergFerran Urgell wrote:> Thanks for the help, I've done the poscript.> > But, I've some problems with the Excel files (I can do the "hello > world"), but I would to know if there are some more examples of Gnome > file format and how it works.> > I know in the > http://xml.apache.org/userdocs/serializers/xsl-serializer.html there's a > bit explanation about how hssf works, but if there's something more > detailed or with examples, I would to know it..> > Thanks,> > Ferran-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Re: XLS files...

2003-03-22 Thread Joerg Heinicke
Hello Ferran,

I recently updated the documentation file for the XLS serializer with 
more information on the Gnumeric file format than the current 
documentation has. I posted it at Cocoon's bugzilla: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18164. It's not yet 
applied to the current CVS. If you don't want to build the docs for your 
own, I can send you the transformed documentation file as HTML.

Regards,

Joerg

Ferran Urgell wrote:
Thanks for the help, I've done the poscript.

But, I've some problems with the Excel files (I can do the "hello 
world"), but I would to know if there are some more examples of Gnome 
file format and how it works.

I know in the 
http://xml.apache.org/userdocs/serializers/xsl-serializer.html there's a 
bit explanation about how hssf works, but if there's something more 
detailed or with examples, I would to know it..

Thanks,

Ferran


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to serialize a XML file to disk?

2003-03-22 Thread joaocesar



Hi all :)
 
We're doing a college work on cocoon and xml 
harvester potencial, and we would like to know if we can grab a given XML file 
(on the web) to a location on harddisk for a repository then work with 
it..
 
TIA
 
 
 


XLS files...

2003-03-22 Thread Ferran Urgell
Thanks for the help, I've done the poscript.
But, I've some problems with the Excel files (I can do the "hello world"), but I would to know if there are some more examples of Gnome file format and how it works.
I know in the http://xml.apache.org/userdocs/serializers/xsl-serializer.html there's a bit explanation about how hssf works, but if there's something more detailed or with examples, I would to know it..
Thanks, 
Ferran
 erek Hohls <[EMAIL PROTECTED]> wrote:


Ferran
 
You can also look at the (brief) notes + links + sample at the wiki:
http://wiki.cocoondev.org/Wiki.jsp?page=ExcelGeneration
and
http://wiki.cocoondev.org/Wiki.jsp?page=XLSSerializer
 
Derek>>> [EMAIL PROTECTED] 18/03/2003 06:18:05 >>>Hello Ferran,have a look at http://xml.apache.org/cocoon/userdocs/serializers/serializers.html. There you have an overview of the serializers, for yor needs especially PS Serializer (or PDF Serializer) and HSSF/XLS Serializer. The transformation is up to you. You have to fed the serializers with a special XML format. For PDF or PS it's XSL FO, for XLS it's Gnumeric file format. Of course you don't need any transformation from XML to PS or XLS directly, that's the work of the serializers.Regards,JoergFerran Urgell wrote:> Hello Cocooners!> > I'm interested to do Postcript and XLS files...But I don't know how> to do...> > Which type of Serializer I have to use in the sitemap ? Where I can> get information about Xsl-Fo, to transform Xml into a XLS or> Postcript files ?> > Thanks> > Ferran-- System DevelopmentVIRBUS AGFon  +49(0)341-979-7419Fax  +49(0)341-979-7409[EMAIL PROTECTED]www.virbus.deCeBIT 2003 vom 12. bis zum 19. März in HannoverVIRBUS stellt gemeinsam mit der IBM-Tochter IT-Services and SolutionsGmbH aus.Lassen Sie sich überraschen von den neuen, umfassenden Möglichkeiten imInternet-gestützten Zahlungsverkehr.Besuchen Sie uns: Halle 3, Stand D55.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Mailscanner thanks transtec Computers for their support. Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Re: content management systems - who is using a cms with cocoon?

2003-03-22 Thread Marcelo F. Ochoa
Chris Dietz wrote:

Anybody using a CMS(content management system) with Cocoon?

We are using DBPrism/Cocoon CMS, 
http://www.dbprism.com.ar/dbprism/doc/cms/CMS.html
Unlike Wyona/Lenya, DBPrism CMS is a database oriented CMS, that is, it 
uses Oracle database as repository for the XML documents stored using 
Apache document-v10.dtd (Plus Xforms/SVG) format.

I would like to hear what you are using.

I am looking into Wyona/Lenya and forrest.

-chris
 

 Best regards, Marcelo.

--
Marcelo F. Ochoa - [EMAIL PROTECTED]
Do you Know DB Prism? Look @ http://www.dbprism.com.ar/dbprism/doc/Home.html
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press 
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
http://www.oreilly.com/catalog/oracleopen/)
---
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-30 Fax: +54-2293-31



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cocoon and database example

2003-03-22 Thread Scherler
http://wiki.cocoondev.org/Wiki.jsp?page=HowTos
section database!
regards
Thorsten
p.s. there is a similar example of what you are planing to do in 
"Cocoon: Building XML Application" from Ziegler and langham! ISBN have 
to search this list for it:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2

karthikeyan wrote:

Hi,

 I want to create simple news posting script.  Just wondering which is
 the best way to go for this.
If i go with ESQL way what are the necessary jar to place in my lib
folder.  I just dont want to place lots of jar files for something which
i may not use for right now.
 If you can point my out some tutorial of cocoon working with database
 that would be great.  I saw the one which comes with cocoon but i want
 something BARE MINIMUM.  

 Something like 

 select * from news

 Now I presume that the above tag will return xml data, i need to use
 XSLT and produce the output.
 How should i go about this.

 Have a great day.

Karthikeyan.
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: XSL and script code - please help

2003-03-22 Thread Scherler
http://www.w3schools.com/
they have all elements and functions on a page!
[EMAIL PROTECTED] wrote:

Hi,

I recommend:

http://www.zvon.org/
(very short, very useful and informative tutorials on XSLT)
http://www.w3.org/TR/xpath#corelib - list of functions.
http://www.mulberrytech.com/xsl/xsl-list/
hope it  helps, cheers, A.

 

-is there a fract() function ? I know that a floor
function exists. 

- But what about the loop ?

- What about passing variables to this code (and
getting them back into the XSL script) ?
- Do I need further (script-)extensions to XSL to do
this ?
   

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: content management systems - who is using a cms with cocoon?

2003-03-22 Thread Scherler
Chris Dietz wrote:

Anybody using a CMS(content management system) with Cocoon?

I would like to hear what you are using.

I am using lenya.

I am looking into Wyona/Lenya and forrest.
 

forrest is not a cms.

-chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Any Cocoon People in Berlin, Germany?

2003-03-22 Thread Stephan Michels


On Fri, 21 Mar 2003, Ines Robbers wrote:

> Hallo!
>
> Gibt es hier in der Liste Cocoon-Kenner aus Berlin?
> Ich bin auf der Suche nach MitstreiterInnen für ein Gründungsprojekt.
>
> Freue mich auf Antwort!
>
> Ines
>
>
>
> Hi there,
>
> Are there any people from Berlin working with Cocoon and interested in
> meeting up?

I live in Berlin :-)

Stephan.

___
 Stephan Michels   EMail: [EMAIL PROTECTED]
 ICQ: 115535699Tel: +49-030-314-21583
+|+|+|+|+|+|+|-|



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]