Re: SQL query cannot be read.

2002-12-08 Thread Gabriele Domenichini
Don't Know try to use the same namespace qualifiers (sql:)... Jin Wei Yong wrote: Hi, I am still exploring the use of SQLTranformer. I am using a book, Cocoon:Building XML Application by Matthew Langham and Carsten Ziegeler. If you have the book, you can refer to Chapter 7. The this

SQL query cannot be read.

2002-12-07 Thread Jin Wei Yong
Hi, I am still exploring the use of SQLTranformer. I am using a book, Cocoon:Building XML Application by Matthew Langham and Carsten Ziegeler. If you have the book, you can refer to Chapter 7. The this SQL-related example does not use XSP at all. The query is written in the xsl file. In the

RE: xml output from sql query

2002-04-15 Thread Argyn Kuketayev
I use xml-serializer when want to debug the xml between components of pipeline -Original Message- From: Muhammad Irfan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 6:12 PM To: [EMAIL PROTECTED] Subject: xml output from sql query Dear All, I am trying to execute

Re: xml output from sql query

2002-04-15 Thread Andrew Savory
On Mon, 15 Apr 2002, Muhammad Irfan wrote: I am trying to execute SQL query and want to get the output/display in xml. I have written my SQL query in a xml file according to the docs/samples/sql/sql-page but getting the exptions What exceptions are you getting? Is there anything

Re: sql query

2002-01-03 Thread Ferran Urgell
/xsl:stylesheet - Original Message - From: David Rosenstrauch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 3:16 PM Subject: Re: sql query At 12:48 PM 12/28/01 +0100, you wrote: I'm using cocoon2, and I've used sql queries, with the next query: ?xml

Re: sql query

2002-01-02 Thread David Rosenstrauch
At 12:48 PM 12/28/01 +0100, you wrote: I'm using cocoon2, and I've used sql queries, with the next query: ?xml version=1.0? page xmlns:sql=http://apache.org/cocoon/SQL/2.0; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; title/title content para/para execute-query

Re: sql query

2002-01-02 Thread Ling Kok Choon
Hi, you may try to use xsp and the esql taglib : ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; esql:connection esql:pooltpConnection/esql:pool

sql query

2001-12-28 Thread Ferran Urgell
I'm using cocoon2, and I've used sql queries, with the next query: ?xml version="1.0"?page xmlns:sql="http://apache.org/cocoon/SQL/2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"title/titlecontent para/para execute-query xmlns="http://apache.org/cocoon/SQL/2.0" query

Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Chris Newland
Hi All, I'm trying to test for the presence of a key in an SQL table by performing an SQL query and having the result (or null) set in an XSP variable: parachecking for username = xsp:exprusername/xsp:expr/para String got_uname = dummy; esql:connection esql:poolmy_jdbc/esql:pool

AW: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Max Larsson
-query ... Max -Ursprüngliche Nachricht- Von: Chris Newland [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 20. August 2001 13:21 An: Cocoon-Users Betreff: Possible to assign SQL query result to XSP variable? Hi All, I'm trying to test for the presence of a key in an SQL table

RE: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Chris Newland
Regards, Chris -Original Message- From: Max Larsson [mailto:[EMAIL PROTECTED]] Sent: 20 August 2001 12:24 To: [EMAIL PROTECTED] Subject: AW: Possible to assign SQL query result to XSP variable? Hi, try to wrap it in a xsp:logic block: ... esql:execute-query