Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 50894 invoked by uid 500); 18 Mar 2003 16:18:20 -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 50820 invoked from network); 18 Mar 2003 16:18:19 -0000 Received: from relay2.aits.uillinois.edu (128.174.25.251) by daedalus.apache.org with SMTP; 18 Mar 2003 16:18:19 -0000 Received: from adminmail2.aiss.uic.edu (adminmail2.aiss.uic.edu [131.193.163.70]) by relay2.aits.uillinois.edu (8.11.6/8.11.6) with ESMTP id h2IGIKL30679; Tue, 18 Mar 2003 10:18:20 -0600 Received: by adminmail2.aiss.uic.edu with Internet Mail Service (5.5.2653.19) id ; Tue, 18 Mar 2003 10:18:20 -0600 Message-ID: <258B1C4C80B3D511973B00D0B720E2D0054D1D90@adminmail2.aiss.uic.edu> From: "Delis, Christopher E." To: "'cocoon-users@xml.apache.org'" , "'Luca Morandini '" Subject: RE: sql transformer question; *not* esql... (was RE: ???ESQL upda te table???) Date: Tue, 18 Mar 2003 10:18:18 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N actually, now that i return back to my problem... i am not so embarassed (at least not yet!)... this solution doesn't appear to solve my problem because my stylesheet is in the middle of a pipeline and the substitute values are not easily attainable from within the sitemap. also, i do not wish to have to declare each variable more times than i have to (another reason i don't want it in the sitemap). has anyone else run into a similar situation? of course, i could write (i'd rather "find" one already developed ;-) another transform to strip offending characters (such as single-quotes) for each variable but i'd rather not. any ideas? do i need to re-design my approach? here is the update command i wish to perform. it receives the variables from previous generator/transforms: idal update contact set last_name = '', first_name = '', email = '', phone = '', address = '', city = '', zip = '' where library_id = > -----Original Message----- > From: Delis, Christopher E. [mailto:cedelis@uillinois.edu] > Sent: Tuesday, March 18, 2003 4:08 AM > To: 'Luca Morandini '; 'cocoon-users@xml.apache.org ' > Subject: RE: sql transformer question; *not* esql... (was RE: ???ESQL > upda te table???) > > > thanks! i am so embarassed. ;-) i gazed right past that little > paragraph... sheesh! > > -----Original Message----- > From: Luca Morandini > To: cocoon-users@xml.apache.org > Sent: 3/18/03 1:15 AM > Subject: RE: sql transformer question; *not* esql... (was RE: > ???ESQL update > table???) > > Christopher, > > IIUC, you need substitution: go to > http://xml.apache.org/cocoon/userdocs/transformers/sql-transfo > rmer.html > and look for the > "Substitution" topic > > Regards, > > --------------------------------------------- > Luca Morandini > GIS Consultant > lmorandini@ieee.org > http://utenti.tripod.it/lmorandini/index.html > --------------------------------------------- > > > > -----Original Message----- > > From: Delis, Christopher E. [mailto:cedelis@uillinois.edu] > > Sent: Tuesday, March 18, 2003 1:53 AM > > To: Delis, Christopher E.; ''cocoon-users@xml.apache.org' ' > > Subject: sql transformer question; *not* esql... (was RE: ???ESQL > update > > table???) > > > > > > i replied to the wrong topic. sorry... what i meant to > ask was: is > there > > a "place-holder" mechanism available using the sql transformer? > --chris > > > > -----Original Message----- > > From: Delis, Christopher E. > > To: 'cocoon-users@xml.apache.org' > > Sent: 3/17/03 9:48 AM > > Subject: RE: ???ESQL update table??? > > > > on a slightly different note, is there "place-holder" > functionality in > > esql > > stylesheet language? e.g., > > > > insert into atable (field1, field2) values (?, ?) > > select * from atable where field1 = ? limit ? > > ... > > > > TIA, > > chris > > > > > > > -----Original Message----- > > > From: Maxime.Gheysen@swisscom.com > [mailto:Maxime.Gheysen@swisscom.com] > > > Sent: Friday, March 14, 2003 9:20 AM > > > To: cocoon-users@xml.apache.org > > > Subject: ???ESQL update table??? > > > > > > > > > Hi, > > > This is a part of a query. My problem is that when I make a > > > SELECT right > > > after an INSERT I don't get the last updated query : > > > > > > --------------------------- > > > > > > > > > INSERT INTO Actions (at_name, at_order) > > > VALUES ('', > > > nouvOrder) > > > > > > > > > > > > > > > > > > > > > SELECT TOP myTopCnt * FROM Actions > > > WHERE at_order = myOrderID > > > ORDER BY at_id DESC > > > > > > > > > > > > > > > nouvActionName = ; > > > > > > > > > > > > > > > > > > > > > > > > SELECT TOP 1 * FROM Actions > > > WHERE at_name = 'nouvActionName' > > > ORDER BY at_id DESC > > > > > > > > > > > > > > > nouvAction = ; > > > > > > > > > > > > > > > ------------------------------- > > > What I mean is that in the last "execute-query" the value > > > " > > column="at_order"/>" returns a value, but in my SQL > Profiler I get a > > > query witch returns another value (the right)!!!! > > > I think that it is due to the refreshing from the insert, because > the > > > insert value is queried! > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org