Steven Sedlmeyer wrote:

>The only tag that supports clobs is <esql:get-ascii/>.  Try this:
>
><util:include-expr><util:expr><esql:get-ascii
>column="myclob"/></util:expr></util:include-expr>
>
>Steve
>
Hi Steve
It's good idea :)
But after this I have next error:
/org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
sql_out_xsp:
Line 652, column 92: ')' expected.
Line 0, column 0:
1 error
/ :(
sample like

<util:include-expr><util:expr><xsp:expr>"&lt;h4&gt;hello&lt;/h4&gt;"</xsp:expr></util:expr></util:include-expr>
don't work also.. :((((((
Yury


>
>-----Original Message-----
>From: yuryx [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 25, 2002 12:03 PM
>To: [EMAIL PROTECTED]
>Subject: Re: clob-esql-xml
>
>
>yuryx wrote:
>
>>Steven Sedlmeyer wrote:
>>
>>>try <esql:get-ascii column="myclob"/>
>>>
>>>Steve
>>>
>>Thx, but I need XML,not ascii...
>>Yury
>>
><esql:get-xml /> don't work with CLOB
>if use VARCHAR then it work very good...
>May be <esql:get-xml /> don't support CLOB?
>Yury.
>
>>>-----Original Message-----
>>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>>Sent: Thursday, April 25, 2002 1:46 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: clob-esql-xml
>>>
>>>
>>>Hi all!
>>>How to extract clob column as xml into dynamic page?
>>>For example:
>>>my CLOB: <h1>hello!</h1>
>>>in sample.xsp I define:
>>>...
>>><esql:execute-query>
>>><esql:query>select myclob from mytable</esql:query>
>>><esql:results>
>>><esql:row-results>
>>>   <esql:get-xml column="myclob"/>
>>></esql:row-results>
>>></esql:results>
>>></esql:execute-query>
>>>...
>>>?This example don't work :(
>>>What I'm wrong?
>>>Thanx.
>>>Yury.
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>>
>>>---------------------------------------------------------------------
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>>
>>
>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to