[Zope] parsing strings in DTML

Timothy Wilson wilson@visi.com
Mon, 26 Jun 2000 15:17:08 -0500 (CDT)


On Mon, 26 Jun 2000, Rik Hoekstra wrote:

> try something like (untested):
> 
> <dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')">
> 
> for parsing the string

But what if "parse_address" comes from a SQL query? Like this:

<dtml-in qry_contactInfo>
  <dtml-call "REQUEST.set(<dtml-var parse_address>, ... etc.

Don't I run into trouble with nested DTML here?

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/