cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Schatten <ala...@gmx.at>
Subject Re: SQL Transformer generates illegal element names
Date Tue, 10 Feb 2004 18:52:29 GMT
Schweigl, Johann wrote:

> Hi all,
>
>  
>
> recently I ran into a problem with SQL Transformer. The column names 
> returned from the database are used for naming the children of 
> sql:row, but those names can be something like "count(distinct xxx)" 
> or 'SYS$xxxx', which violates the wellformed conditions of the return 
> document.
>
>  
>
> Is there any implementation of SQLTransformer that generates <column 
> name="xxx"> instead of <xxx>, which would solve the problem?  For 
> predefined statements I can control the SQL that is passed to the 
> transformer, but I run into big hassle  when letting the user enter 
> SQL directly.
>
>  
>

Hi Johnny,

As far as I know, there is no such transformer;

but alternatively you could use xsp with esql, which is not far more 
complex, but offers an individual mapping from columns to xml-tag-names.


Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message