cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans>
Subject Re: SQL Transformer generates illegal element names
Date Wed, 11 Feb 2004 13:53:25 GMT
> Not necessarily, since you don't have to parse the entire SQL-grammar (that
> would have been stupid in XSLT, not brave... ;)
> This is a simplified, untested template-match that could do the trick:

ah, i did not know that the sql statement was available in such form in 
the SQLTransformer.
> select="str:tokenize(substring-before(substring-after($sql, 'SELECT'),
> 'FROM'),',')">

This fails on embedded comma's in the SQL.

But we're digressing, let us know how you solved it Johann :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message