cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bent André Solheim <bent.an...@gmail.com>
Subject Re: Transforming gzipped xml in mysql to html.
Date Thu, 28 Oct 2004 22:31:14 GMT
Thanks Jorg! It's worth quite a bit! :)

Bent


On Thu, 28 Oct 2004 18:15:46 +0200, Jorg Heymans <jh@domek.be> wrote:
> fwiw, i was going to suggest the same solution - forget about the desert
> island metaphore :) It's IMO the best way to do this.
> 
> 
> 
> Bent André Solheim wrote:
> > Thanks Derek,
> >
> > The path you describe is the one I have taken so far, and as it turns
> > out, the tutorial you suggested is exactly the one I was reading
> > before seeing your mail! :) If nobody suggest a better way, I think
> > I'll stick to this solution for now.
> >
> > Makes me feel better to know that there are other people that would
> > choose the same solution I have - "desert island" or not. Thanks again
> > Derek!
> >
> >
> > Best Regards
> > Bent.
> >
> >
> >
> >
> >
> > On Thu, 28 Oct 2004 14:16:50 +0200, Derek Hohls <dhohls@csir.co.za> wrote:
> >
> >>Bent
> >>
> >>You're free to ignore this reply if you get a better one from a
> >>more knowledgeble Cocoon developer ... but if I was stuck on a
> >>desert island and had no one to ask, I think would go with trying
> >>to develop a customer generator that talks to the database,
> >>gets the zipped data, does the extraction into XML and passes
> >>on the SAX event to the downstream transformer (prob. XSLT).
> >>(of course, I have never actually done this ;-)
> >>
> >>There's a good tutorial at:
> >>http://cocoon.apache.org/2.1/tutorial/tutorial-generator.html
> >>(the last example deals with getting data from a database)
> >>
> >>I would imagine that the Java "ZIP" class would also be of use:
> >>http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-tree.html
> >>
> >>But, as a I said, this is very much "desert island" advice!
> >>
> >>Derek
> >>
> >>
> >>>>>bent.andre@gmail.com 2004/10/28 01:22:59 PM >>>
> >>
> >>Hi,
> >>
> >>My name is Bent André Solheim, and I just started working on a project
> >>where we want to extract zipped xml from mysql, unzip it and transform
> >>it using a couple of xslt transformations with Cocoon. I have looked
> >>around the docs and wiki and have come to the conclusion that I have
> >>to extend ComposerGenerator, hence creating my own generator, to
> >>accomplish this. I hoped to not having to do this, and instead only
> >>use standard components. Any of you guys out there with more
> >>experience than me have a suggestion? Would it be possible to do
> >>something like the following;
> >>
> >>- Create an xsp page that extracts the zipped data and wraps it in a
> >>CDATA element
> >>- Pass this on to some sort of transformer that would
> >>"transform"/unzip the zipped data in the CDATA element, understand
> >>that the extracted data was XML and use this XML document to generate
> >>sax events to the next transformer on the pipeline.
> >>- The next transformer transforms to HTML
> >>
> >>Any advice would be appreciated!
> >>
> >>Best Regards
> >>Bent André Solheim
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>For additional commands, e-mail: users-help@cocoon.apache.org
> >>
> >>--
> >>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.
> >>
> >>---------------------------------------------------------------------
> >>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
> 
>

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


Mime
View raw message