Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 36854 invoked by uid 500); 20 Jul 2001 11:31:39 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 36843 invoked from network); 20 Jul 2001 11:31:39 -0000 Message-ID: <20010720113140.80542.qmail@web12805.mail.yahoo.com> Date: Fri, 20 Jul 2001 04:31:40 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: Antwort: Re: Antwort: Re: C2 : XML -> XSP -> HTML To: cocoon-users@xml.apache.org In-Reply-To: <41256A8F.00443122.00@www-notes.alunorf.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Udo, All you need is to write a logic-sheet (which is nothing but an xsl file). Look at all the samples of logicsheets registered in cocoon.xconf file (esql.xsl, util.xsl etc). Thanks, dims --- Udo.Kretschmer@alunorf.de wrote: > > > Drasko, > > below is one of the XML files, I want to start with. It only describes the > forms content and the db- query. That's all !. > Nearly everyone who knows the underlying database can create this or a similar > file. There is no need to know anything about XSP etc. > > > This XML is then piped to a XSL document , which creates a XSP page. This one is > processed and the results piped to another XSL for formatting the HTML output. > The advantage is, I have seperated the content (in XML) and the logic and style > (the two XSL's). > To create a new database-query-form, the only thing to do is, to change the XML, > whereas logic and style were only developed once and are not modified again. > > The problem in C2 is, that I need for that a pipe with a XSP transformer . Or > can you tell me, how to pass the XML content to the XSP page ? > > Udo > > XML sample > ----------------------------------------------------------------------------------------------------------------- > NQS Datenbank System > > > > > Heute > add_months(trunc(sysdate,'MM').......... > > > > 8135 > 9958 > > > > > > > > Baender WW 1 > table > SELECT * from > FROM hm_data_ww1 > where #~# > > > > > > > ----------------------------------------------------------------------------------------------------------------- > > > > > > > Drasko Kokic am 20.07.2001 11:48:09 > > Bitte antworten an cocoon-users@xml.apache.org > > > > An: cocoon-users@xml.apache.org > > Kopie: (Blindkopie: Udo Kretschmer/ORGIV/Alunorf) > > > > Thema: Re: Antwort: Re: C2 : XML -> XSP -> HTML > > > > > > > > > > > Please, explain to me why do you need to pipe it > yourself ... the ServerPageGenerator will read the > file. > Or ... you want something more!? > Drasko > > --- Udo.Kretschmer@alunorf.de wrote: > > > > > > This is what I understand as well. > > > > Creating XML from static XML with e.g. a > > FileGenerator works > > Creating XML from XSP with a ServerPagesGenerator > > work as well > > > > But you are not able to use static XML (e.g. from > > FileGenerator) and pipe this > > to a XSP Transformer, right ? > > This is what I want to do. > > > > Udo > > > > > > > > > > > > > > Drasko Kokic am 20.07.2001 > > 09:19:59 > > > > Bitte antworten an cocoon-users@xml.apache.org > > > > > > > > > > > > > > An: cocoon-users@xml.apache.org > > > > > > > > Kopie: (Blindkopie: Udo Kretschmer/ORGIV/Alunorf) > > > > > > > > > > > > > > > > Thema: Re: C2 : XML -> XSP -> HTML > > > > > > > > > > > > > > > > > > > > > > > > > Hi Udo, > > > > C2 can generate XML from the static XML file as well > > as from the XSP file (via type="serverpages") > > > > Gru? > > Drasko > > > > --- Udo.Kretschmer@alunorf.de wrote: > > > > > > > > > In C1 one can perfectly seperate content (in XML), > > > logic (in XSP) and style (as > > > XSL). > > > > > > I have used this for creating dynamic forms and > > > executing database queries > > > whereas > > > the form description and the db-query were located > > > in the XML file. > > > For each different database query / form an > > > appropriate XML file was created. > > > > > > Logic and style were located in XSL documents and > > > were developed once. > > > > > > The XML was piped to the first XSL which creating > > a > > > XSP page,which perfomed the > > > query and the results were piped to the XSL for > > > formatting the output. > > > > > > To do the same thing in C2, we need to use a XML > > > filegenerator and a XSP > > > transformer, which obviously does not exists in > > the > > > moment. > > > > > > Does anyone know, if it's planned to create a XSP > > > transformer ? > > > Or is there simply another way in C2 ? All hints > > are > > > appreciated. > > > > > > Cheers > > > > > > Udo > > > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > > Mit freundlichen Gr��en > > Udo Kretschmer > > Aluminium Norf GmbH > 41403 Neuss > ORGIV > Telefon: 02131/937 640 > Telefax: 02131/5339950640 > eMail: Udo.Kretschmer@AluNorf.de > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: ===== Davanum Srinivas, JNI-FAQ Manager http://www.jGuru.com/faq/JNI __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: