You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gabriele Domenichini <ga...@fastmail.fm> on 2002/12/06 11:19:51 UTC

Pleeese! retrieving xml code as out-parameter

I need to retrieve xml data from Oracle database as an out-parameter. The
stored procedure works but the output is like this:
&lt;rootElement&gt;
   &lt;element&gt;
Something written
   &lt;/element&gt;
&lt;/rootElement&gt;
I think that SQL Transformer convert "<" and ">" signs in entities. I
need desperately to have my code back. Please help me
Gabriele Domenichini
-- 
  Gabriele Domenichini
  gabridome@fastmail.fm

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

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Pleeese! retrieving xml code as out-parameter

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 06.Dec.2002 -- 12:19 PM, Gabriele Domenichini wrote:
> I need to retrieve xml data from Oracle database as an out-parameter. The
> stored procedure works but the output is like this:
> &lt;rootElement&gt;
>    &lt;element&gt;
> Something written
>    &lt;/element&gt;
> &lt;/rootElement&gt;
> I think that SQL Transformer convert "<" and ">" signs in entities. I
> need desperately to have my code back. Please help me

No idea how to achieve this with the transformer, but with esql you
could use esql:get-xml for this (or enclose a get-string with
util:include-expr).

Switching to XSP would surely have a major impact but since you are
desparate....

I believe there has just been a similar thread, so have a look at the
archives. 

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>