i would suggest to use something that displays even before the parsing, so
that you can look at your template directly using a browser.
(that of course works only for simple replacements, not for more advanced
stuff like loops.)

then you want to make sure that the chances that something like your
placeholder could be real text is pretty small.

i personally use something like ##placeholder##.

- martin




/ martin gloeckle / senior software engineer /
[EMAIL PROTECTED] /
/ think new ideas, san francisco / http://www.thinkinc.com /
/ san francisco - new york - los angeles - boston - atlanta - seattle -
london - sofia /


> -----Original Message-----
> From: Denis Bucher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 18, 1999 2:58 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Harcoding vs. Templates
>
>
> Hello everyone !
>
> Based on experience, what sort of templates would you suggest ?
>
> source                            once parsed
> <PARSE price>99$</PARSE>    ->    56.50
> <!--%include var=price-->   ->    56.50
> $price
> $<price>
> ???
>
> Denis
>
> --
>
> Denis Bucher,   /  [EMAIL PROTECTED]       T�l. +41-22-8000625
> \  Internet
> Horus Networks /  horus-networks.com    Fax: +41-22-8000622
> \  Services
>               /  http://www.horus.ch   US Fax: (508) 437-1261
>  \  Provider
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to