[Zope] global upgrade of dtml tags from version 1 to 2

Martijn Pieters mj@antraciet.nl
Sun, 12 Sep 1999 15:20:40 +0200


At 10:50 12-9-99 , Darran Edmundson wrote:

>I wonder, has anyone written an external method to
>traverse the entire Zope database upgrading DTML
>tags from version 1 to version 2 syntax?
><!--#var title--> and <dtml-var title> are functionally
>equivalent but the latter is much more esthetically
>pleasing.
>
>Cheers,
>Darran.

In Zope 2 export to XML, search and replace globally in that file, and 
import again.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| T: +31 35 7502100 F: +31 35 7502111
| mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
---------------------------------------------