[Zope] How to format database query?

Renier Leenders rf.leenders@planet.nl
Wed, 4 Sep 2002 01:12:01 +0200


Hi there,

Actually i was thinking of some string manipulation to start sentences on=
 a=20
new line but the "newline_to_br" suites my needs completely so i am very =
glad=20
with yours contribution.

Thanks,

Renier

> How do you want to format the result?
>
> Usually, you would use HTML to format the result of Z SQL Methods.
> Look at "Z Search Interface" (in your "Add" list), for an example.
>
> Only, when you want to format material *inside* a result column,
> you need Zope help. But, you need to tell us, how you want to
> format this. On possibility is the "newline_to_br" attribute
> to "dtml-var". It converts newslines to <br> and thus provides
> for some form of formatting. Another is 'fmt=3D"structured-text"'.
> It converts structured text into HTML.