Florian My 2c of understanding (as a user NOT a developer) -
> But why not a schema/namespace/tag soup usable in XSP I think you will find that, unless you're maintaining historical apps, that there is simply no need to use XSP any more. There has been a lot of discussion about this on the mailing list - maybe some good soul needs to plough through the archives and extract a neat summary to add to the wiki site that we can point people towards... the bottom line here is XSP was an approach which was OK for a while but is no longer being worked on. > Or a component being a generator as well as an transformer? I assume you refer to the SQL transformer? It makes sense to me that its a transformer (tho' I know some folks are offended because it is not "pure") - as, in many cases, I want to generate the SQL itself dynamically, depending on various inputs and conditions, and so it makes sense to have that step *before* the SQL code is actually processed. I think of those SQL statements as 'very primitive XML' & then it makes sense that the document is created first, and the fact that it then changes its "content" is natural, as that is what pipelines are all about - a series of steps to transform XML! HTH Derek >>> "Steven D. Majewski" <[EMAIL PROTECTED]> 2006/09/14 03:23 AM >>> On Sep 13, 2006, at 5:40 PM, Dev at weitling wrote: > Hi! > > Nearly my last question for today and this even more to the > developers of Cocoon... > > Why does Cocoon provide not less than three different ways of > handling SQL queries? > - The Database Reader > - SQL Transformer > - ESQL Logicsheet > > Ok, the Database Reader makes sense if you want to retrieve non-XML > data. > But why not a schema/namespace/tag soup usable in XSP as well as a > transformer or generator? > Or a component being a generator as well as an transformer? > > 1st case: I want to retrieve XML data from a SQL database -> > generator passed with the src of the XML file with the query. > 2nd case: I have an XSP containing SQL query tags -> transformer > replacing the query tags with their result > > Questions, questions, questions ;-) > Florian > -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
