You could also try using an XML database such as ones from B-Bop, Software AG or Excelon. These will allow to store and retrieve your XML data without having to write code to convert to and from relational tables.
-sanjay Luca Morandini wrote: > Sharat, > > you can store your data in a DBMS and read them as XML. > > Most DBMSs (Oracle, SQLServer, ...) can output data in XML, or you can use > ESQL or SQL Transformer (both from Cocoon) to get XML data from any DBMS. > > Moreover, if you want to store data on disk and retrieve/modify them, XML is > not a good candidate for this task. > > To clarify further: the writing of XML/XSL/XSP is something you can achieve > in Cocoon only by writing custom Java code (Actions for instance, as it has > been suggested). By itself Cocoon doesn't do this (and, for the reasons > outlined above, rightfully so). > > Best regards, > > --------------------------------------------- > Luca Morandini > GIS Consultant > [EMAIL PROTECTED] > http://utenti.tripod.it/lmorandini/index.html > --------------------------------------------- > > > -----Original Message----- > > From: Sharat Koya [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, November 20, 2001 11:24 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: RE: Accepting Data From The Web and storing it. > > > > > > I understand Cocoon is a publishing framework for XML but if it has to > > use a database for storing data, doesn't that sort of kill one of the > > best features of XML - that it is a method of storing data in an easily > > readable way? > > > > > > -----Original Message----- > > From: Luca Morandini [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday 20 November 2001 20:08 > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: RE: Accepting Data From The Web and storing it. > > > > Bobby, > > > > you can't modify XML, XSL or XSP files from Cocoon. > > > > What you can do, however, is using Cocoon to execute some SQL > > statements > > (or stored procedures) in order to modify the data from which XMLs are > > derived. > > > > > > Best regards, > > > > --------------------------------------------- > > Luca Morandini > > GIS Consultant > > [EMAIL PROTECTED] > > http://utenti.tripod.it/lmorandini/index.html > > --------------------------------------------- > > > > > > > -----Original Message----- > > > From: Bobby Koya [mailto:[EMAIL PROTECTED]]On Behalf Of > > > [EMAIL PROTECTED] > > > Sent: Tuesday, November 20, 2001 6:32 PM > > > To: [EMAIL PROTECTED] > > > Subject: Accepting Data From The Web and storing it. > > > > > > > > > Hi after finally gripping the fundamentals and basics of the > > publishing > > > framework of cocoon 2, I would now like to take this a step further > > and > > > implement a system but I have a question. > > > > > > Using XML, XSP, XSL, XSL:FO, SVG I can publish pages but how would I > > go > > > about using cocoon2 to save data back to the same XML, XSP files the > > > pages were the data was first taken from. So for example an XSP file > > > creates an XML file that is piped to an XSL file and then transformed > > to > > > make a picture of a clock. On this page would also be a form to edit > > the > > > clocks colour by supplying an SVG colour. The problem I am having is > > how > > > to write the colour back to the original XSP file so that the colour > > > changes permanently. > > > > > > Thanks for your time > > > > > > Sharat Koya > > > > > > > > > --------------------------------------------------------------------- > > > Please check that your question has not already been answered in the > > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> -- Sanjay Manchanda B-Bop Associates, Inc. Ph : 650-340-2702 Fax: 650-340-2701 Email: [EMAIL PROTECTED] http://www.b-bop.com --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>