Aw, forget my last email. Z SQL methods do not read DTML namespace, so I had to pass explicitly: <dtml-in expr="list_art_writers(m_id=m_id)"> <dtml-var fname><dtml-unless sequence-end>,</dtml-unless> </dtml-in> Sorry for the confusion... -- Milos Prudek