cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: SQL Processor returning <tag>
Date Mon, 04 Sep 2000 21:50:33 GMT
On Sun, 3 Sep 2000, Konstantin Agouros wrote:

> Hi,
> 
> I am currently in the process of trying to implement a system for make written
> offers from a postgres-db which I look at in HTML and print using the fo-
> renderer and the whole thing with cocoon.
> In my setup I have a postgres-db with some tables for products and offers.
> I also have an openldap-server with my contacts. In the postgres-db I just
> save the dn of the person that gets the offer, and then I wrote an extension
> function for postgres that returns something like:
>  <ANSCHRIFT>
> <FIRMA>TestFirma </FIRMA>
> <ANREDE>HERRN</ANREDE>
> <ANSPRECHPARTNER>Testuser</ANSPRECHPARTNER>
> <ANSCHRIFT> Musterstr. 5 </ANSCHRIFT>
> <PLZ>8000</PLZ><ORT>Muenchen</ORT>
> </ANSCHRIFT>
> for a given dn from the table.
> The problem is, that if I query this from my xml-document < and > are changed
> for &lt and &gt. Is there a way I can get the sql-processor to keep the origi-
> nal brackets?

you can't without patching the sqlprocessor to parse the column's results.
however, try using the new esql logicsheet and the get-xml method.

- donald


Mime
View raw message